freetype
[Top][All Lists]
Advanced

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

Re: [ft] Prevent synthesis of Unicode charmap?


From: Antony Lee
Subject: Re: [ft] Prevent synthesis of Unicode charmap?
Date: Mon, 16 Aug 2021 11:01:33 +0200

Great, thanks!
Antony

On Sun, Aug 8, 2021 at 12:26 AM Werner LEMBERG <wl@gnu.org> wrote:

>
> 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
>


reply via email to

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