/external/pdfium/core/src/fxge/apple/ |
H A D | fx_apple_platform.cpp | 33 CFX_GlyphBitmap* CFX_FaceCache::RenderGlyph_Nativetext(CFX_Font * pFont,
argument 44 CFX_Font* pFont,
66 if (!pFont->m_pPlatformFont) {
67 if (pFont->GetPsName() == CFX_WideString::FromLocal("DFHeiStd-W5")) {
70 pFont->m_pPlatformFont = quartz2d.CreateFont(pFont->m_pFontData, pFont->m_dwSize);
71 if (NULL == pFont->m_pPlatformFont) {
94 pFont->m_pPlatformFont,
105 CFX_Font * pFont,
41 _CGDrawGlyphRun(CGContextRef pContext, int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD argb, int alpha_flag, void* pIccTransform) argument 103 DrawDeviceText(int nChars, const FXTEXT_CHARPOS * pCharPos, CFX_Font * pFont, CFX_FontCache * pCache, const CFX_AffineMatrix * pObject2Device, FX_FLOAT font_size, FX_DWORD argb, int alpha_flag, void* pIccTransform) argument [all...] |
H A D | fx_quartz_device.cpp | 61 void CQuartz2D::DestroyFont(void* pFont)
argument 63 CGFontRelease((CGFontRef)pFont);
804 CFX_Font* pFont,
817 if (!pFont->m_pPlatformFont) {
818 if (pFont->GetPsName() == CFX_WideString::FromLocal("DFHeiStd-W5")) {
821 pFont->m_pPlatformFont = quartz2d.CreateFont(pFont->m_pFontData, pFont->m_dwSize);
822 if (NULL == pFont->m_pPlatformFont) {
845 CGContextSetFont(_context, (CGFontRef)pFont 802 CG_DrawGlypRun(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, const CFX_AffineMatrix* pGlyphMatrix, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD argb, int alpha_flag, void* pIccTransform) argument 879 DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color, int alpha_flag , void* pIccTransform) argument [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
H A D | fpdf_render_text.cpp | 197 CPDF_Font* pFont = textobj->m_TextState.GetFont();
local 198 if (pFont->GetFontType() == PDFFONT_TYPE3) {
212 if (pFont->GetFace() == NULL && !(pFont->GetSubstFont()->m_SubstFlags & FXFONT_SUBST_GLYPHPATH)) {
220 if (pFont->GetFace() == NULL && !(pFont->GetSubstFont()->m_SubstFlags & FXFONT_SUBST_GLYPHPATH)) {
256 DrawTextPathWithPattern(textobj, pObj2Device, pFont, font_size, &text_matrix, bFill, bStroke);
296 return CPDF_TextRenderer::DrawTextPath(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, textobj->m_pCharPos, pFont, font_size,
300 return CPDF_TextRenderer::DrawNormalText(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, textobj->m_pCharPos, pFont, font_size,
303 CPDF_Type3Cache* CPDF_RenderStatus::GetCachedType3(CPDF_Type3Font* pFont)
argument 311 ReleaseCachedType3(CPDF_Type3Font* pFont) argument 539 Load(int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT FontSize) argument 593 DrawTextPath(CFX_RenderDevice* pDevice, int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2User, const CFX_AffineMatrix* pUser2Device, const CFX_GraphStateData* pGraphState, FX_ARGB fill_argb, FX_ARGB stroke_argb, CFX_PathData* pClippingPath, int nFlag) argument 606 DrawTextString(CFX_RenderDevice* pDevice, int left, int top, CPDF_Font* pFont, int height, const CFX_ByteString& str, FX_ARGB argb) argument 617 DrawTextString(CFX_RenderDevice* pDevice, FX_FLOAT origin_x, FX_FLOAT origin_y, CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pMatrix, const CFX_ByteString& str, FX_ARGB fill_argb, FX_ARGB stroke_argb, const CFX_GraphStateData* pGraphState, const CPDF_RenderOptions* pOptions) argument 663 DrawNormalText(CFX_RenderDevice* pDevice, int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2Device, FX_ARGB fill_argb, const CPDF_RenderOptions* pOptions) argument 700 DrawTextPathWithPattern(const CPDF_TextObject* textobj, const CFX_AffineMatrix* pObj2Device, CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pTextMatrix, FX_BOOL bFill, FX_BOOL bStroke) argument [all...] |
/external/pdfium/fpdfsdk/include/formfiller/ |
H A D | FFL_CBA_Fontmap.h | 27 void SetDefaultFont(CPDF_Font * pFont, const CFX_ByteString & sFontName);
34 virtual void AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias);
40 void AddFontToAnnotDict(CPDF_Font* pFont, const CFX_ByteString& sAlias);
|
/external/pdfium/fpdfsdk/src/formfiller/ |
H A D | FFL_CBA_Fontmap.cpp | 74 void CBA_FontMap::SetDefaultFont(CPDF_Font * pFont, const CFX_ByteString & sFontName)
argument 76 ASSERT(pFont != NULL);
80 m_pDefaultFont = pFont;
84 // m_sDefaultFontName = pFont->GetFontTypeName();
148 CPDF_Font* pFont = pDocument->LoadFont(pElement);
local 149 if (pFont == NULL) continue;
150 const CFX_SubstFont* pSubst = pFont->GetSubstFont();
155 pFind = pFont;
161 void CBA_FontMap::AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias)
argument 163 AddFontToAnnotDict(pFont, sFontAlia 166 AddFontToAnnotDict(CPDF_Font* pFont, const CFX_ByteString& sAlias) argument [all...] |
/external/pdfium/core/src/fpdfdoc/ |
H A D | doc_utils.cpp | 17 FX_BOOL FindInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont, CFX_ByteString& csNameTag);
18 FX_BOOL FindInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString csFontName, CPDF_Font*& pFont, CFX_ByteString& csNameTag);
19 void AddInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, const CPDF_Font* pFont, CFX_ByteString& csNameTag);
22 void RemoveInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont);
25 void SetDefaultInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, const CPDF_Font* pFont);
265 CPDF_Font* pFont = NULL;
local 268 pFont = CPDF_InterForm::AddStandardFont(pDocument, "Helvetica");
269 if (pFont != NULL) {
270 AddInterFormFont(pFormDict, pDocument, pFont, csBaseName);
275 if (pFont 480 CPDF_Font* pFont = GetDefaultInterFormFont(pFormDict, pDocument); local 490 FindInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont, CFX_ByteString& csNameTag) argument 526 FindInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString csFontName, CPDF_Font*& pFont, CFX_ByteString& csNameTag) argument 572 AddInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, const CPDF_Font* pFont, CFX_ByteString& csNameTag) argument 614 CPDF_Font* pFont = GetNativeInterFormFont(pFormDict, pDocument, charSet, csTemp); local 636 RemoveInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont) argument [all...] |
H A D | doc_form.cpp | 17 FX_BOOL FindInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont, CFX_ByteString& csNameTag);
18 FX_BOOL FindInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString csFontName, CPDF_Font*& pFont, CFX_ByteString& csNameTag);
19 void AddInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, const CPDF_Font* pFont, CFX_ByteString& csNameTag);
22 void RemoveInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont);
25 void SetDefaultInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, const CPDF_Font* pFont);
426 CPDF_Font* pFont = NULL;
local 435 pFont = ((CPDF_Document*)pDocument)->AddWindowsFont(&lf, FALSE, TRUE);
438 return pFont;
489 CPDF_Font* pFont = NULL;
local 491 pFont 609 CPDF_Font* pFont = NULL; local 628 CPDF_Font* pFont = NULL; local 1115 FindFormFont(const CPDF_Font* pFont, CFX_ByteString& csNameTag) argument 1119 FindFormFont(CFX_ByteString csFontName, CPDF_Font*& pFont, CFX_ByteString& csNameTag) argument 1123 AddFormFont(const CPDF_Font* pFont, CFX_ByteString& csNameTag) argument 1138 RemoveFormFont(const CPDF_Font* pFont) argument [all...] |
H A D | doc_formcontrol.cpp | 304 CPDF_Font *pFont = m_pField->m_pForm->m_pDocument->LoadFont(pElement);
local 305 if (pFont != NULL) {
306 return pFont;
310 CPDF_Font *pFont = m_pField->m_pForm->GetFormFont(csFontNameTag);
local 311 if (pFont != NULL) {
312 return pFont;
320 CPDF_Font *pFont = m_pField->m_pForm->m_pDocument->LoadFont(pElement);
local 321 if (pFont != NULL) {
322 return pFont;
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
H A D | PWL_FontMap.cpp | 58 return pData->pFont;
137 if (pData->pFont)
139 if (pData->pFont->IsUnicodeCompatible())
141 int nCharCode = pData->pFont->CharCodeFromUnicode(word);
142 pData->pFont->GlyphFromCharCode(nCharCode);
261 CPDF_Font* pFont = NULL;
local 264 pFont = FindFontSameCharset(sAlias, nCharset);
266 if (!pFont)
269 pFont = AddFontToDocument(GetDocument(), sTemp, nCharset);
283 AddedFont(pFont, sAlia 330 AddFontData(CPDF_Font* pFont, const CFX_ByteString& sFontAlias, FX_INT32 nCharset) argument 342 AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias) argument [all...] |
/external/pdfium/core/src/fxge/android/ |
H A D | fpf_skiafont.cpp | 176 CFPF_SkiaPathFont *pFont = (CFPF_SkiaPathFont*)pFontDes; local 177 m_Face = pFontMgr->GetFontFace(pFont->m_pPath, pFont->m_iFaceIndex); 181 CFPF_SkiaFileFont *pFont = (CFPF_SkiaFileFont*)pFontDes; local 182 m_Face = pFontMgr->GetFontFace(pFont->m_pFile, pFont->m_iFaceIndex); 186 CFPF_SkiaBufferFont *pFont = (CFPF_SkiaBufferFont*)pFontDes; local 187 m_Face = pFontMgr->GetFontFace((FX_LPCBYTE)pFont->m_pBuffer, pFont->m_szBuffer, pFont [all...] |
H A D | fpf_skiafontmgr.cpp | 247 CFPF_SkiaFontDescriptor *pFont = (CFPF_SkiaFontDescriptor*)m_FontFaces.ElementAt(i); local 248 if (pFont) { 249 delete pFont; 285 IFPF_Font *pFont = NULL; local 286 if (m_FamilyFonts.Lookup((void*)(uintptr_t)dwHash, (void*&)pFont)) { 287 if (pFont) { 288 return pFont->Retain(); 355 CFPF_SkiaFont *pFont = FX_NEW CFPF_SkiaFont; local 356 if (pFont) { 357 if (pFont [all...] |
/external/pdfium/core/include/fxge/ |
H A D | fx_font.h | 159 IFX_FontEncoding* FXGE_CreateUnicodeEncoding(CFX_Font* pFont);
348 CFX_FaceCache* GetCachedFace(CFX_Font* pFont);
349 void ReleaseCachedFace(CFX_Font* pFont);
359 CFX_AutoFontCache(CFX_FontCache* pFontCache, CFX_Font* pFont)
argument 361 , m_pFont(pFont)
371 #define FX_FONTCACHE_DEFINE(pFontCache, pFont) CFX_AutoFontCache autoFontCache((pFontCache), (pFont))
383 const CFX_GlyphBitmap* LoadGlyphBitmap(CFX_Font* pFont, FX_DWORD glyph_index, FX_BOOL bFontStyle, const CFX_AffineMatrix* pMatrix,
385 const CFX_PathData* LoadGlyphPath(CFX_Font* pFont, FX_DWORD glyph_index, int dest_width);
391 CFX_GlyphBitmap* RenderGlyph(CFX_Font* pFont, FX_DWOR [all...] |
/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_text.cpp | 150 CFX_Font* pFont, CFX_FontCache* pCache,
159 if (!(text_flags & FXFONT_CIDFONT) && pFont->GetPsName().Find(CFX_WideString::FromLocal("+ZJHL")) == -1)
161 if (pFont->GetPsName() != CFX_WideString::FromLocal("CNAAJI+cmex10"))
164 if (m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache, pText2Device, font_size, fill_color, alpha_flag, pIccTransform)) {
176 if (pFont->GetPsName() != CFX_WideString::FromLocal("CNAAJI+cmex10"))
179 if (m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache, pText2Device, font_size, fill_color, alpha_flag, pIccTransform)) {
192 if (pFont->GetFace() != NULL || (pFont->GetSubstFont()->m_SubstFlags & FXFONT_SUBST_GLYPHPATH)) {
194 return DrawTextPath(nChars, pCharPos, pFont, pCache, font_size, pText2Device, NULL, NULL, fill_color, 0, NULL, nPathFlags, alpha_flag, pIccTransform);
202 if (pFont 149 DrawNormalText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, FX_FLOAT font_size, const CFX_AffineMatrix* pText2Device, FX_DWORD fill_color, FX_DWORD text_flags, int alpha_flag, void* pIccTransform) argument 944 DrawTextPath(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, FX_FLOAT font_size, const CFX_AffineMatrix* pText2User, const CFX_AffineMatrix* pUser2Device, const CFX_GraphStateData* pGraphState, FX_DWORD fill_color, FX_ARGB stroke_color, CFX_PathData* pClippingPath, int nFlag, int alpha_flag, void* pIccTransform, int blend_type) argument 999 GetCachedFace(CFX_Font* pFont) argument 1027 ReleaseCachedFace(CFX_Font* pFont) argument 1100 LookUpGlyphBitmap(CFX_Font* pFont, const CFX_AffineMatrix* pMatrix, CFX_ByteStringC& FaceGlyphsKey, FX_DWORD glyph_index, FX_BOOL bFontStyle, int dest_width, int anti_alias) argument 1123 LoadGlyphBitmap(CFX_Font* pFont, FX_DWORD glyph_index, FX_BOOL bFontStyle, const CFX_AffineMatrix* pMatrix, int dest_width, int anti_alias, int& text_flags) argument 1368 RenderGlyph(CFX_Font* pFont, FX_DWORD glyph_index, FX_BOOL bFontStyle, const CFX_AffineMatrix* pMatrix, int dest_width, int anti_alias) argument 1478 _OutputGlyph(void* dib, int x, int y, CFX_Font* pFont, int glyph_index, FX_ARGB argb) argument 1509 OutputText(void* dib, int x, int y, CFX_Font* pFont, double font_size, CFX_AffineMatrix* pText_matrix, unsigned short const* text, unsigned long argb) argument 1548 OutputGlyph(void* dib, int x, int y, CFX_Font* pFont, double font_size, CFX_AffineMatrix* pMatrix, unsigned long glyph_index, unsigned long argb) argument 1569 LoadGlyphPath(CFX_Font* pFont, FX_DWORD glyph_index, int dest_width) argument [all...] |
H A D | fx_ge_linux.cpp | 21 FX_BOOL CFX_AggDeviceDriver::DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont,
argument 27 CFX_GlyphBitmap* CFX_FaceCache::RenderGlyph_Nativetext(CFX_Font* pFont, FX_DWORD glyph_index, const CFX_AffineMatrix* pMatrix,
argument 213 CFontFaceInfo* pFont = NULL;
local 214 m_FontList.GetNextAssoc(pos, bsName, (FX_LPVOID&)pFont);
215 if (!(pFont->m_Charsets & charset_flag) && charset != FXFONT_DEFAULT_CHARSET) {
226 iSimilarValue = _LinuxGetSimilarValue(weight, bItalic, pitch_family, pFont->m_Styles);
229 pFind = pFont;
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
H A D | fpdf_page_doc.cpp | 278 CPDF_Font* pFont = CPDF_Font::CreateFontF(m_pPDFDoc, pFontDict);
local 279 if (!pFont) {
286 fontData->m_Obj = pFont;
288 return pFont;
300 CPDF_Font* pFont = fontData->m_Obj;
local 301 if (!pFont) {
304 if (pFont->GetBaseFont() != fontName) {
307 if (pFont->IsEmbedded()) {
310 if (pFont->GetFontType() != PDFFONT_TYPE1) {
313 if (pFont 335 CPDF_Font* pFont = CPDF_Font::CreateFontF(m_pPDFDoc, pDict); local [all...] |
H A D | fpdf_page.cpp | 123 CPDF_Font* pFont = m_TextState.GetFont();
local 124 if (pFont->GetFontType() != PDFFONT_CIDFONT) {
127 if (!((CPDF_CIDFont*)pFont)->IsVertWriting()) {
130 FX_WORD CID = ((CPDF_CIDFont*)pFont)->CIDFromCharCode(pInfo->m_CharCode);
134 ((CPDF_CIDFont*)pFont)->GetVertOrigin(CID, vx, vy);
236 CPDF_Font* pFont = m_TextState.GetFont();
local 239 m_nChars += pFont->CountChar(pStrs[i], pStrs[i].GetLength());
250 m_pCharCodes[index++] = pFont->GetNextChar(segment, offset);
259 m_pCharCodes = (FX_DWORD*)(FX_UINTPTR)pFont->GetNextChar(pStrs[0], offset);
324 CPDF_Font* pFont local 339 CPDF_Font* pFont = m_TextState.GetFont(); local 358 CPDF_Font* pFont = m_TextState.GetFont(); local 403 CPDF_Font* pFont = m_TextState.GetFont(); local 531 CPDF_Font* pFont = m_TextState.GetFont(); local [all...] |
/external/pdfium/core/src/fxge/win32/ |
H A D | dwrite_int.h | 51 void DwDeleteFont(void* pFont);
|
/external/pdfium/core/src/fpdftext/ |
H A D | fpdf_text_search.cpp | 64 int GetCharWidth(FX_DWORD charCode, CPDF_Font* pFont)
argument 69 int w = pFont->GetCharWidthF(charCode);
72 pFont->AppendChar(str, charCode);
73 w = pFont->GetStringWidth(str, 1);
76 pFont->GetCharBBox(charCode, BBox);
142 CPDF_Font* pFont = pObj->GetFont();
local 226 FX_DWORD space_charcode = pFont->CharCodeFromUnicode(' ');
229 threshold = fontsize_h * pFont->GetCharWidthF(space_charcode) / 1000 ;
238 int this_width = FXSYS_abs(GetCharWidth(item.m_CharCode, pFont));
268 CFX_WideString unicode_str = pFont [all...] |
H A D | fpdf_text.cpp | 59 CPDF_Font* pFont = pText->m_TextState.GetFont();
local 67 FX_DWORD space_charcode = pFont->CharCodeFromUnicode(' ');
70 spacew = fontsize_h * pFont->GetCharWidthF(space_charcode) / 1000;
85 pFont->GetCharBBox(charcode, char_box);
95 pFont->AppendChar(str, charcode);
97 char_bottom, spacew, fontsize_v, str, pFont);
127 topy, bottomy, spacew, fontsize_v, segment, pFont);
135 topy, bottomy, spacew, fontsize_v, segment, pFont);
138 pFont->AppendChar(segment, ' ');
144 pFont 155 InsertTextBox(CTextBaseLine* pBaseLine, FX_FLOAT basey, FX_FLOAT leftx, FX_FLOAT rightx, FX_FLOAT topy, FX_FLOAT bottomy, FX_FLOAT spacew, FX_FLOAT fontsize_v, CFX_ByteString& str, CPDF_Font* pFont) argument [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
H A D | fpdf_edit_doc.cpp | 602 CPDF_Font* CPDF_Document::AddMacFont(CTFontRef pFont, FX_BOOL bVert, FX_BOOL bTranslateName)
argument 604 CTFontRef font = (CTFontRef)pFont;
845 static void _InsertWidthArray1(CFX_Font* pFont, IFX_FontEncoding* pEncoding, FX_WCHAR start, FX_WCHAR end, CPDF_Array* pWidthArray)
argument 852 widths[i] = pFont->GetGlyphWidth(glyph_index);
871 CPDF_Font* CPDF_Document::AddFont(CFX_Font* pFont, int charset, FX_BOOL bVert)
argument 873 if (pFont == NULL) {
878 CFX_ByteString basefont = pFont->GetFamilyName();
881 if (pFont->IsBold()) {
884 if (pFont->IsItalic()) {
887 if (pFont [all...] |
/external/pdfium/fpdfsdk/include/pdfwindow/ |
H A D | PWL_FontMap.h | 12 CPDF_Font* pFont;
member in struct:CPWL_FontMap_Data 90 virtual void AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias);
98 FX_INT32 AddFontData(CPDF_Font* pFont, const CFX_ByteString& sFontAlias, FX_INT32 nCharset = DEFAULT_CHARSET);
|
/external/pdfium/core/src/reflow/ |
H A D | reflowedpage.h | 54 int GetCharWidth(FX_DWORD charCode, CPDF_Font* pFont) const; 59 CRF_CharState* GetCharState(CPDF_TextObject* pObj, CPDF_Font* pFont, FX_FLOAT fHeight, FX_ARGB color); 262 pFont = NULL; 268 pFont = font; 272 CPDF_Font* pFont; member in struct:CPDF_ProgressiveReflowPageRender::CRF_TextDataAtt 278 if (data1.pFont != data2.pFont) {
|
/external/pdfium/core/src/fpdfapi/fpdf_font/ |
H A D | ttgsubtable.cpp | 425 IFX_GSUBTable* FXGE_CreateGSUBTable(CFX_Font* pFont)
argument 427 if (!pFont) {
430 if (NULL == pFont->m_pGsubData) {
432 int error = FXFT_Load_Sfnt_Table(pFont->m_Face, FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, NULL, &length);
434 pFont->m_pGsubData = (unsigned char*)FX_Alloc(FX_BYTE, length);
436 if (!pFont->m_pGsubData) {
440 int error = FXFT_Load_Sfnt_Table(pFont->m_Face, FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, pFont->m_pGsubData, NULL);
441 if (!error && pFont->m_pGsubData) {
446 if (pGsubTable->m_GsubImp.LoadGSUBTable((FT_Bytes)pFont [all...] |
H A D | fpdf_font.cpp | 58 void CPDF_FontGlobals::Set(void* key, int index, CPDF_Font* pFont)
argument 62 ((CFX_StockFontArray*)value)->m_pStockFonts[index] = pFont;
67 pFonts->m_pStockFonts[index] = pFont;
403 CPDF_Font* pFont = pFontGlobals->Find(pDoc, font_id);
local 404 if (pFont) {
405 return pFont;
412 pFont = CPDF_Font::CreateFontF(NULL, pDict);
413 pFontGlobals->Set(pDoc, font_id, pFont);
414 return pFont;
426 CPDF_Font* pFont;
local 500 CPDF_FontCharMap(CPDF_Font* pFont) argument [all...] |
/external/pdfium/core/include/fpdfapi/ |
H A D | fpdf_render.h | 209 CPDF_Font* pFont,
215 CPDF_Font* pFont,
226 CPDF_Font* pFont, FX_FLOAT font_size,
232 CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2Device,
236 CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2Device,
|