public override CharToGlyphTable CreateCharToGlyphTable() { CharToGlyphTable table = new CharToGlyphTable(); for (int i = 0; i < entryCount; i++) { table.Add(i + firstCode, glyphIdArray[i]); } return(table); }
public override CharToGlyphTable CreateCharToGlyphTable() { CharToGlyphTable table = new CharToGlyphTable(); for (int i = 0; i < glyphIdArray.Length; i++) { table.Add(i, glyphIdArray[i]); } return(table); }
public override CharToGlyphTable CreateCharToGlyphTable() { CharToGlyphTable table = new CharToGlyphTable(); int charCode = (int)startCharCode; for (int i = 0; i < numChars; i++) { table.Add(charCode + i, glyphs[i]); } return(table); }
public override CharToGlyphTable CreateCharToGlyphTable() { CharToGlyphTable table = new CharToGlyphTable(); for (int i = 0; i < numGroups; i++) { ConstantMapGroup glyph = glyphs[i]; ushort id = (ushort)glyph.glyphID; int endCharCode = (int)glyph.endCharCode; for (int j = (int)glyph.startCharCode; j <= endCharCode; j++) { table.Add(j, id); } } return(table); }
public override CharToGlyphTable CreateCharToGlyphTable() { CharToGlyphTable table = new CharToGlyphTable(); for (int i = 0; i < numGroups; i++) { SequentialMapGroup group = groups[i]; ushort glyphId = (ushort)group.startGlyphID; int endCharCode = (int)group.endCharCode; for (int n = (int)group.startCharCode; n <= endCharCode; n++) { table.Add(n, glyphId++); } } return(table); }
public override CharToGlyphTable CreateCharToGlyphTable() { CharToGlyphTable table = new CharToGlyphTable(); return(table); }