Re: Glyph ID of a given name
- From: Anuradha Ratnaweera <ARatnaweera virtusa com>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-i18n-list gnome org
- Subject: Re: Glyph ID of a given name
- Date: Tue, 14 Oct 2003 21:25:50 +0600
On Tue, 2003-10-14 at 20:08, Owen Taylor wrote:
> On Tue, 2003-10-14 at 08:09, Anuradha Ratnaweera wrote:
> > In Pango, is there a way to retrive the glyph ID when the glyph name is
> > given?
> Not portably; You can usually retrieve the FT_Face and use
> FreeType API's if you are interested in it for a particular
When opentype tables are not available, I can think of two approaches to
place ligature glyphs in a font. One approach is to use a local
standard of assigning glyph IDs for ligatures, and the othe is to use a
local standard for assigning glyph names for ligatures. Shaping engines
will retrive the ligature from the font using the glyph ID or the name.
However, as of now, only the former is possible without using "tricks".
Am I missing something?
Or is there a standard convention of naming ligatures (especially for
Type 1 fonts)? Still, calling a glyph by name would be a requirement.
] [Thread Prev