return 0;
}
+static OTF_GlyphID
+get_uvs_glyph (OTF_EncodingSubtable14 *sub14, int c1, int c2)
+{
+ return 0;
+}
+
static void
check_cmap_uvs (OTF_cmap *cmap, OTF_GlyphString *gstring, int idx)
{
OTF_EncodingSubtable14 *sub14;
int c1 = gstring->glyphs[idx - 1].c;
int c2 = gstring->glyphs[idx].c;
+ OTF_GlyphID code;
int i;
gstring->glyphs[idx].glyph_id = 0;
break;
if (i == cmap->numTables)
return;
- sub14 = cmap->EncodingRecord[i].subtable.f.f14;
- /* */
+ code = get_uvs_glyph (cmap->EncodingRecord[i].subtable.f.f14, c1, c2);
+ if (code == 0)
+ return;
+ gstring->glyphs[idx - 1].glyph_id = code;
+ gstring->used--;
+ memmove (gstring->glyphs + idx, gstring->glyphs + idx + 1,
+ sizeof (OTF_Glyph) * (gstring->used - idx));
}
\f