freetype
[Top][All Lists]
Advanced

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

Re: [ft] Accessing localized chars in a font for slash char.


From: Werner LEMBERG
Subject: Re: [ft] Accessing localized chars in a font for slash char.
Date: Mon, 07 Mar 2016 11:33:27 +0100 (CET)

> I was using "slash" char (code 47) but then notices that the one
> which uses Adobe aftereffects is a little bit different.  (typing
> hebrew).  Then I inspected the font in the FontCreator program and
> found that it is possible to use default char (47) or localized one
> which is located at the end of the font glyph maps.Its glyph index
> is 587
> 
> So if I explicitly insert that index into FT_Load_Glyph I am getting
> the correct localized slash char.

FreeType doesn't take care of localization in any way.  You need a
higher-level library like Pango or ICU to activate locale handling
(i.e., selecting script and language for OpenType features).


    Werner



reply via email to

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