Lines Matching refs:maFaceFT

293     maFaceFT( NULL ),  in FtFontInfo()
343 mpFontFile->GetFileSize(), mnFaceNum, &maFaceFT ); in GetFaceFT()
344 if( (rc != FT_Err_Ok) || (maFaceFT->num_glyphs <= 0) ) in GetFaceFT()
345 maFaceFT = NULL; in GetFaceFT()
348 return maFaceFT; in GetFaceFT()
359 maFaceFT = NULL; in ReleaseFaceFT()
515 return maFaceFT; in GetFtFace()
715 maFaceFT( NULL ), in FreetypeServerFont()
721 maFaceFT = pFI->GetFaceFT(); in FreetypeServerFont()
725 …Name()->getStr(), rFSD.mnHeight, rFSD.mnWidth, rFSD.mbVertical, pFI->IsSymbolFont(), maFaceFT!=0 ); in FreetypeServerFont()
728 if( !maFaceFT ) in FreetypeServerFont()
743 pFTNewSize( maFaceFT, &maSizeFT ); in FreetypeServerFont()
746 FT_Error rc = FT_Set_Pixel_Sizes( maFaceFT, mnWidth, rFSD.mnHeight ); in FreetypeServerFont()
757 if( FT_IS_SFNT( maFaceFT ) ) in FreetypeServerFont()
763 rc = FT_Select_Charmap( maFaceFT, eEncoding ); in FreetypeServerFont()
768 for( int i = maFaceFT->num_charmaps; --i >= 0; ) in FreetypeServerFont()
770 const FT_CharMap aCM = maFaceFT->charmaps[i]; in FreetypeServerFont()
827 if( FT_Err_Ok != FT_Select_Charmap( maFaceFT, eEncoding ) ) in FreetypeServerFont()
857 const TT_OS2* pOs2 = (const TT_OS2*)FT_Get_Sfnt_Table( maFaceFT, ft_sfnt_os2 ); in FreetypeServerFont()
937 mpFontInfo->ReleaseFaceFT( maFaceFT ); in ~FreetypeServerFont()
944 return maFaceFT->units_per_EM; in GetEmUnits()
955 rTo.mbKernableFont = (FT_HAS_KERNING( maFaceFT ) != 0) || mpFontInfo->HasExtraKerning(); in FetchFontMetric()
974 const FT_Size_Metrics& rMetrics = maFaceFT->size->metrics; in FetchFontMetric()
984 const TT_OS2* pOS2 = (const TT_OS2*)FT_Get_Sfnt_Table( maFaceFT, ft_sfnt_os2 ); in FetchFontMetric()
985 const TT_HoriHeader* pHHEA = (const TT_HoriHeader*)FT_Get_Sfnt_Table( maFaceFT, ft_sfnt_hhea ); in FetchFontMetric()
1019 if( nDescent > 5*maFaceFT->units_per_EM ) in FetchFontMetric()
1022 const double fScale = (double)GetFontSelData().mnHeight / maFaceFT->units_per_EM; in FetchFontMetric()
1027 …rTo.mnIntLeading = (long)( (+pOS2->usWinAscent + pOS2->usWinDescent - maFaceFT->units_per_EM) *… in FetchFontMetric()
1102 const FT_Size_Metrics& rMetrics = maFaceFT->size->metrics; in ApplyGlyphTransform()
1131 aVector.x = -maFaceFT->glyph->metrics.horiAdvance; in ApplyGlyphTransform()
1181 if( !FT_IS_SFNT( maFaceFT ) ) in GetRawGlyphIndex()
1220 nGlyphIndex = FT_Get_Char_Index( maFaceFT, aChar ); in GetRawGlyphIndex()
1225 nGlyphIndex = FT_Get_Char_Index( maFaceFT, aChar | 0xF000 ); in GetRawGlyphIndex()
1229 nGlyphIndex = psp::PrintFontManager::get().FreeTypeCharIndex( maFaceFT, aChar ); in GetRawGlyphIndex()
1335 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags|FT_LOAD_NO_HINTING ); in InitGlyphData()
1336 if( (rc==FT_Err_Ok) && (maFaceFT->glyph->format!=FT_GLYPH_FORMAT_BITMAP) ) in InitGlyphData()
1343 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags ); in InitGlyphData()
1355 const bool bOriginallyZeroWidth = (maFaceFT->glyph->metrics.horiAdvance == 0); in InitGlyphData()
1357 (*pFTEmbolden)( maFaceFT->glyph ); in InitGlyphData()
1359 …const int nCharWidth = bOriginallyZeroWidth ? 0 : lcl_GetCharWidth( maFaceFT, mfStretch, nGlyphFla… in InitGlyphData()
1363 rc = FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT ); in InitGlyphData()
1440 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags|FT_LOAD_NO_HINTING ); in GetGlyphBitmap1()
1441 if( (rc==FT_Err_Ok) && (maFaceFT->glyph->format != FT_GLYPH_FORMAT_BITMAP) ) in GetGlyphBitmap1()
1448 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags ); in GetGlyphBitmap1()
1453 (*pFTEmbolden)( maFaceFT->glyph ); in GetGlyphBitmap1()
1456 rc = FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT ); in GetGlyphBitmap1()
1609 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags|FT_LOAD_NO_HINTING ); in GetGlyphBitmap8()
1610 if( (rc==FT_Err_Ok) && (maFaceFT->glyph->format != FT_GLYPH_FORMAT_BITMAP) ) in GetGlyphBitmap8()
1617 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags ); in GetGlyphBitmap8()
1623 (*pFTEmbolden)( maFaceFT->glyph ); in GetGlyphBitmap8()
1626 rc = FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT ); in GetGlyphBitmap8()
1788 if( FT_IS_SFNT( maFaceFT ) ) in GetFontCodeRanges()
1803 for( sal_uInt32 cCode = FT_Get_First_Char( maFaceFT, &nGlyphIndex );; ) in GetFontCodeRanges()
1809 do cNext = FT_Get_Next_Char( maFaceFT, cCode, &nGlyphIndex ); while( cNext == ++cCode ); in GetFontCodeRanges()
1840 if( !FT_HAS_KERNING( maFaceFT ) || !FT_IS_SFNT( maFaceFT ) ) in GetGlyphKernValue()
1858 FT_Error rcFT = FT_Get_Kerning( maFaceFT, nGlyphLeft, nGlyphRight, in GetGlyphKernValue()
1870 if( !FT_HAS_KERNING( maFaceFT ) || !FT_IS_SFNT( maFaceFT ) ) in GetKernPairs()
2082 FT_Error rcFT = FT_Get_Kerning( maFaceFT, it->mnChar1, it->mnChar2, in GetKernPairs()
2304 FT_Error rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags ); in GetGlyphOutline()
2309 (*pFTEmbolden)( maFaceFT->glyph ); in GetGlyphOutline()
2312 rc = FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT ); in GetGlyphOutline()