Sorry if this hits you more than once, but my NNTP posting
to this mailing list seems to be broken today, somehow, as
well as mailing. Trying with MIME instead of uuencode now.

---------- Forwarded message ----------
Newsgroups: gmane.comp.xfree86.devel
Subject: free xc/lib/font/fontfile/decompress.c replacement

Hello,

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.

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'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.

Thanks for taking your time!

bye,
//mirabile

PS: I've compress'd the replacement file, so only someone with a
    working compress can verify the patch :) and to reduce the
    message size. Have fun ;)
-- 
> Hi, does anyone sell openbsd stickers by themselves and not packaged
> with other products?
No, the only way I've seen them sold is for $40 with a free OpenBSD CD.
        -- Haroon Khalid and Steve Shockley in gmane.os.openbsd.misc

Attachment: decompress.c.Z
Description: Binary data

Reply via email to