Lines Matching refs:pPattern

175     void FcPatternDestroy( FcPattern* pPattern )  in FcPatternDestroy()  argument
176 { m_pFcPatternDestroy( pPattern ); } in FcPatternDestroy()
178 FcFontSet* FcFontList( FcConfig* pConfig, FcPattern* pPattern, FcObjectSet* pSet ) in FcFontList() argument
179 { return m_pFcFontList( pConfig, pPattern, pSet ); } in FcFontList()
202 FcBool FcFontSetAdd( FcFontSet* pSet, FcPattern* pPattern ) in FcFontSetAdd() argument
203 { return m_pFcFontSetAdd( pSet, pPattern ); } in FcFontSetAdd()
205 void FcPatternReference( FcPattern* pPattern ) in FcPatternReference() argument
206 { m_pFcPatternReference( pPattern ); } in FcPatternReference()
208 …FcResult FcPatternGetCharSet( const FcPattern* pPattern, const char* object, int n, FcCharSet** s ) in FcPatternGetCharSet() argument
209 { return m_pFcPatternGetCharSet( pPattern, object, n, s ); } in FcPatternGetCharSet()
211 FcResult FcPatternGetString( const FcPattern* pPattern, const char* object, int n, FcChar8** s ) in FcPatternGetString() argument
212 { return m_pFcPatternGetString( pPattern, object, n, s ); } in FcPatternGetString()
214 FcResult FcPatternGetInteger( const FcPattern* pPattern, const char* object, int n, int* s ) in FcPatternGetInteger() argument
215 { return m_pFcPatternGetInteger( pPattern, object, n, s ); } in FcPatternGetInteger()
217 FcResult FcPatternGetDouble( const FcPattern* pPattern, const char* object, int n, double* s ) in FcPatternGetDouble() argument
218 { return m_pFcPatternGetDouble( pPattern, object, n, s ); } in FcPatternGetDouble()
220 FcResult FcPatternGetBool( const FcPattern* pPattern, const char* object, int n, FcBool* s ) in FcPatternGetBool() argument
221 { return m_pFcPatternGetBool( pPattern, object, n, s ); } in FcPatternGetBool()
229 void FcDefaultSubstitute( FcPattern* pPattern ) in FcDefaultSubstitute() argument
230 { m_pFcDefaultSubstitute( pPattern ); } in FcDefaultSubstitute()
231 …etMatch( FcConfig* pConfig, FcFontSet **ppFontSet, int nset, FcPattern* pPattern, FcResult* pResul… in FcFontSetMatch() argument
232 …{ return m_pFcFontSetMatch ? m_pFcFontSetMatch( pConfig, ppFontSet, nset, pPattern, pResult ) : 0;… in FcFontSetMatch()
233 FcPattern* FcFontMatch( FcConfig* pConfig, FcPattern* pPattern, FcResult* pResult ) in FcFontMatch() argument
234 { return m_pFcFontMatch( pConfig, pPattern, pResult ); } in FcFontMatch()
235 FcBool FcConfigSubstitute( FcConfig* pConfig, FcPattern* pPattern, FcMatchKind eKind ) in FcConfigSubstitute() argument
236 { return m_pFcConfigSubstitute( pConfig, pPattern, eKind ); } in FcConfigSubstitute()
238 FcPattern* FcPatternDuplicate( const FcPattern* pPattern ) const in FcPatternDuplicate()
239 { return m_pFcPatternDuplicate( pPattern ); } in FcPatternDuplicate()
240 FcBool FcPatternAddInteger( FcPattern* pPattern, const char* pObject, int nValue ) in FcPatternAddInteger() argument
241 { return m_pFcPatternAddInteger( pPattern, pObject, nValue ); } in FcPatternAddInteger()
242 FcBool FcPatternAddDouble( FcPattern* pPattern, const char* pObject, double nValue ) in FcPatternAddDouble() argument
243 { return m_pFcPatternAddDouble( pPattern, pObject, nValue ); } in FcPatternAddDouble()
244 FcBool FcPatternAddString( FcPattern* pPattern, const char* pObject, const FcChar8* pString ) in FcPatternAddString() argument
245 { return m_pFcPatternAddString( pPattern, pObject, pString ); } in FcPatternAddString()
246 FcBool FcPatternAddBool( FcPattern* pPattern, const char* pObject, bool nValue ) in FcPatternAddBool() argument
247 { return m_pFcPatternAddBool( pPattern, pObject, nValue ); } in FcPatternAddBool()
248 FcBool FcPatternAddCharSet(FcPattern* pPattern,const char* pObject,const FcCharSet*pCharSet) in FcPatternAddCharSet() argument
249 { return m_pFcPatternAddCharSet(pPattern,pObject,pCharSet); } in FcPatternAddCharSet()
250 FcBool FcPatternDel(FcPattern* pPattern, const char* object) in FcPatternDel() argument
251 { return m_pFcPatternDel( pPattern, object); } in FcPatternDel()
257 FcResult FamilyFromPattern(FcPattern* pPattern, FcChar8 **family);
579 FcResult FontCfgWrapper::FamilyFromPattern(FcPattern* pPattern, FcChar8 **family) in FamilyFromPattern() argument
582 FcResult eFamilyRes = FcPatternGetString( pPattern, FC_FAMILY, 0, &origfamily ); in FamilyFromPattern()
588 if (FcPatternGetString( pPattern, FC_FAMILYLANG, 0, &familylang ) == FcResultMatch) in FamilyFromPattern()
595 if (FcPatternGetString( pPattern, FC_FAMILYLANG, k, &familylang ) != FcResultMatch) in FamilyFromPattern()
597 if (FcPatternGetString( pPattern, FC_FAMILY, k, family ) != FcResultMatch) in FamilyFromPattern()
925 static void addtopattern(FontCfgWrapper& rWrapper, FcPattern *pPattern, in addtopattern() argument
938 rWrapper.FcPatternAddInteger( pPattern, FC_SLANT, nSlant ); in addtopattern()
958 rWrapper.FcPatternAddInteger( pPattern, FC_WEIGHT, nWeight ); in addtopattern()
977 rWrapper.FcPatternAddInteger( pPattern, FC_WIDTH, nWidth ); in addtopattern()
989 rWrapper.FcPatternAddInteger( pPattern, FC_SPACING, nSpacing ); in addtopattern()
991 rWrapper.FcPatternAddString( pPattern, FC_FAMILY, (FcChar8*)"monospace"); in addtopattern()
1006 FcPattern* pPattern = rWrapper.FcPatternCreate(); in Substitute() local
1009 rWrapper.FcPatternAddBool( pPattern, FC_SCALABLE, FcTrue ); in Substitute()
1013 rWrapper.FcPatternAddString( pPattern, FC_FAMILY, pTargetNameUtf8 ); in Substitute()
1017 rWrapper.FcPatternAddString( pPattern, FC_LANG, pLangAttribUtf8 ); in Substitute()
1029 rWrapper.FcPatternAddCharSet( pPattern, FC_CHARSET, unicodes); in Substitute()
1033 addtopattern(rWrapper, pPattern, rItalic, rWeight, rWidth, rPitch); in Substitute()
1036 rWrapper.FcConfigSubstitute( rWrapper.FcConfigGetCurrent(), pPattern, FcMatchPattern ); in Substitute()
1037 rWrapper.FcDefaultSubstitute( pPattern ); in Substitute()
1042 …esult = rWrapper.FcFontSetMatch( rWrapper.FcConfigGetCurrent(), &pFontSet, 1, pPattern, &eResult ); in Substitute()
1043 rWrapper.FcPatternDestroy( pPattern ); in Substitute()
1122 FcPattern* pPattern = rWrapper.FcPatternCreate(); in getFontOptions()
1130 rWrapper.FcPatternAddString( pPattern, FC_FAMILY, (FcChar8*)sFamily.getStr() ); in getFontOptions()
1132 …addtopattern(rWrapper, pPattern, rInfo.m_eItalic, rInfo.m_eWeight, rInfo.m_eWidth, rInfo.m_ePitch); in getFontOptions()
1133 rWrapper.FcPatternAddDouble( pPattern, FC_PIXEL_SIZE, nSize); in getFontOptions()
1138 rWrapper.FcConfigSubstitute( pConfig, pPattern, FcMatchPattern ); in getFontOptions()
1139 if (subcallback) subcallback(pPattern); in getFontOptions()
1140 rWrapper.FcDefaultSubstitute( pPattern ); in getFontOptions()
1144 FcPattern* pResult = rWrapper.FcFontSetMatch( pConfig, &pFontSet, 1, pPattern, &eResult ); in getFontOptions()
1185 rWrapper.FcPatternDestroy( pPattern ); in getFontOptions()
1200 FcPattern* pPattern = rWrapper.FcPatternCreate(); in matchFont() local
1216 rWrapper.FcPatternAddString( pPattern, FC_LANG, (FcChar8*)aLangAttrib.getStr() ); in matchFont()
1220 rWrapper.FcPatternAddString( pPattern, FC_FAMILY, (FcChar8*)aFamily.getStr() ); in matchFont()
1222 …addtopattern(rWrapper, pPattern, rInfo.m_eItalic, rInfo.m_eWeight, rInfo.m_eWidth, rInfo.m_ePitch); in matchFont()
1224 rWrapper.FcConfigSubstitute( pConfig, pPattern, FcMatchPattern ); in matchFont()
1225 rWrapper.FcDefaultSubstitute( pPattern ); in matchFont()
1228 FcPattern* pResult = rWrapper.FcFontSetMatch( pConfig, &pFontSet, 1, pPattern, &eResult ); in matchFont()
1255 rWrapper.FcPatternDestroy( pPattern ); in matchFont()