[cups.development] [RFE] STR #3643: texttops: glyph names for the fonts specified in charsets/utf-8 file

Matthias Apitz guru at unixarea.de
Sun Aug 15 17:12:11 PDT 2010


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

The filter 'texttops' picks up the supported Unicode scripts (code point
ranges) and the to be used fonts from the file charsets/utf-8 from lines
like:

# Hebrew:
0590 05FF rtol single FreeMono.pfa FreeMonoBold.pfa FreeMonoOblique.pfa
FreeMonoBoldOblique.pfa

in addition it awaits a mapping beetwen any single code point and the
Glyph name in a file data/psglyphs (again for Hebrew):
....
05b0 afii57799
05b1 afii57801
05b2 afii57800
05b3 afii57802
....

It turned out that, even if there is some kind of standard, the developers
of fonts, for example of the mentioned FreeMono fonts family
http://www.gnu.org/software/freefont/ use their own rules/ideas for naming
glyphs which makes the font unuseable for CUPS in certain code ranges /
scripts.

I propose not using only one file data/psglyphs, but enhancing the lines
in charsets/utf-8 at the end by an optional psglyphs-filename, like:

0590 05FF rtol single FreeMono.pfa FreeMonoBold.pfa FreeMonoOblique.pfa
FreeMonoBoldOblique.pfa glypfsFileName

to provide in this file the mapping of code points to glyph names which is
used in the specified font.

Matthias

Link: http://www.cups.org/str.php?L3643
Version:  -feature





More information about the cups-devel mailing list