/external/pdfium/xfa/src/fgas/src/layout/ |
H A D | fx_unicode.cpp | 82 IFX_Font* pFont,
86 if (pFont == NULL || !bVertical) {
98 if (pFont->GetCharBBox(wch, rtBBox, bMBCSCode)) {
80 FX_AdjustJapCharDisplayPos(FX_WCHAR wch, FX_BOOL bMBCSCode, IFX_Font* pFont, FX_FLOAT fFontSize, FX_BOOL bVertical, CFX_PointF& ptOffset) argument
|
/external/pdfium/core/src/fxge/android/ |
H A D | fpf_skiafont.cpp | 188 CFPF_SkiaPathFont* pFont = (CFPF_SkiaPathFont*)pFontDes; local 189 m_Face = pFontMgr->GetFontFace(pFont->m_pPath, pFont->m_iFaceIndex); 192 CFPF_SkiaFileFont* pFont = (CFPF_SkiaFileFont*)pFontDes; local 193 m_Face = pFontMgr->GetFontFace(pFont->m_pFile, pFont->m_iFaceIndex); 196 CFPF_SkiaBufferFont* pFont = (CFPF_SkiaBufferFont*)pFontDes; local 197 m_Face = pFontMgr->GetFontFace((const uint8_t*)pFont->m_pBuffer, 198 pFont->m_szBuffer, pFont [all...] |
/external/pdfium/core/src/fxge/apple/ |
H A D | fx_apple_platform.cpp | 35 CFX_Font* pFont, 45 CFX_Font* pFont, 67 if (!pFont->GetPlatformFont()) { 68 if (pFont->GetPsName() == CFX_WideString::FromLocal("DFHeiStd-W5")) { 71 pFont->SetPlatformFont( 72 quartz2d.CreateFont(pFont->GetFontData(), pFont->GetSize())); 73 if (!pFont->GetPlatformFont()) { 95 return quartz2d.drawGraphicsString(pContext, pFont->GetPlatformFont(), 102 CFX_Font* pFont, 34 RenderGlyph_Nativetext( CFX_Font* pFont, FX_DWORD glyph_index, const CFX_Matrix* pMatrix, int dest_width, int anti_alias) argument 42 _CGDrawGlyphRun(CGContextRef pContext, int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, const CFX_Matrix* pObject2Device, FX_FLOAT font_size, FX_DWORD argb, int alpha_flag, void* pIccTransform) argument 100 DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, const CFX_Matrix* pObject2Device, FX_FLOAT font_size, FX_DWORD argb, int alpha_flag, void* pIccTransform) argument [all...] |
/external/pdfium/fpdfsdk/include/pdfwindow/ |
H A D | PWL_FontMap.h | 17 CPDF_Font* pFont; member in struct:CPWL_FontMap_Data 87 virtual void AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias); 96 int32_t AddFontData(CPDF_Font* pFont,
|
/external/pdfium/fpdfsdk/src/formfiller/ |
H A D | FFL_CBA_Fontmap.cpp | 60 void CBA_FontMap::SetDefaultFont(CPDF_Font* pFont, argument 62 ASSERT(pFont != NULL); 67 m_pDefaultFont = pFont; 133 CPDF_Font* pFont = pDocument->LoadFont(pElement); local 134 if (!pFont) 136 const CFX_SubstFont* pSubst = pFont->GetSubstFont(); 141 pFind = pFont; 147 void CBA_FontMap::AddedFont(CPDF_Font* pFont, argument 149 AddFontToAnnotDict(pFont, sFontAlias); 152 void CBA_FontMap::AddFontToAnnotDict(CPDF_Font* pFont, argument [all...] |
/external/pdfium/core/src/fpdftext/ |
H A D | fpdf_text_search.cpp | 71 int GetCharWidth(FX_DWORD charCode, CPDF_Font* pFont) { argument 75 int w = pFont->GetCharWidthF(charCode); 78 pFont->AppendChar(str, charCode); 79 w = pFont->GetStringWidth(str, 1); 82 pFont->GetCharBBox(charCode, BBox); 153 CPDF_Font* pFont = pObj->GetFont(); local 236 FX_DWORD space_charcode = pFont->CharCodeFromUnicode(' '); 239 threshold = fontsize_h * pFont->GetCharWidthF(space_charcode) / 1000; 248 int this_width = FXSYS_abs(GetCharWidth(item.m_CharCode, pFont)); 279 CFX_WideString unicode_str = pFont [all...] |
/external/pdfium/fpdfsdk/src/pdfwindow/ |
H A D | PWL_FontMap.cpp | 63 return pData->pFont; 122 if (pData->pFont) { 123 if (pData->pFont->IsUnicodeCompatible()) { 124 int nCharCode = pData->pFont->CharCodeFromUnicode(word); 125 pData->pFont->GlyphFromCharCode(nCharCode); 207 CPDF_Font* pFont = NULL; local 209 pFont = FindFontSameCharset(sAlias, nCharset); 211 if (!pFont) { 213 pFont = AddFontToDocument(GetDocument(), sTemp, nCharset); 216 AddedFont(pFont, sAlia 248 AddFontData(CPDF_Font* pFont, const CFX_ByteString& sFontAlias, int32_t nCharset) argument 261 AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias) argument [all...] |
/external/pdfium/xfa/src/fdp/src/fde/ |
H A D | fde_render.cpp | 180 IFX_Font* pFont = pTextSet->GetFont(hText);
local 181 if (pFont == NULL) {
208 m_pRenderDevice->DrawString(m_pSolidBrush, pFont, m_pCharPos, iCount,
|
/external/pdfium/xfa/src/fgas/src/font/ |
H A D | fx_gefont.cpp | 21 CFX_GEFont* pFont = new CFX_GEFont(pFontMgr);
22 if (!pFont->LoadFont(pszFontFamily, dwFontStyles, wCodePage)) {
23 pFont->Release();
26 return pFont;
38 CFX_GEFont* pFont = new CFX_GEFont(pFontMgr);
39 if (!pFont->LoadFont(pBuffer, iLength)) {
40 pFont->Release();
43 return pFont;
54 CFX_GEFont* pFont = new CFX_GEFont(pFontMgr);
55 if (!pFont 82 CFX_GEFont* pFont = new CFX_GEFont(pFontMgr); local 150 IFX_Font* pFont = (IFX_Font*)m_SubstFonts[i]; local 406 IFX_Font* pFont = NULL; local 443 IFX_Font* pFont = NULL; local 509 IFX_Font* pFont = NULL; local 529 IFX_Font* pFont = m_pFontMgr->GetDefFontByUnicode( local 532 IFX_Font* pFont = m_pFontMgr->GetFontByUnicode(wUnicode, GetFontStyles(), local 569 IFX_Font* pFont = (IFX_Font*)m_SubstFonts[i]; local [all...] |
H A D | fx_stdfontmgr.h | 10 int32_t FX_GetSimilarValue(FX_LPCFONTDESCRIPTOR pFont, FX_DWORD dwFontStyles);
47 virtual void RemoveFont(IFX_Font* pFont);
62 void RemoveFont(CFX_MapPtrToPtr& fontMap, IFX_Font* pFont);
96 CFX_FontDescriptor* pFont;
member in struct:FX_FontDescriptorInfo 183 virtual void RemoveFont(IFX_Font* pFont);
196 FX_BOOL VerifyUnicode(IFX_Font* pFont, FX_WCHAR wcUnicode);
|
H A D | fx_gdifont.cpp | 49 CFX_GdiFont* pFont = new CFX_GdiFont(pFontMgr);
local 50 if (!pFont->LoadFont(pszFontFamily, dwFontStyles, wCodePage)) {
51 pFont->Release();
54 return pFont;
59 CFX_GdiFont* pFont = new CFX_GdiFont(pFontMgr);
local 60 if (!pFont->LoadFont(pBuffer, iLength)) {
61 pFont->Release();
64 return pFont;
68 CFX_GdiFont* pFont = new CFX_GdiFont(pFontMgr);
local 69 if (!pFont 78 CFX_GdiFont* pFont = new CFX_GdiFont(pFontMgr); local 111 IFX_Font* pFont = (IFX_Font*)m_SubstFonts[i]; local 134 IFX_Font* pFont = (IFX_Font*)m_SubstFonts[i]; local 304 IFX_Font* pFont = NULL; local 350 IFX_Font* pFont = NULL; local 367 IFX_Font* pFont = m_pFontMgr->GetDefFontByUnicode(wUnicode, m_dwStyles, local 406 IFX_Font* pFont = GetSubstFont(iGlyphIndex); local 457 IFX_Font* pFont = GetSubstFont(iGlyphIndex); local [all...] |
/external/pdfium/xfa/src/fwl/src/basewidget/ |
H A D | fwl_barcodeimp.cpp | 111 IFX_Font* pFont =
local 114 pFont ? static_cast<CFX_Font*>(pFont->GetDevFont()) : nullptr;
|
H A D | fxmath_barcodeimp.cpp | 142 FX_BOOL CFX_Barcode::SetFont(CFX_Font* pFont) {
argument 153 ? static_cast<CBC_OneCode*>(m_pBCEngine)->SetFont(pFont)
|
/external/pdfium/core/src/fpdfapi/fpdf_font/ |
H A D | ttgsubtable.cpp | 390 IFX_GSUBTable* IFX_GSUBTable::Create(CFX_Font* pFont) { argument 391 if (!pFont) { 394 if (!pFont->GetSubData()) { 397 pFont->GetFace(), FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, NULL, &length); 399 pFont->SetSubData(FX_Alloc(uint8_t, length)); 401 if (!pFont->GetSubData()) { 406 FXFT_Load_Sfnt_Table(pFont->GetFace(), FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, 407 pFont->GetSubData(), NULL); 408 if (!error && pFont->GetSubData()) { 410 if (pGsubTable->m_GsubImp.LoadGSUBTable((FT_Bytes)pFont [all...] |
/external/pdfium/core/src/fpdfdoc/ |
H A D | doc_formcontrol.cpp | 282 CPDF_Font* pFont = m_pField->m_pForm->m_pDocument->LoadFont(pElement); local 283 if (pFont) { 284 return pFont; 299 CPDF_Font* pFont = m_pField->m_pForm->m_pDocument->LoadFont(pElement); local 300 if (pFont) { 301 return pFont;
|
H A D | doc_utils.cpp | 240 CPDF_Font* pFont = NULL; local 243 pFont = CPDF_InterForm::AddStandardFont(pDocument, "Helvetica"); 244 if (pFont) { 245 AddInterFormFont(pFormDict, pDocument, pFont, csBaseName); 250 if (!pFont || csFontName != "Helvetica") { 251 pFont = CPDF_InterForm::AddNativeFont(pDocument); 252 if (pFont) { 254 AddInterFormFont(pFormDict, pDocument, pFont, csBaseName); 259 if (pFont) { 444 CPDF_Font* pFont local 454 FindInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont, CFX_ByteString& csNameTag) argument 487 FindInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString csFontName, CPDF_Font*& pFont, CFX_ByteString& csNameTag) argument 532 AddInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, const CPDF_Font* pFont, CFX_ByteString& csNameTag) argument 576 CPDF_Font* pFont = local 600 RemoveInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont) argument [all...] |
/external/pdfium/fpdfsdk/src/fxedit/ |
H A D | fxet_pageobjs.cpp | 32 CPDF_Font* pFont, 42 if (pFont) { 59 CPDF_TextRenderer::DrawTextString(pDevice, x, y, pFont, fFontSize, &mt, 63 CPDF_TextRenderer::DrawTextString(pDevice, x, y, pFont, fFontSize, &mt, 79 CPDF_TextRenderer::DrawTextString(pDevice, x, y, pFont, fFontSize, 83 CPDF_TextRenderer::DrawTextString(pDevice, x, y, pFont, fFontSize, 434 CPDF_Font* pFont, 443 pTextStateData->m_pFont = pFont; 30 DrawTextString(CFX_RenderDevice* pDevice, const CPDF_Point& pt, CPDF_Font* pFont, FX_FLOAT fFontSize, CFX_Matrix* pUser2Device, const CFX_ByteString& str, FX_ARGB crTextFill, FX_ARGB crTextStroke, int32_t nHorzScale) argument 432 AddTextObjToPageObjects(CPDF_PageObjects* pPageObjs, FX_COLORREF crText, CPDF_Font* pFont, FX_FLOAT fFontSize, FX_FLOAT fCharSpace, int32_t nHorzScale, const CPDF_Point& point, const CFX_ByteString& text) argument
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
H A D | fpdf_page_doc.cpp | 237 CPDF_Font* pFont = CPDF_Font::CreateFontF(m_pPDFDoc, pFontDict); local 238 if (!pFont) { 242 fontData = new CPDF_CountedFont(pFont); 245 fontData->reset(pFont); 257 CPDF_Font* pFont = fontData->get(); local 258 if (!pFont) 260 if (pFont->GetBaseFont() != fontName) 262 if (pFont->IsEmbedded()) 264 if (pFont->GetFontType() != PDFFONT_TYPE1) 266 if (pFont 284 CPDF_Font* pFont = CPDF_Font::CreateFontF(m_pPDFDoc, pDict); local [all...] |
/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_font.cpp | 38 CFX_UnicodeEncodingEx* _FXFM_CreateFontEncoding(CFX_Font* pFont, argument 40 if (FXFT_Select_Charmap(pFont->GetFace(), nEncodingID)) 42 return new CFX_UnicodeEncodingEx(pFont, nEncodingID); 73 FX_BOOL CFX_Font::LoadClone(const CFX_Font* pFont) { argument 74 if (pFont == NULL) { 78 if (pFont->m_pSubstFont) { 80 m_pSubstFont->m_Charset = pFont->m_pSubstFont->m_Charset; 81 m_pSubstFont->m_ExtHandle = pFont->m_pSubstFont->m_ExtHandle; 82 m_pSubstFont->m_SubstFlags = pFont->m_pSubstFont->m_SubstFlags; 83 m_pSubstFont->m_Weight = pFont 459 CFX_UnicodeEncoding(CFX_Font* pFont) argument 484 CFX_UnicodeEncodingEx(CFX_Font* pFont, FX_DWORD EncodingID) argument 538 FX_CreateFontEncodingEx(CFX_Font* pFont, FX_DWORD nEncodingID) argument [all...] |
H A D | fx_ge_ps.cpp | 29 CPSFont* pFont = m_PSFontList[i]; local 30 delete pFont; 538 CFX_Font* pFont, 545 if (pPSFont->m_Glyphs[j].m_pFont == pFont && 586 pPSFont->m_Glyphs[ps_glyphindex].m_pFont = pFont; 605 pFont, charpos.m_GlyphIndex, charpos.m_FontCharWidth); 644 CFX_Font* pFont, 669 CFX_FaceCache* pFaceCache = pCache->GetCachedFace(pFont); 670 FX_FONTCACHE_DEFINE(pCache, pFont); 674 FindPSFontGlyph(pFaceCache, pFont, pCharPo 537 FindPSFontGlyph(CFX_FaceCache* pFaceCache, CFX_Font* pFont, const FXTEXT_CHARPOS& charpos, int& ps_fontnum, int& ps_glyphindex) argument 642 DrawText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, const CFX_Matrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color, int alpha_flag, void* pIccTransform) argument [all...] |
/external/pdfium/core/src/fxge/win32/ |
H A D | fx_win32_dwrite.cpp | 251 void CDWriteExt::DwDeleteFont(void* pFont) { argument 252 if (pFont) { 253 SafeRelease((IDWriteFontFace**)&pFont);
|
H A D | fx_win32_print.cpp | 464 CFX_Font* pFont, 471 return m_PSRenderer.DrawText(nChars, pCharPos, pFont, pCache, pObject2Device, 462 DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, const CFX_Matrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color, int alpha_flag, void* pIccTransform) argument
|
/external/pdfium/xfa/src/fee/include/ |
H A D | ifde_txtedtengine.h | 88 pFont(NULL),
107 IFX_Font* pFont;
member in struct:_FDE_TXTEDTPARAMS
|
/external/pdfium/xfa/src/fgas/include/ |
H A D | fx_rbk.h | 66 pFont = NULL;
79 IFX_Font* pFont;
member in struct:_FX_RTFTEXTOBJ 194 virtual void SetFont(IFX_Font* pFont) = 0;
|
H A D | fx_tbk.h | 83 pFont = NULL;
99 IFX_Font* pFont;
member in struct:_FX_TXTRUN 182 virtual void SetFont(IFX_Font* pFont) = 0;
|