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

1 2

  /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...]
fpf_skiafontmgr.cpp 231 CFPF_SkiaFontDescriptor* pFont =
233 delete pFont;
262 IFPF_Font* pFont = NULL;
263 if (m_FamilyFonts.Lookup((void*)(uintptr_t)dwHash, (void*&)pFont)) {
264 if (pFont) {
265 return pFont->Retain();
336 CFPF_SkiaFont* pFont = new CFPF_SkiaFont;
337 if (pFont->InitFont(this, pFontDes, bsFamilyname, dwStyle, uCharset)) {
338 m_FamilyFonts.SetAt((void*)(uintptr_t)dwHash, (void*)pFont);
339 return pFont->Retain()
    [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/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/xfa/src/fdp/src/fde/
fde_render.cpp 180 IFX_Font* pFont = pTextSet->GetFont(hText);
181 if (pFont == NULL) {
208 m_pRenderDevice->DrawString(m_pSolidBrush, pFont, m_pCharPos, iCount,
  /external/pdfium/xfa/src/fgas/src/font/
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_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;
183 virtual void RemoveFont(IFX_Font* pFont);
196 FX_BOOL VerifyUnicode(IFX_Font* pFont, FX_WCHAR wcUnicode);
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/xfa/src/fwl/src/basewidget/
fwl_barcodeimp.cpp 111 IFX_Font* pFont =
114 pFont ? static_cast<CFX_Font*>(pFont->GetDevFont()) : nullptr;
  /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...]
fpdf_text.cpp 55 CPDF_Font* pFont = pText->m_TextState.GetFont();
62 FX_DWORD space_charcode = pFont->CharCodeFromUnicode(' ');
65 spacew = fontsize_h * pFont->GetCharWidthF(space_charcode) / 1000;
82 pFont->GetCharBBox(charcode, char_box);
98 pFont->AppendChar(str, charcode);
100 char_bottom, spacew, fontsize_v, str, pFont);
131 fontsize_v, segment, pFont);
138 fontsize_v, segment, pFont);
141 pFont->AppendChar(segment, ' ');
147 pFont->AppendChar(segment, charcode)
    [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/fpdfapi/fpdf_page/
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...]
fpdf_page_graph_state.cpp 303 void CPDF_TextState::SetFont(CPDF_Font* pFont) {
311 pStateData->m_pDocument = pFont ? pFont->m_pDocument : NULL;
312 pStateData->m_pFont = pFont;
500 CPDF_Array* pFont = pObject->AsArray();
501 if (!pFont)
504 m_TextState.GetModify()->m_FontSize = pFont->GetNumber(1);
505 m_TextState.SetFont(pParser->FindFont(pFont->GetString(0)));
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...]
  /external/pdfium/core/src/fpdfdoc/
doc_formcontrol.cpp 282 CPDF_Font* pFont = m_pField->m_pForm->m_pDocument->LoadFont(pElement);
283 if (pFont) {
284 return pFont;
299 CPDF_Font* pFont = m_pField->m_pForm->m_pDocument->LoadFont(pElement);
300 if (pFont) {
301 return 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/fxge/ge/
fx_ge_ps.cpp 29 CPSFont* pFont = m_PSFontList[i];
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, pCharPos[i], ps_fontnum, ps_glyphindex)
    [all...]
  /external/pdfium/xfa/src/fxfa/src/app/
xfa_fontmgr.cpp     [all...]
xfa_textlayout.h 237 IFX_Font* pFont;
243 _XFA_TEXTPIECE() : pszText(NULL), pFont(NULL), pLinkData(NULL) {
  /external/pdfium/xfa/src/fee/include/
ifde_txtedtengine.h 88 pFont(NULL),
107 IFX_Font* pFont;
  /external/pdfium/xfa/src/fgas/include/
fx_rbk.h 66 pFont = NULL;
79 IFX_Font* pFont;
194 virtual void SetFont(IFX_Font* pFont) = 0;
fx_tbk.h 83 pFont = NULL;
99 IFX_Font* pFont;
182 virtual void SetFont(IFX_Font* pFont) = 0;
  /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/fpdfsdk/src/
fsdk_mgr.cpp 191 CPDF_Font* pFont = pDoc->AddFont(pFXFont, nCharset, FALSE);
193 return pFont;
    [all...]

Completed in 8644 milliseconds

1 2