Subject: Re: HEADS-UP: Perl programmer wanted to fix "xsrc" problem
To: Frederick Bruckman <fredb@immanent.net>
From: None <collver1@attbi.com>
List: current-users
Date: 06/11/2003 06:07:33
On Wed, Jun 11, 2003 at 07:58:27AM -0500, Frederick Bruckman wrote:
> On Wed, 11 Jun 2003, Chris Wareham wrote:
> 
> > Frederick Bruckman wrote:
> > >
> > > On Saturday, June 7, 2003, at 11:59  PM, Matthias Scheler wrote:
> > >
> > > > I'm therefor searching for a volunteer to rewite the Perl script
> > > > "xfree/xc/fonts/util/ucs2any.pl" into a C program.
> > >
> > > I've started writing a shell-awk script that mostly does the encodings
> > > part, but there's still a lot of detail work to be done to make it
> > > functionally equivalent to the perl script, if anyone's interested in
> > > collaborating...
> >
> > I've written a C version that so far parses the BDF header. The parsing
> > should be in a separate function that either populates an array/hash, or
> > records the necessary bits and writes the header to a temp file -
> > currently it just writes to a file so I can compare with the output of
> > the Perl script. My next step is to populate an array with the actual
> > characters. If this is worth pursuing then please let me know.
> 
> I realize now, the problem with my idea, is that it doesn't reorder
> the bitmaps into encoding order, which is evidently a requirement.
> "gawk" really doesn't do well with large hashes, so "C" it is. I say,
> go for it.

Just in case it matters, I implemented it in C and gave it to Matthias
several days ago.

http://backyard.homeunix.net:8080/~ben/ucs2any/

Cheers,

Ben