Home
last modified time | relevance | path

Searched refs:SkPdfFont (Results 1 – 6 of 6) sorted by relevance

/external/skia/experimental/PdfViewer/
DSkPdfFont.cpp155 SkPdfFont* SkPdfFont::fontFromFontDescriptor(SkPdfNativeDoc* doc, SkPdfFontDescriptorDictionary* fd, in fontFromFontDescriptor()
196 SkPdfFont* fontFromName(SkPdfNativeDoc* doc, SkPdfNativeObject* obj, const char* fontName) { in fontFromName()
216 SkPdfFont* font = SkPdfFont::fontFromFontDescriptor(doc, fd, false); in fontFromName()
227 return SkPdfFont::Default(); in fontFromName()
230 SkPdfFont* SkPdfFont::fontFromPdfDictionaryOnce(SkPdfNativeDoc* doc, SkPdfFontDictionary* dict) { in fontFromPdfDictionaryOnce()
258 SkPdfFont* SkPdfFont::fontFromPdfDictionary(SkPdfNativeDoc* doc, SkPdfFontDictionary* dict) { in fontFromPdfDictionary()
266 return (SkPdfFont*)dict->data(SkPdfNativeObject::kFont_Data); in fontFromPdfDictionary()
271 SkPdfType0Font* SkPdfFont::fontFromType0FontDictionary(SkPdfNativeDoc* doc, in fontFromType0FontDictionary()
280 SkPdfType1Font* SkPdfFont:: fontFromType1FontDictionary(SkPdfNativeDoc* doc, in fontFromType1FontDictionary()
289 SkPdfType3Font* SkPdfFont::fontFromType3FontDictionary(SkPdfNativeDoc* doc, in fontFromType3FontDictionary()
[all …]
DSkPdfFont.h28 class SkPdfFont; variable
48 SkPdfFont* fontFromName(SkPdfNativeDoc* doc, SkPdfNativeObject* obj, const char* fontName);
167 class SkPdfFont {
169 SkPdfFont* fBaseFont;
175 SkPdfFont() : fBaseFont(NULL), fEncoding(SkPdfDefaultEncoding::instance()), fToUnicode(NULL) {} in SkPdfFont() function
177 virtual ~SkPdfFont() { in ~SkPdfFont()
233 static SkPdfFont* fontFromPdfDictionary(SkPdfNativeDoc* doc, SkPdfFontDictionary* dict);
234 static SkPdfFont* Default() {return fontFromName(NULL, NULL, "TimesNewRoman");} in Default()
247 static SkPdfFont* fontFromFontDescriptor(SkPdfNativeDoc* doc,
257 static SkPdfFont* fontFromPdfDictionaryOnce(SkPdfNativeDoc* doc, SkPdfFontDictionary* dict);
[all …]
DSkPdfGraphicsState.h16 class SkPdfFont; variable
89 SkPdfFont* fSkFont;
/external/skia/experimental/PdfViewer/pdfparser/native/
DSkPdfNativeObject.cpp116 delete (SkPdfFont*)fData; in releaseData()
/external/skia/gyp/
Dpdfviewer_lib.gyp29 '../experimental/PdfViewer/SkPdfFont.cpp',
/external/skia/experimental/PdfViewer/src/
DSkPdfRenderer.cpp308 SkPdfFont* skfont = pdfContext->fGraphicsState.fSkFont; in DrawText()
310 skfont = SkPdfFont::Default(); in DrawText()
1487 SkPdfFont* skfont = SkPdfFont::fontFromPdfDictionary(pdfContext->fPdfDoc, fd); in skpdfGraphicsStateApplyFontCore()