Fix GSUB and GPOS conversion

This commit is contained in:
be5invis 2022-07-22 00:26:26 -07:00
parent f15a70e3b7
commit ef0ae85f91

View file

@ -1,10 +1,10 @@
import { Ot } from "ot-builder";
export function convertGsub(table, glyphs) {
ConvertGsubGposImpl(GsubHandlers, Ot.Gsub.Table, table, glyphs);
return ConvertGsubGposImpl(GsubHandlers, Ot.Gsub.Table, table, glyphs);
}
export function convertGpos(table, glyphs) {
ConvertGsubGposImpl(GposHandlers, Ot.Gpos.Table, table, glyphs);
return ConvertGsubGposImpl(GposHandlers, Ot.Gpos.Table, table, glyphs);
}
export function convertGdef(otdGdef, glyphs) {
const gdef = new Ot.Gdef.Table();