Re: Glyph ID of a given name

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

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.


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