Glyph ID and the cmap table

Primary tabs

3 posts / 0 new
Last post
Michael Ives's picture
Offline
Joined: 21 Dec 2004 - 12:01pm
Glyph ID and the cmap table
0

I have a query on how the cmap table works with glyph ID which I'm hoping somebody can shed some light upon:

Are glyph ID number font specific, or encoding specific?

For example, I have a font which I am working on and the 'ydiresis' glyph has a glyph ID '203'. I checked this against the Georgia font on my operating system, and here the 'ydiresis' glyph has a glyph ID '185'.

As long as the cmap table is correctly defined, would this function properly on older apps/os, or do glyph ID's have to conform to an encoding (and then this has to be specified in the cmap table)?

Michael Ives's picture
Offline
Joined: 21 Dec 2004 - 12:01pm
0

It's ok, I've found out the answer to my question now.

Adam Twardoch's picture
Offline
Joined: 3 Dec 2002 - 7:36pm
0

The glyph id is just a sequential number of the glyph inside of a particular font. If two different fonts have different glyph repertoires, they will have different glyphs ids as well.

A.