HomeSort by relevance Sort by last modified time
    Searched refs:pFont (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/pdfium/xfa/src/fgas/src/font/
fx_stdfontmgr.cpp 49 IFX_Font* pFont = (IFX_Font*)m_Fonts[i];
50 if (pFont != NULL) {
51 pFont->Release();
61 IFX_Font* pFont = NULL;
62 if (m_CPFonts.Lookup((void*)(uintptr_t)dwHash, (void*&)pFont)) {
63 return pFont ? LoadFont(pFont, dwFontStyles, wCodePage) : NULL;
72 pFont = IFX_Font::LoadFont(pFD->wsFontFace, dwFontStyles, wCodePage, this);
73 if (pFont != NULL) {
74 m_Fonts.Add(pFont);
    [all...]
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->LoadFont(pszFileName)) {
    [all...]
fx_gdifont.cpp 49 CFX_GdiFont* pFont = new CFX_GdiFont(pFontMgr);
50 if (!pFont->LoadFont(pszFontFamily, dwFontStyles, wCodePage)) {
51 pFont->Release();
54 return pFont;
59 CFX_GdiFont* pFont = new CFX_GdiFont(pFontMgr);
60 if (!pFont->LoadFont(pBuffer, iLength)) {
61 pFont->Release();
64 return pFont;
68 CFX_GdiFont* pFont = new CFX_GdiFont(pFontMgr);
69 if (!pFont->LoadFont(pszFileName)) {
    [all...]
  /external/pdfium/fpdfsdk/include/formfiller/
FFL_CBA_Fontmap.h 20 void SetDefaultFont(CPDF_Font* pFont, const CFX_ByteString& sFontName);
31 void AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias) override;
37 void AddFontToAnnotDict(CPDF_Font* pFont, const CFX_ByteString& sAlias);
  /external/pdfium/xfa/src/fgas/include/
fx_ucd.h 23 IFX_Font* pFont,
29 IFX_Font* pFont,
  /external/pdfium/core/src/fxge/apple/
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,
    [all...]
  /external/pdfium/core/src/fpdfdoc/
doc_utils.h 32 const CPDF_Font* pFont,
37 CPDF_Font*& pFont,
41 const CPDF_Font* pFont,
50 void RemoveInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont);
56 const CPDF_Font* pFont);
doc_utils.cpp 240 CPDF_Font* pFont = NULL;
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 = GetDefaultInterFormFont(pFormDict, pDocument)
    [all...]
  /external/pdfium/core/src/fpdfapi/fpdf_render/
fpdf_render_text.cpp 200 CPDF_Font* pFont = textobj->m_TextState.GetFont();
201 if (pFont->GetFontType() == PDFFONT_TYPE3) {
215 if (!pFont->GetFace() &&
216 !(pFont->GetSubstFont()->m_SubstFlags & FXFONT_SUBST_GLYPHPATH)) {
224 if (!pFont->GetFace() &&
225 !(pFont->GetSubstFont()->m_SubstFlags & FXFONT_SUBST_GLYPHPATH)) {
261 DrawTextPathWithPattern(textobj, pObj2Device, pFont, font_size,
293 textobj->m_pCharPos, pFont, font_size, &text_matrix, pDeviceMatrix,
299 pFont, font_size, &text_matrix, fill_argb, &m_Options);
301 CPDF_Type3Cache* CPDF_RenderStatus::GetCachedType3(CPDF_Type3Font* pFont) {
    [all...]
  /external/pdfium/core/src/fxge/ge/
fx_ge_font.cpp 38 CFX_UnicodeEncodingEx* _FXFM_CreateFontEncoding(CFX_Font* pFont,
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) {
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->m_pSubstFont->m_Weight
    [all...]
fx_ge_text.cpp 176 CFX_Font* pFont,
190 (pFont->GetPsName().Find(CFX_WideString::FromLocal("+ZJHL")) != -1) ||
191 (pFont->GetPsName() == CFX_WideString::FromLocal("CNAAJI+cmex10"))) {
196 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache,
212 (pFont->GetPsName() == CFX_WideString::FromLocal("CNAAJI+cmex10"))) {
217 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache,
232 if (pFont->GetFace() ||
233 (pFont->GetSubstFont()->m_SubstFlags & FXFONT_SUBST_GLYPHPATH)) {
236 return DrawTextPath(nChars, pCharPos, pFont, pCache, font_size,
246 if (!pFont->GetFace() &
    [all...]
  /external/pdfium/fpdfsdk/src/formfiller/
FFL_CBA_Fontmap.cpp 60 void CBA_FontMap::SetDefaultFont(CPDF_Font* pFont,
62 ASSERT(pFont != NULL);
67 m_pDefaultFont = pFont;
133 CPDF_Font* pFont = pDocument->LoadFont(pElement);
134 if (!pFont)
136 const CFX_SubstFont* pSubst = pFont->GetSubstFont();
141 pFind = pFont;
147 void CBA_FontMap::AddedFont(CPDF_Font* pFont,
149 AddFontToAnnotDict(pFont, sFontAlias);
152 void CBA_FontMap::AddFontToAnnotDict(CPDF_Font* pFont,
    [all...]
  /external/pdfium/fpdfsdk/src/pdfwindow/
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;
209 pFont = FindFontSameCharset(sAlias, nCharset);
211 if (!pFont) {
213 pFont = AddFontToDocument(GetDocument(), sTemp, nCharset);
216 AddedFont(pFont, sAlias)
    [all...]
  /external/pdfium/core/src/fxge/android/
fpf_skiafont.cpp 188 CFPF_SkiaPathFont* pFont = (CFPF_SkiaPathFont*)pFontDes;
189 m_Face = pFontMgr->GetFontFace(pFont->m_pPath, pFont->m_iFaceIndex);
192 CFPF_SkiaFileFont* pFont = (CFPF_SkiaFileFont*)pFontDes;
193 m_Face = pFontMgr->GetFontFace(pFont->m_pFile, pFont->m_iFaceIndex);
196 CFPF_SkiaBufferFont* pFont = (CFPF_SkiaBufferFont*)pFontDes;
197 m_Face = pFontMgr->GetFontFace((const uint8_t*)pFont->m_pBuffer,
198 pFont->m_szBuffer, pFont->m_iFaceIndex)
    [all...]
  /external/pdfium/core/include/fxge/
fx_font.h 81 FX_BOOL LoadClone(const CFX_Font* pFont);
167 explicit CFX_UnicodeEncoding(CFX_Font* pFont);
180 CFX_UnicodeEncodingEx(CFX_Font* pFont, FX_DWORD EncodingID);
192 CFX_Font* pFont,
444 CFX_FaceCache* GetCachedFace(CFX_Font* pFont);
445 void ReleaseCachedFace(CFX_Font* pFont);
455 CFX_AutoFontCache(CFX_FontCache* pFontCache, CFX_Font* pFont)
456 : m_pFontCache(pFontCache), m_pFont(pFont) {}
461 #define FX_FONTCACHE_DEFINE(pFontCache, pFont) \
462 CFX_AutoFontCache autoFontCache((pFontCache), (pFont))
    [all...]
  /external/pdfium/fpdfsdk/include/pdfwindow/
PWL_FontMap.h 17 CPDF_Font* pFont;
87 virtual void AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias);
96 int32_t AddFontData(CPDF_Font* pFont,
  /external/pdfium/core/src/fpdfapi/fpdf_page/
fpdf_page.cpp 114 CPDF_Font* pFont = m_TextState.GetFont();
115 if (pFont->GetFontType() != PDFFONT_CIDFONT) {
118 if (!((CPDF_CIDFont*)pFont)->IsVertWriting()) {
121 FX_WORD CID = ((CPDF_CIDFont*)pFont)->CIDFromCharCode(pInfo->m_CharCode);
125 ((CPDF_CIDFont*)pFont)->GetVertOrigin(CID, vx, vy);
227 CPDF_Font* pFont = m_TextState.GetFont();
230 m_nChars += pFont->CountChar(pStrs[i], pStrs[i].GetLength());
241 m_pCharCodes[index++] = pFont->GetNextChar(segment, len, offset);
250 m_pCharCodes = (FX_DWORD*)(uintptr_t)pFont->GetNextChar(
317 CPDF_Font* pFont = m_TextState.GetFont()
    [all...]
fpdf_page_doc.cpp 237 CPDF_Font* pFont = CPDF_Font::CreateFontF(m_pPDFDoc, pFontDict);
238 if (!pFont) {
242 fontData = new CPDF_CountedFont(pFont);
245 fontData->reset(pFont);
257 CPDF_Font* pFont = fontData->get();
258 if (!pFont)
260 if (pFont->GetBaseFont() != fontName)
262 if (pFont->IsEmbedded())
264 if (pFont->GetFontType() != PDFFONT_TYPE1)
266 if (pFont->GetFontDict()->KeyExist("Widths")
    [all...]
  /external/pdfium/core/src/fxge/win32/
dwrite_int.h 57 void DwDeleteFont(void* pFont);
  /external/pdfium/core/src/fpdftext/
fpdf_text_search.cpp 71 int GetCharWidth(FX_DWORD charCode, CPDF_Font* pFont) {
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();
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->UnicodeFromCharCode(item.m_CharCode)
    [all...]
  /external/pdfium/core/include/fpdfapi/
fpdf_render.h 167 CPDF_Font* pFont,
175 CPDF_Font* pFont,
188 CPDF_Font* pFont,
202 CPDF_Font* pFont,
212 CPDF_Font* pFont,
  /external/pdfium/xfa/src/fxfa/src/app/
xfa_fontmgr.cpp     [all...]
  /external/pdfium/core/src/fpdfapi/fpdf_edit/
fpdf_edit_doc.cpp 548 CPDF_Font* CPDF_Document::AddMacFont(CTFontRef pFont,
551 CTFontRef font = (CTFontRef)pFont;
    [all...]
  /external/pdfium/xfa/src/fdp/src/fde/
fde_gedevice.h 34 IFX_Font* pFont,
106 IFX_Font* pFont,
112 IFX_Font* pFont,
  /external/pdfium/xfa/src/fgas/src/layout/
fx_unicode.cpp 82 IFX_Font* pFont,
86 if (pFont == NULL || !bVertical) {
98 if (pFont->GetCharBBox(wch, rtBBox, bMBCSCode)) {

Completed in 558 milliseconds

1 2 3 4