On Wed, 11 Jun 2003, Matthias Scheler wrote:

>> In the interests of portability--their base system doesn't ship with
>> perl--the NetBSD people have implemented ucs2any.pl in C. There's a version
>> at
>> 
>> http://backyard.homeunix.net:8080/~ben/ucs2any/
>
>I was the one who initiated rewriting "ucs2any.pl" as C program and would
>like to ask that this program is not intergrated into the XFree86 sources
>at the moment.
>
>The version available under the URL above is far from being usable at the
>moment:
>- It's not portable (non-ANSI C compliant, asprintf(3), etc.)
>- It crashes when used as a replacement for "ucs2any.pl" in a full build.
>
>I'm in the process of sorting these issue out with the author and will
>submit the program via "[EMAIL PROTECTED]" once the problems are fixed.

I rewrote ucs2any in C about a year and a half ago, but I didn't 
finish doing the testing I planned to compare it between the perl 
version and my C version.  Mine is entirely in ANSI C, and I had 
planned on submitting it to XFree86 for inclusion once I was sure 
it was a 100% safe replacment.  After mentioning this to a few 
people, I was told not to bother because the fonts in 4.3.0 would 
be re-encoded on the fly, or would be ttf bitmaps so ucs2any 
wouldn't be needed anymore anyway, so I just dropped it and left 
it in limbo since.

I'd be more than happy to finish off the final touches, test it
on all bdf fonts I've got available, and compare the output
against ucs2any.pl if it would be useful to XFree86 project or 
anyone else.  My C version can process all fonts in one pass and 
spit out multiple encodings all at once, instead of being invoked 
hundreds of times.  I wrote it like that as I figured it might 
give an additional speedup not having to fork and exec from a 
shell script constantly.


-- 
Mike A. Harris


_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to