/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
D | FontCustomPlatformDataSkia.cpp | 47 FontCustomPlatformData::FontCustomPlatformData(PassRefPtr<SkTypeface> typeface) in FontCustomPlatformData() argument 48 : m_typeface(typeface) in FontCustomPlatformData() 76 …RefPtr<SkTypeface> typeface = adoptRef(SkTypeface::CreateFromName(name.c_str(), static_cast<SkType… in fontPlatformData() local 79 …return FontPlatformData(typeface.release(), "", size, syntheticBold, syntheticItalic, orientation); in fontPlatformData() 97 …RefPtr<SkTypeface> typeface = adoptRef(FontCache::fontCache()->fontManager()->createFromStream(str… in create() local 99 RefPtr<SkTypeface> typeface = adoptRef(SkTypeface::CreateFromStream(stream.get())); in create() local 101 if (!typeface) in create() 104 return adoptPtr(new FontCustomPlatformData(typeface.release())); in create()
|
D | GlyphPageTreeNodeSkia.cpp | 53 SkTypeface* typeface = fontData->platformData().typeface(); in fill() local 54 typeface->charsToGlyphs(buffer, SkTypeface::kUTF16_Encoding, glyphs, length); in fill()
|
/external/chromium/chrome/common/ |
D | badge_util.cc | 30 SkTypeface* typeface = SkTypeface::CreateFromName( in GetBadgeTextPaintSingleton() local 34 if (typeface) { in GetBadgeTextPaintSingleton() 43 typeface = SkTypeface::CreateFromName( in GetBadgeTextPaintSingleton() 45 DCHECK(typeface); in GetBadgeTextPaintSingleton() 48 text_paint->setTypeface(typeface); in GetBadgeTextPaintSingleton() 50 typeface->unref(); in GetBadgeTextPaintSingleton()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | FontCustomPlatformDataMac.cpp | 35 FontCustomPlatformData::FontCustomPlatformData(CGFontRef cgFont, PassRefPtr<SkTypeface> typeface) in FontCustomPlatformData() argument 37 , m_typeface(typeface) in FontCustomPlatformData() 71 RefPtr<SkTypeface> typeface = adoptRef(SkTypeface::CreateFromStream(stream.get())); in create() local 72 if (!typeface) in create() 75 return adoptPtr(new FontCustomPlatformData(cgFontRef.leakRef(), typeface.release())); in create()
|
D | FontMac.cpp | 66 SkTypeface* typeface = SkCreateTypefaceFromCTFont(platformData.ctFont()); in setupPaint() local 67 SkAutoUnref autoUnref(typeface); in setupPaint() 68 paint->setTypeface(typeface); in setupPaint()
|
/external/chromium_org/ui/gfx/ |
D | platform_font_pango.cc | 167 skia::RefPtr<SkTypeface> typeface = skia::AdoptRef( in DeriveFont() local 172 return Font(new PlatformFontPango(typeface, in DeriveFont() 261 PlatformFontPango::PlatformFontPango(const skia::RefPtr<SkTypeface>& typeface, in PlatformFontPango() argument 265 InitWithTypefaceNameSizeAndStyle(typeface, name, size, style); in PlatformFontPango() 302 skia::RefPtr<SkTypeface> typeface = skia::AdoptRef( in InitWithNameAndSize() local 304 if (!typeface) { in InitWithNameAndSize() 307 typeface = skia::AdoptRef( in InitWithNameAndSize() 310 CHECK(typeface) << "Could not find any font: " in InitWithNameAndSize() 316 InitWithTypefaceNameSizeAndStyle(typeface, in InitWithNameAndSize() 323 const skia::RefPtr<SkTypeface>& typeface, in InitWithTypefaceNameSizeAndStyle() argument [all …]
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 572 const SkTypeface* typeface, in get_subset_font_stream() argument 576 SkAutoTUnref<SkStream> fontData(typeface->openStream(&ttcIndex)); in get_subset_font_stream() 756 SkTypeface* SkPDFFont::typeface() { in typeface() function in SkPDFFont 789 SkPDFFont* SkPDFFont::GetFontResource(SkTypeface* typeface, uint16_t glyphID) { in GetFontResource() argument 792 SkAutoResolveDefaultTypeface autoResolve(typeface); in GetFontResource() 793 typeface = autoResolve.get(); in GetFontResource() 795 const uint32_t fontID = typeface->uniqueID(); in GetFontResource() 832 typeface->getAdvancedTypefaceMetrics(info, NULL, 0)); in GetFontResource() 840 typeface->getAdvancedTypefaceMetrics(info, NULL, 0)); in GetFontResource() 845 SkPDFFont* font = Create(fontMetrics.get(), typeface, glyphID, in GetFontResource() [all …]
|
D | SkPDFFontImpl.h | 32 SkPDFType0Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface); 45 SkPDFCIDFont(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, 61 SkPDFType1Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, 78 SkPDFType3Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, uint16_t glyphID);
|
D | SkPDFFont.h | 91 SkTypeface* typeface(); 124 static SkPDFFont* GetFontResource(SkTypeface* typeface, 137 SkPDFFont(SkAdvancedTypefaceMetrics* fontInfo, SkTypeface* typeface, 168 SkTypeface* typeface, uint16_t glyphID,
|
/external/chromium_org/third_party/skia/src/pdf/ |
D | SkPDFFont.cpp | 572 const SkTypeface* typeface, in get_subset_font_stream() argument 576 SkAutoTUnref<SkStream> fontData(typeface->openStream(&ttcIndex)); in get_subset_font_stream() 756 SkTypeface* SkPDFFont::typeface() { in typeface() function in SkPDFFont 789 SkPDFFont* SkPDFFont::GetFontResource(SkTypeface* typeface, uint16_t glyphID) { in GetFontResource() argument 792 SkAutoResolveDefaultTypeface autoResolve(typeface); in GetFontResource() 793 typeface = autoResolve.get(); in GetFontResource() 795 const uint32_t fontID = typeface->uniqueID(); in GetFontResource() 832 typeface->getAdvancedTypefaceMetrics(info, NULL, 0)); in GetFontResource() 840 typeface->getAdvancedTypefaceMetrics(info, NULL, 0)); in GetFontResource() 845 SkPDFFont* font = Create(fontMetrics.get(), typeface, glyphID, in GetFontResource() [all …]
|
D | SkPDFFontImpl.h | 32 SkPDFType0Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface); 45 SkPDFCIDFont(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, 61 SkPDFType1Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, 78 SkPDFType3Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, uint16_t glyphID);
|
D | SkPDFFont.h | 91 SkTypeface* typeface(); 124 static SkPDFFont* GetFontResource(SkTypeface* typeface, 137 SkPDFFont(SkAdvancedTypefaceMetrics* fontInfo, SkTypeface* typeface, 168 SkTypeface* typeface, uint16_t glyphID,
|
/external/skia/src/animator/ |
D | SkDrawPaint.cpp | 60 SK_MEMBER(typeface, Typeface), 75 textSkewX(SK_ScalarNaN), typeface((SkDrawTypeface*) -1), in SkDrawPaint() 90 delete typeface; in ~SkDrawPaint() 143 typeface->dump(maker); in dump() 210 if (fOwnsTypeface && maker.resolveID(typeface, original->typeface) == false) in resolveIDs() 261 if (typeface == NULL) in setupPaint() 263 else if (typeface != (SkDrawTypeface*) -1) in setupPaint() 264 SkSafeUnref(paint->setTypeface(typeface->getTypeface())); in setupPaint()
|
D | SkPaintParts.cpp | 87 if (fPaint->typeface != (SkDrawTypeface*) -1) in add() 89 fPaint->typeface = this; in add()
|
/external/chromium_org/third_party/skia/src/animator/ |
D | SkDrawPaint.cpp | 60 SK_MEMBER(typeface, Typeface), 75 textSkewX(SK_ScalarNaN), typeface((SkDrawTypeface*) -1), in SkDrawPaint() 90 delete typeface; in ~SkDrawPaint() 143 typeface->dump(maker); in dump() 210 if (fOwnsTypeface && maker.resolveID(typeface, original->typeface) == false) in resolveIDs() 261 if (typeface == NULL) in setupPaint() 263 else if (typeface != (SkDrawTypeface*) -1) in setupPaint() 264 SkSafeUnref(paint->setTypeface(typeface->getTypeface())); in setupPaint()
|
D | SkPaintParts.cpp | 87 if (fPaint->typeface != (SkDrawTypeface*) -1) in add() 89 fPaint->typeface = this; in add()
|
/external/skia/tests/ |
D | FontNamesTest.cpp | 155 SkAutoTUnref<SkTypeface> typeface(set->createTypeface(j)); in test_systemfonts() local 156 if (NULL == typeface.get()) { in test_systemfonts() 162 typeface->getFamilyName(&familyName); in test_systemfonts() 168 typeface->createFamilyNameIterator()); in test_systemfonts() 177 size_t nameTableSize = typeface->getTableSize(nameTag); in test_systemfonts() 182 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get()); in test_systemfonts()
|
/external/skia/src/core/ |
D | SkGlyphCache.h | 157 static SkGlyphCache* DetachCache(SkTypeface* typeface, in DetachCache() argument 159 return VisitCache(typeface, desc, DetachProc, NULL); in DetachCache() 246 SkAutoGlyphCache(SkTypeface* typeface, const SkDescriptor* desc) { in SkAutoGlyphCache() argument 247 fCache = SkGlyphCache::DetachCache(typeface, desc); in SkAutoGlyphCache()
|
D | SkGlyphCache.cpp | 70 SkGlyphCache::SkGlyphCache(SkTypeface* typeface, const SkDescriptor* desc, SkScalerContext* ctx) in SkGlyphCache() argument 72 SkASSERT(typeface); in SkGlyphCache() 468 SkGlyphCache* SkGlyphCache::VisitCache(SkTypeface* typeface, in VisitCache() argument 472 if (!typeface) { in VisitCache() 473 typeface = SkTypeface::GetDefaultTypeface(); in VisitCache() 503 SkScalerContext* ctx = typeface->createScalerContext(desc, true); in VisitCache() 506 ctx = typeface->createScalerContext(desc, false); in VisitCache() 509 cache = SkNEW_ARGS(SkGlyphCache, (typeface, desc, ctx)); in VisitCache()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkGlyphCache.h | 157 static SkGlyphCache* DetachCache(SkTypeface* typeface, in DetachCache() argument 159 return VisitCache(typeface, desc, DetachProc, NULL); in DetachCache() 246 SkAutoGlyphCache(SkTypeface* typeface, const SkDescriptor* desc) { in SkAutoGlyphCache() argument 247 fCache = SkGlyphCache::DetachCache(typeface, desc); in SkAutoGlyphCache()
|
D | SkGlyphCache.cpp | 70 SkGlyphCache::SkGlyphCache(SkTypeface* typeface, const SkDescriptor* desc, SkScalerContext* ctx) in SkGlyphCache() argument 72 SkASSERT(typeface); in SkGlyphCache() 468 SkGlyphCache* SkGlyphCache::VisitCache(SkTypeface* typeface, in VisitCache() argument 472 if (!typeface) { in VisitCache() 473 typeface = SkTypeface::GetDefaultTypeface(); in VisitCache() 503 SkScalerContext* ctx = typeface->createScalerContext(desc, true); in VisitCache() 506 ctx = typeface->createScalerContext(desc, false); in VisitCache() 509 cache = SkNEW_ARGS(SkGlyphCache, (typeface, desc, ctx)); in VisitCache()
|
/external/chromium_org/chrome/common/ |
D | badge_util.cc | 71 skia::RefPtr<SkTypeface> typeface = skia::AdoptRef( in GetBadgeTextPaintSingleton() local 75 if (typeface) { in GetBadgeTextPaintSingleton() 84 typeface = skia::AdoptRef(SkTypeface::CreateFromName( in GetBadgeTextPaintSingleton() 86 DCHECK(typeface); in GetBadgeTextPaintSingleton() 89 text_paint->setTypeface(typeface.get()); in GetBadgeTextPaintSingleton()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
D | HarfBuzzFaceSkia.cpp | 147 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(userData); in harfBuzzSkiaGetTable() local 149 const size_t tableSize = typeface->getTableSize(tag); in harfBuzzSkiaGetTable() 156 size_t actualSize = typeface->getTableData(tag, 0, tableSize, buffer); in harfBuzzSkiaGetTable() 173 … hb_face_t* face = hb_face_create_for_tables(harfBuzzSkiaGetTable, m_platformData->typeface(), 0); in createFace()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
D | FontPlatformDataWin.cpp | 57 paint->setTypeface(typeface()); in setupPaint() 334 ASSERT(typeface()); in fontFamilyName() 336 typeface()->getFamilyName(&familyName); in fontFamilyName() 367 return typeface() && typeface()->isFixedPitch(); in isFixedPitch()
|
/external/chromium_org/third_party/skia/src/ports/ |
D | SkFontHost_FreeType_common.h | 36 SkScalerContext_FreeType_Base(SkTypeface* typeface, const SkDescriptor *desc) in SkScalerContext_FreeType_Base() argument 37 : INHERITED(typeface, desc) in SkScalerContext_FreeType_Base()
|