summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mfluadir/otfcc/lib/consolidate/otl/gpos-pair.c
blob: 226f1c2481ef28b40e22fc106b35f3b44ed8b24d (plain)
1
2
3
4
5
6
7
8
9
10
#include "gpos-pair.h"

bool consolidate_gpos_pair(otfcc_Font *font, table_OTL *table, otl_Subtable *_subtable, const otfcc_Options *options) {
	subtable_gpos_pair *subtable = &(_subtable->gpos_pair);
	fontop_consolidateClassDef(font, subtable->first, options);
	fontop_consolidateClassDef(font, subtable->second, options);
	ClassDef.shrink(subtable->first);
	ClassDef.shrink(subtable->second);
	return (subtable->first->numGlyphs == 0);
}