Lines Matching full:cdf1
946 HB_ClassDefFormat1* cdf1;
949 cdf1 = &cd->cd.cd1;
954 cdf1->StartGlyph = GET_UShort();
955 count = cdf1->GlyphCount = GET_UShort();
961 if ( cdf1->StartGlyph + (long)count >= 0x10000L )
964 cdf1->ClassValueArray = NULL;
966 if ( ALLOC_ARRAY( cdf1->ClassValueArray, count, HB_UShort ) )
969 cva = cdf1->ClassValueArray;
995 static void Free_ClassDef1( HB_ClassDefFormat1* cdf1 )
997 FREE( cdf1->ClassValueArray );
1163 static HB_Error Get_Class1( HB_ClassDefFormat1* cdf1,
1168 HB_UShort* cva = cdf1->ClassValueArray;
1174 if ( glyphID >= cdf1->StartGlyph &&
1175 glyphID < cdf1->StartGlyph + cdf1->GlyphCount )
1177 *klass = cva[glyphID - cdf1->StartGlyph];