Re: [RESEND] free xc/lib/font/fontfile/decompress.c replacement

David Dawes <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
On Fri, Apr 15, 2005 at 12:42:20PM +0000, Thorsten Glaser wrote:

>since I'm a BSD developer, the natural place to look for me regarding
>the xc/lib/font/fontfile/decompress.c sources (Keith Packard said it
>was derived from some ancient BSD sources) is our own source tree.
>
>Voilà, there it is - src/usr.bin/compress/zopen.c, that's why the
>decompress.c source looked so familiar to me.

Yes, historically I believe that this zopen.c is derived from from the
older decompress.c.

>I've taken a whole afternoon hacking this together, and tested it
>on a "foo.bdf.Z" file (about 400 KiB compressed), derived from
>xc/fonts/bdf/misc/12x13ja.bdf, with one character modified so I
>can distinguish it. Works For Me(tm), but I'd be happy if someone
>would review and endorse this replacement before it gets committed,
>since I have absolutely no experience hacking X11 code, I must admit.

I don't have the time right now to give it a thorough review, but I
wouldn't object to committing it provisionally to XFree86 to give it
wider exposure.

>I've tested mkfontdir on the file, which is dynamically linked
>against libXfont.so.1.5 (thus I guess it's safe), but had not yet
>the chance to do a full XFree86 rebuild due to day-job constraints.
>
>The new file comes with only a standard 3-clause UCB-style licence,
>some more credits, and a much easier licence covering my work. I do
>believe it's OSD and DFSG compliant and GNU GPL compatible; supporting
>compress'd font files gives us an advantage over x.org, which is
>something I'd like to see ;-) Also it's important in case there is
>still an ancient Unix® around.

:-)

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.