Home | History | Annotate | Download | only in src

Lines Matching defs:gsub

5 #include "gsub.h"
15 // GSUB - The Glyph Substitution Table
16 // http://www.microsoft.com/typography/otspec/gsub.htm
20 // The GSUB header size
401 file->gsub->num_lookups);
411 file->gsub->num_lookups);
531 do { file->gsub->data = 0; file->gsub->length = 0; } while (0)
535 // As far as I checked, following fonts contain invalid values in GSUB table.
536 // OTS will drop their GSUB table.
586 // Parsing gsub table requires |file->maxp->num_glyphs|
593 OpenTypeGSUB *gsub = new OpenTypeGSUB;
594 file->gsub = gsub;
608 OTS_WARNING("bad GSUB version");
618 OTS_WARNING("bad offset in GSUB header");
626 &gsub->num_lookups)) {
634 length - offset_feature_list, gsub->num_lookups,
648 gsub->data = data;
649 gsub->length = length;
657 return file->gsub != NULL && file->gsub->data != NULL
662 if (!out->Write(file->gsub->data, file->gsub->length)) {
670 delete file->gsub;