Searched refs:typeface (Results 26 - 50 of 105) sorted by relevance

12345

/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_FreeType_common.h35 SkScalerContext_FreeType_Base(SkTypeface* typeface, const SkDescriptor *desc) argument
36 : INHERITED(typeface, desc)
H A DSkScalerContext_win_dw.cpp38 static bool is_hinted_without_gasp(DWriteFontTypeface* typeface) { argument
39 AutoTDWriteTable<SkOTTableMaximumProfile> maxp(typeface->fDWriteFontFace.get());
55 AutoTDWriteTable<SkOTTableGridAndScanProcedure> gasp(typeface->fDWriteFontFace.get());
68 static void expand_range_if_gridfit_only(DWriteFontTypeface* typeface, int size, PPEMRange* range) { argument
69 AutoTDWriteTable<SkOTTableGridAndScanProcedure> gasp(typeface->fDWriteFontFace.get());
107 static bool has_bitmap_strike(DWriteFontTypeface* typeface, PPEMRange range) { argument
109 AutoTDWriteTable<SkOTTableEmbeddedBitmapLocation> eblc(typeface->fDWriteFontFace.get());
148 AutoTDWriteTable<SkOTTableEmbeddedBitmapScaling> ebsc(typeface->fDWriteFontFace.get());
192 SkScalerContext_DW::SkScalerContext_DW(DWriteFontTypeface* typeface, argument
194 : SkScalerContext(typeface, des
[all...]
/external/chromium_org/ui/gfx/
H A Dplatform_font_pango.h59 PlatformFontPango(const skia::RefPtr<SkTypeface>& typeface,
66 // Initializes this object based on the passed-in details. If |typeface| is
67 // empty, a new typeface will be loaded.
69 const skia::RefPtr<SkTypeface>& typeface,
81 // Setup a Skia context to use the current typeface.
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontPlatformData.cpp269 // If either of the typeface pointers are null then we test for pointer
301 return typeface()->uniqueID();
307 if (!this->typeface())
309 SkTypeface::LocalizedStrings* fontFamilyIterator = this->typeface()->createFamilyNameIterator();
318 return typeface() && typeface()->isFixedPitch();
321 SkTypeface* FontPlatformData::typeface() const function in class:blink::FontPlatformData
/external/chromium_org/third_party/skia/gm/
H A Dfontmgr.cpp31 // find typeface containing the requested character and draw it
35 SkTypeface* typeface = fm->matchFamilyStyleCharacter(fontName, fontStyle, &bpc47, 1, character); local
37 SkTypeface* typeface = fm->matchFamilyStyleCharacter(fontName, fontStyle, bpc47, character); local
39 SkSafeUnref(paint.setTypeface(typeface));
42 if (NULL == typeface) {
46 // repeat the process, but this time use the family name of the typeface
50 typeface->getFamilyName(&familyName);
51 SkTypeface* typefaceCopy = fm->legacyCreateTypeface(familyName.c_str(), typeface->style());
/external/skia/tests/
H A DFontNamesTest.cpp154 SkAutoTUnref<SkTypeface> typeface(set->createTypeface(j));
155 if (NULL == typeface.get()) {
161 typeface->getFamilyName(&familyName);
167 typeface->createFamilyNameIterator());
176 size_t nameTableSize = typeface->getTableSize(nameTag);
181 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get());
/external/chromium_org/third_party/skia/experimental/PdfViewer/
H A DSkPdfFont.cpp130 SkTypeface* typeface = NULL; local
139 typeface = SkTypeface::CreateFromName(
144 typeface = SkTypeface::CreateFromName(
149 if (typeface) {
150 typeface->ref();
152 return typeface;
197 SkTypeface* typeface = SkTypefaceFromPdfStandardFont(fontName, false, false); local
198 if (typeface != NULL) {
199 return new SkPdfStandardFont(typeface);
/external/skia/experimental/PdfViewer/
H A DSkPdfFont.cpp130 SkTypeface* typeface = NULL; local
139 typeface = SkTypeface::CreateFromName(
144 typeface = SkTypeface::CreateFromName(
149 if (typeface) {
150 typeface->ref();
152 return typeface;
197 SkTypeface* typeface = SkTypefaceFromPdfStandardFont(fontName, false, false); local
198 if (typeface != NULL) {
199 return new SkPdfStandardFont(typeface);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
H A DFontCacheSkia.cpp192 SkTypeface* typeface = nullptr; local
194 typeface = SkTypeface::CreateFromStream(streamForFontconfigInterfaceId(creationParams.fontconfigInterfaceId()));
196 typeface = SkTypeface::CreateFromFile(creationParams.filename().data());
198 if (typeface)
199 return adoptRef(typeface);
H A DFontPlatformDataSkia.cpp72 return FontCache::fontCache()->getVerticalData(typeface()->uniqueID(), *this);
/external/chromium_org/third_party/skia/tests/
H A DFontNamesTest.cpp154 SkAutoTUnref<SkTypeface> typeface(set->createTypeface(j));
157 typeface->getFamilyName(&familyName);
163 typeface->createFamilyNameIterator());
172 size_t nameTableSize = typeface->getTableSize(nameTag);
177 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get());
/external/skia/src/fonts/
H A DSkFontMgr_indirect.cpp228 SkAutoTUnref<SkTypeface> typeface(fImpl->createFromStream(stream, id.fTtcIndex));
229 if (typeface.get() == NULL) {
234 typeface->weak_ref();
237 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry.
239 return typeface.detach();
/external/chromium_org/content/shell/renderer/
H A Dshell_content_renderer_client.cc64 SkTypeface* typeface = fontmgr->createFromFile(i->c_str()); local
65 DoPreSandboxWarmupForTypeface(typeface);
66 blink::WebFontRendering::addSideloadedFontForTesting(typeface);
/external/chromium_org/third_party/skia/src/sfnt/
H A DSkOTUtils.h50 /** Creates an iterator over all the family names in the 'name' table of a typeface.
53 static LocalizedStrings_NameTable* CreateForFamilyNames(const SkTypeface& typeface);
/external/skia/src/sfnt/
H A DSkOTUtils.h50 /** Creates an iterator over all the family names in the 'name' table of a typeface.
53 static LocalizedStrings_NameTable* CreateForFamilyNames(const SkTypeface& typeface);
/external/chromium_org/third_party/skia/src/fonts/
H A DSkFontMgr_indirect.cpp228 SkAutoTUnref<SkTypeface> typeface(fImpl->createFromStream(stream, id.fTtcIndex));
229 if (typeface.get() == NULL) {
234 typeface->weak_ref();
237 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry.
239 return typeface.detach();
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLPathRendering.cpp104 GrPathRange* GrGLPathRendering::createGlyphs(const SkTypeface* typeface, argument
108 return GrPathRendering::createGlyphs(typeface, desc, stroke);
111 if (NULL == typeface) {
112 typeface = SkTypeface::GetDefaultTypeface();
113 SkASSERT(NULL != typeface);
117 SkAutoTUnref<SkStream> fontStream(typeface->openStream(&faceIndex));
121 return GrPathRendering::createGlyphs(typeface, NULL, stroke);
133 const size_t numPaths = typeface->countGlyphs();
145 return GrPathRendering::createGlyphs(typeface, NULL, stroke);
/external/skia/src/ports/
H A DSkScalerContext_win_dw.cpp36 static bool is_hinted_without_gasp(DWriteFontTypeface* typeface) { argument
37 AutoTDWriteTable<SkOTTableMaximumProfile> maxp(typeface->fDWriteFontFace.get());
53 AutoTDWriteTable<SkOTTableGridAndScanProcedure> gasp(typeface->fDWriteFontFace.get());
66 static void expand_range_if_gridfit_only(DWriteFontTypeface* typeface, int size, PPEMRange* range) { argument
67 AutoTDWriteTable<SkOTTableGridAndScanProcedure> gasp(typeface->fDWriteFontFace.get());
107 static bool has_bitmap_strike(DWriteFontTypeface* typeface, PPEMRange range) { argument
109 AutoTDWriteTable<SkOTTableEmbeddedBitmapLocation> eblc(typeface->fDWriteFontFace.get());
148 AutoTDWriteTable<SkOTTableEmbeddedBitmapScaling> ebsc(typeface->fDWriteFontFace.get());
192 SkScalerContext_DW::SkScalerContext_DW(DWriteFontTypeface* typeface, argument
194 : SkScalerContext(typeface, des
[all...]
/external/chromium_org/content/renderer/
H A Drender_font_warmup_win.cc182 void DoPreSandboxWarmupForTypeface(SkTypeface* typeface) { argument
184 paint_warmup.setTypeface(typeface);
/external/chromium_org/third_party/skia/src/core/
H A DSkGlyphCache.cpp76 SkGlyphCache::SkGlyphCache(SkTypeface* typeface, const SkDescriptor* desc, SkScalerContext* ctx) argument
78 SkASSERT(typeface);
496 SkGlyphCache* SkGlyphCache::VisitCache(SkTypeface* typeface, argument
500 if (!typeface) {
501 typeface = SkTypeface::GetDefaultTypeface();
531 SkScalerContext* ctx = typeface->createScalerContext(desc, true);
534 ctx = typeface->createScalerContext(desc, false);
537 cache = SkNEW_ARGS(SkGlyphCache, (typeface, desc, ctx));
H A DSkTypefaceCache.cpp136 SkTypeface* typeface = Get().findByProcAndRef(proc, ctx); local
137 return typeface;
/external/skia/src/core/
H A DSkGlyphCache.cpp76 SkGlyphCache::SkGlyphCache(SkTypeface* typeface, const SkDescriptor* desc, SkScalerContext* ctx) argument
78 SkASSERT(typeface);
513 SkGlyphCache* SkGlyphCache::VisitCache(SkTypeface* typeface, argument
517 if (!typeface) {
518 typeface = SkTypeface::GetDefaultTypeface();
548 SkScalerContext* ctx = typeface->createScalerContext(desc, true);
551 ctx = typeface->createScalerContext(desc, false);
554 cache = SkNEW_ARGS(SkGlyphCache, (typeface, desc, ctx));
H A DSkTypefaceCache.cpp136 SkTypeface* typeface = Get().findByProcAndRef(proc, ctx); local
137 return typeface;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
H A DFontPlatformDataWin.cpp51 paint->setTypeface(typeface());
/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawPaint.h64 SkDrawTypeface* typeface; member in class:SkDrawPaint

Completed in 3778 milliseconds

12345