Question

Given that the Windows API function GetGlyphIndices() can translate a 2 byte UNICODE char code into a glyph index, I intend to hardcode those glyph indices, instead of the UNICODE points. Is that possible ?

I understand that MS could later change the value returned by this function for one particular UNICODE point, but it's my expectation that the current glyph index will be maintained in the glyph set, in that situation.

In other words, my understanding is that if MS decides to associate a new glyph index with a UNICODE point, it will enlarge the glyph set keeping the old glyphs.

Could someone confirm this ?

Was it helpful?

Solution

There is no guarantee that new glyphs will always be appended. (And what if a glyph gets deleted?)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top