[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Prevent synthesis of Unicode charmap?
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Prevent synthesis of Unicode charmap? |
Date: |
Sat, 07 Aug 2021 22:26:36 +0000 (UTC) |
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
- Re: [ft] Prevent synthesis of Unicode charmap?,
Werner LEMBERG <=