Home
last modified time | relevance | path

Searched refs:LoadFont (Results 1 – 25 of 40) sorted by relevance

12

/external/pdfium/xfa/src/fgas/include/
Dfx_fnt.h52 static IFX_Font* LoadFont(const FX_WCHAR* pszFontFamily,
56 static IFX_Font* LoadFont(const uint8_t* pBuffer,
59 static IFX_Font* LoadFont(const FX_WCHAR* pszFileName, IFX_FontMgr* pFontMgr);
60 static IFX_Font* LoadFont(IFX_Stream* pFontStream,
63 static IFX_Font* LoadFont(CFX_Font* pExtFont,
159 virtual IFX_Font* LoadFont(const FX_WCHAR* pszFontFamily,
162 virtual IFX_Font* LoadFont(const uint8_t* pBuffer, int32_t iLength) = 0;
163 virtual IFX_Font* LoadFont(const FX_WCHAR* pszFileName) = 0;
164 virtual IFX_Font* LoadFont(IFX_Stream* pFontStream,
169 virtual IFX_Font* LoadFont(IFX_Font* pSrcFont,
[all …]
/external/pdfium/xfa/src/fgas/src/font/
Dfx_gefont.cpp11 IFX_Font* IFX_Font::LoadFont(const FX_WCHAR* pszFontFamily, in LoadFont() function in IFX_Font
22 if (!pFont->LoadFont(pszFontFamily, dwFontStyles, wCodePage)) { in LoadFont()
29 IFX_Font* IFX_Font::LoadFont(const uint8_t* pBuffer, in LoadFont() function in IFX_Font
34 return pFontMgr->LoadFont(pBuffer, iLength, 0, NULL); in LoadFont()
39 if (!pFont->LoadFont(pBuffer, iLength)) { in LoadFont()
46 IFX_Font* IFX_Font::LoadFont(const FX_WCHAR* pszFileName, in LoadFont() function in IFX_Font
50 return pFontMgr->LoadFont(pszFileName, 0, NULL); in LoadFont()
55 if (!pFont->LoadFont(pszFileName)) { in LoadFont()
62 IFX_Font* IFX_Font::LoadFont(IFX_Stream* pFontStream, in LoadFont() function in IFX_Font
67 return pFontMgr->LoadFont(pFontStream, 0, NULL); in LoadFont()
[all …]
Dfx_gdifont.cpp45 IFX_Font* IFX_Font::LoadFont(const FX_WCHAR* pszFontFamily, in LoadFont() function in IFX_Font
50 if (!pFont->LoadFont(pszFontFamily, dwFontStyles, wCodePage)) { in LoadFont()
56 IFX_Font* IFX_Font::LoadFont(const uint8_t* pBuffer, in LoadFont() function in IFX_Font
60 if (!pFont->LoadFont(pBuffer, iLength)) { in LoadFont()
66 IFX_Font* IFX_Font::LoadFont(const FX_WCHAR* pszFileName, in LoadFont() function in IFX_Font
69 if (!pFont->LoadFont(pszFileName)) { in LoadFont()
75 IFX_Font* IFX_Font::LoadFont(IFX_Stream* pFontStream, in LoadFont() function in IFX_Font
79 if (!pFont->LoadFont(pFontStream)) { in LoadFont()
85 IFX_Font* IFX_Font::LoadFont(CFX_Font* pExtFont, IFX_FontMgr* pFontMgr) { in LoadFont() function in IFX_Font
161 FX_BOOL CFX_GdiFont::LoadFont(const FX_WCHAR* pszFontFamily, in LoadFont() function in CFX_GdiFont
[all …]
Dfx_stdfontmgr.h33 virtual IFX_Font* LoadFont(const FX_WCHAR* pszFontFamily,
36 virtual IFX_Font* LoadFont(const uint8_t* pBuffer, int32_t iLength);
37 virtual IFX_Font* LoadFont(const FX_WCHAR* pszFileName);
38 virtual IFX_Font* LoadFont(IFX_Stream* pFontStream,
43 virtual IFX_Font* LoadFont(IFX_Font* pSrcFont,
171 virtual IFX_Font* LoadFont(const uint8_t* pBuffer,
175 virtual IFX_Font* LoadFont(const FX_WCHAR* pszFileName,
178 virtual IFX_Font* LoadFont(IFX_Stream* pFontStream,
209 IFX_Font* LoadFont(IFX_FileAccess* pFontAccess,
Dfx_gefont.h21 FX_BOOL LoadFont(const FX_WCHAR* pszFontFamily,
24 FX_BOOL LoadFont(const uint8_t* pBuffer, int32_t length);
25 FX_BOOL LoadFont(const FX_WCHAR* pszFileName);
26 FX_BOOL LoadFont(IFX_Stream* pFontStream, FX_BOOL bSaveStream);
27 FX_BOOL LoadFont(CFX_Font* pExtFont, FX_BOOL bTakeOver = FALSE);
Dfx_gdifont.h35 FX_BOOL LoadFont(const FX_WCHAR* pszFontFamily,
38 FX_BOOL LoadFont(const uint8_t* pBuffer, int32_t iLength);
39 FX_BOOL LoadFont(const FX_WCHAR* pszFileName);
40 FX_BOOL LoadFont(IFX_Stream* pFontStream);
41 FX_BOOL LoadFont(const LOGFONTW& lf);
Dfx_stdfontmgr.cpp63 return pFont ? LoadFont(pFont, dwFontStyles, wCodePage) : NULL; in GetDefFontByCodePage()
72 pFont = IFX_Font::LoadFont(pFD->wsFontFace, dwFontStyles, wCodePage, this); in GetDefFontByCodePage()
78 return LoadFont(pFont, dwFontStyles, wCodePage); in GetDefFontByCodePage()
102 return pFont ? LoadFont(pFont, dwFontStyles, pRet->wCodePage) : NULL; in GetDefFontByUnicode()
118 pFont = IFX_Font::LoadFont(pFontFace, dwFontStyles, wCodePage, this); in GetDefFontByUnicode()
137 pFont = IFX_Font::LoadFont(pFXFont, this); in GetDefFontByUnicode()
149 return LoadFont(pFont, dwFontStyles, wCodePage); in GetDefFontByUnicode()
160 IFX_Font* CFX_StdFontMgrImp::LoadFont(const FX_WCHAR* pszFontFamily, in LoadFont() function in CFX_StdFontMgrImp
167 return pFont ? LoadFont(pFont, dwFontStyles, wCodePage) : NULL; in LoadFont()
179 pFont = IFX_Font::LoadFont(pFD->wsFontFace, dwFontStyles, wCodePage, this); in LoadFont()
[all …]
/external/sfntly/cpp/src/sample/chromium/
Dfont_subsetter.cc34 if (!subsetter.LoadFont(font_name, original_font, font_size)) { in SubsetFont()
Dsubsetter_impl.h57 bool LoadFont(const char* font_name,
/external/sfntly/cpp/src/sfntly/
Dfont.h193 virtual void LoadFont(InputStream* is);
194 virtual void LoadFont(WritableFontData* wfd,
Dfont.cc218 builder->LoadFont(is); in GetOTFBuilder()
227 builder->LoadFont(wfd, offset_to_offset_table); in GetOTFBuilder()
322 void Font::Builder::LoadFont(InputStream* is) { in LoadFont() function in sfntly::Font::Builder
333 void Font::Builder::LoadFont(WritableFontData* wfd, in LoadFont() function in sfntly::Font::Builder
/external/sfntly/cpp/src/test/
Dserialization_test.cc32 LoadFont(SAMPLE_TTF_FILE, factory1, &font_array); in TestSerialization()
98 LoadFont(SAMPLE_BITMAP_FONT, factory1, &font_array); in TestSerializationBitmap()
Dtest_font_utils.h29 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts);
Dcmap_test.cc171 LoadFont(GetParam().font_name(), font_factory, &font_array); in TEST_P()
180 LoadFont(GetParam().font_name(), font_factory, &font_array); in TEST_P()
Dbitmap_table_test.cc99 LoadFont(SAMPLE_BITMAP_FONT, factory, &font_array); in TestReadingBitmapTable()
175 LoadFont(SAMPLE_BITMAP_FONT, factory, &original_font_array); in TestIndexFormatConversion()
Dhdmx_test.cc35 LoadFont(SAMPLE_BITMAP_FONT, factory, &font_array); in TestReadingHdmxTable()
/external/sfntly/cpp/src/sample/subtly/
Dutils.h24 CALLER_ATTACH sfntly::Font* LoadFont(const char* font_path);
Ddebug_main.cc46 font.Attach(subtly::LoadFont(input_font_path)); in main()
Dsubsetter.cc42 font_.Attach(LoadFont(font_path)); in Subsetter()
Dmerger_main.cc52 font.Attach(LoadFont(argv[i])); in main()
Dsubsetter_main.cc46 font.Attach(subtly::LoadFont(input_font_path)); in main()
Dutils.cc29 CALLER_ATTACH Font* LoadFont(const char* font_path) { in LoadFont() function
/external/pdfium/core/src/fpdfdoc/
Ddoc_utils.cpp326 return pDocument->LoadFont(pElement); in GetInterFormFont()
352 return pDocument->LoadFont(pElement); in GetInterFormFont()
383 CPDF_Font* pFind = pDocument->LoadFont(pElement); in GetInterFormFont()
423 CPDF_Font* pFind = pDocument->LoadFont(pElement); in GetNativeInterFormFont()
518 pFont = pDocument->LoadFont(pElement); in FindInterFormFont()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_fontmgr.cpp1772 IFX_Font* pFont = pFDEFontMgr->LoadFont((const FX_WCHAR*)wsFontName, in GetFont()
1777 IFX_Font* pFont = IFX_Font::LoadFont( in GetFont()
1804 pFont = pFDEFontMgr->LoadFont(wsReplace, dwStyle, wCodePage); in GetFont()
1806 pFont = IFX_Font::LoadFont((const FX_WCHAR*)wsReplace, in GetFont()
1831 pFDEFontMgr->LoadFont(L"Arial Narrow", dwFontStyles, wCodePage); in GetDefaultFont()
1835 IFX_Font::LoadFont(L"Arial Narrow", dwFontStyles, in GetDefaultFont()
1841 pFDEFontMgr->LoadFont((const FX_WCHAR*)NULL, dwFontStyles, wCodePage); in GetDefaultFont()
1844 IFX_Font::LoadFont((const FX_WCHAR*)NULL, dwFontStyles, in GetDefaultFont()
1915 CPDF_Font* pPDFFont = pDoc->LoadFont(pFontDict); in FindFont()
1923 return IFX_Font::LoadFont(&pPDFFont->m_Font, pFDEFontMgr); in FindFont()
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_CBA_Fontmap.cpp133 CPDF_Font* pFont = pDocument->LoadFont(pElement); in FindResFontSameCharset()
263 return pFontDict ? m_pDocument->LoadFont(pFontDict) : nullptr; in GetAnnotDefaultFont()

12