[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2-bytes character display ready ?

From: Nicola Pero
Subject: Re: 2-bytes character display ready ?
Date: Wed, 20 Feb 2002 17:51:32 +0000 (GMT)

> >> If a font is an X wide font, the backend XGFont class should tell us 
> >> that
> >> the glyphs used are the same as the composed unicode characters, so 
> >> that
> >> we just send the unicode data to the 'show' operator, and the X backend
> >> sorts it out.
> >
> > The gui is supposed to be able to produce the 'fi' ligature, or the 'f'
> > and 'i' characters separated.  How would that work in your example ?  
> > You
> > seem to be just plainly passing the unichar character array to X for
> > drawing.
> I was assuming that we would send the unicode character for the fi 
> ligature
> to the show operator.  I believe that there are unicode characters for 
> all
> the ligatures (I could be wrong about that though).

I've just read http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html which ends up
explaining that X assumes a one-to-one correspondence between characters
and glyphs.

But that probably just means we need to do the conversion in the client,
which is perfectly fine :-)

So I wonder what happens if you send \UFB01 (which is the unicode for the
fi ligature) to an X font - does it actually display the ligature ?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]