Markus Kuhn writes:

> >  b) As a single (proportional) font, for use by applications which use
> >     a single font.
> 
> Can't b) be solved with the help of fontsets instead of redundantly
> doubling the number of fonts?

Not in the current state of affairs. Xlib doesn't do anything
meaningful when an XFontSet has two fonts with the same encoding
(here: ISO10646-1). The fontset only helps when all you have are fonts
in different character sets (ISO8859-x, JISX0208, JISX0212, etc.);
then the DrawString algorithm will cut the string into segments, based
on the character sets. Other information from the fonts (e.g. width)
is not used during this segmentization.

And for new code, we use Xft instead of XFontSet. There also, it is
helpful to have the entire Unicode repertoire in a single font.

Bruno
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to