Re: [ft] Prevent synthesis of Unicode charmap?

Werner LEMBERG <[email protected]>
Newsgroups gmane.comp.fonts.freetype.user
Message-ID <[email protected]>
2½ years ago you wrote the following:

> ... I think just clarifying the documentation may be sufficient,
> e.g. replacing (in the docs for FT_Encoding)
> 
> "By default, FreeType enables a Unicode charmap and tags it with
> FT_ENCODING_UNICODE when it is either provided or can be generated
> from PostScript glyph name dictionaries in the font file."
> 
> by something like
> 
> "When loading a font, FreeType will make a Unicode charmap active if
> possible (either when the font provides such a charmap, or if
> FreeType can synthesize one from PostScript glyph name dictionaries;
> in either case, the charmap is tagged with FT_ENCODING_UNICODE).  If
> such a charmap is synthesized, it will be placed at the first
> position of the charmap array."  (Assuming this behavior can be
> relied on.)

I've found this while skimming through old e-mails.  Your suggestion
is now added to the git repository (with minor edits), thanks!

Better late than never :-)


    Werner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.