MFLTGlyph *base = NULL, *mark = NULL, *g;
int x_ppem, y_ppem, x_scale, y_scale;
- if (OTF_check_features (otf, 1,
- spec->script, spec->langsys,
- spec->gpos, spec->gpos_count) != 1
- || (OTF_drive_gpos (otf, &otf_gstring, script, langsys,
- gpos_features) < 0))
+ if (OTF_drive_gpos (otf, &otf_gstring, script, langsys, gpos_features)
+ < 0)
return to;
face = ((FontInfo *) font)->face;
adjustment[i].yadv
+= otfg->f.f1.value->YAdvance * y_scale / 0x10000;
if (format & OTF_YAdvDevice)
- adjustment[i].xadv
+ adjustment[i].yadv
+= DEVICE_DELTA (otfg->f.f1.value->YAdvDevice, y_ppem);
adjustment[i].set = 1;
}