Lines Matching refs:cpf1
3266 static HB_Error Load_ContextPos1( HB_ContextPosFormat1* cpf1,
3288 ( error = _HB_OPEN_Load_Coverage( &cpf1->Coverage, stream ) ) != HB_Err_Ok )
3295 count = cpf1->PosRuleSetCount = GET_UShort();
3299 cpf1->PosRuleSet = NULL;
3301 if ( ALLOC_ARRAY( cpf1->PosRuleSet, count, HB_PosRuleSet ) )
3304 prs = cpf1->PosRuleSet;
3331 _HB_OPEN_Free_Coverage( &cpf1->Coverage );
3336 static void Free_ContextPos1( HB_ContextPosFormat1* cpf1 )
3343 if ( cpf1->PosRuleSet )
3345 count = cpf1->PosRuleSetCount;
3346 prs = cpf1->PosRuleSet;
3354 _HB_OPEN_Free_Coverage( &cpf1->Coverage );
3762 return Load_ContextPos1( &cp->cpf.cpf1, stream );
3784 case 1: Free_ContextPos1( &cp->cpf.cpf1 ); break;
3793 HB_ContextPosFormat1* cpf1,
3813 error = _HB_OPEN_Coverage_Index( &cpf1->Coverage, IN_CURGLYPH(), &index );
3817 pr = cpf1->PosRuleSet[index].PosRule;
3818 numpr = cpf1->PosRuleSet[index].PosRuleCount;
4031 return Lookup_ContextPos1( gpi, &cp->cpf.cpf1, buffer,