Searched defs:typeface (Results 1 - 25 of 61) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/platform/fonts/android/
H A DFontCacheAndroid.cpp55 RefPtr<SkTypeface> typeface = adoptRef(fm->matchFamilyStyleCharacter(0, SkFontStyle(), bcp47Locales, localeCount, c)); local
56 if (!typeface)
60 typeface->getFamilyName(&skiaFamilyName);
/external/chromium_org/third_party/WebKit/Source/web/win/
H A DWebFontRendering.cpp37 void WebFontRendering::addSideloadedFontForTesting(SkTypeface* typeface) argument
39 blink::FontCache::addSideloadedFontForTesting(typeface);
/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)
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.h36 SkScalerContext_FreeType_Base(SkTypeface* typeface, const SkDescriptor *desc) argument
37 : INHERITED(typeface, desc)
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DFontCustomPlatformDataMac.cpp35 FontCustomPlatformData::FontCustomPlatformData(CGFontRef cgFont, PassRefPtr<SkTypeface> typeface) argument
37 , m_typeface(typeface)
71 RefPtr<SkTypeface> typeface = adoptRef(SkTypeface::CreateFromStream(stream.get())); local
72 if (!typeface)
75 return adoptPtr(new FontCustomPlatformData(cgFontRef.leakRef(), typeface.release()));
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
H A DFontCustomPlatformDataSkia.cpp47 FontCustomPlatformData::FontCustomPlatformData(PassRefPtr<SkTypeface> typeface) argument
48 : m_typeface(typeface)
80 RefPtr<SkTypeface> typeface = adoptRef(FontCache::fontCache()->fontManager()->legacyCreateTypeface(name.c_str(), static_cast<SkTypeface::Style>(style))); local
83 return FontPlatformData(typeface.release(), "", size, syntheticBold, syntheticItalic, orientation);
102 RefPtr<SkTypeface> typeface = adoptRef(FontCache::fontCache()->fontManager()->createFromStream(stream.get())); local
104 RefPtr<SkTypeface> typeface = adoptRef(SkTypeface::CreateFromStream(stream.get())); local
106 if (!typeface)
109 return adoptPtr(new FontCustomPlatformData(typeface.release()));
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 DSimpleFontDataSkia.cpp291 SkTypeface* typeface = platformData().typeface(); local
292 typeface->charsToGlyphs(buffer, SkTypeface::kUTF16_Encoding, glyphs, length);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPathRendering.cpp17 GlyphGenerator(const SkTypeface& typeface, const SkDescriptor& desc) argument
19 fScalerContext(typeface.createScalerContext(fDesc)) {
50 GrPathRange* GrPathRendering::createGlyphs(const SkTypeface* typeface, argument
53 if (NULL == typeface) {
54 typeface = SkTypeface::GetDefaultTypeface();
55 SkASSERT(NULL != typeface);
59 SkAutoTUnref<GlyphGenerator> generator(SkNEW_ARGS(GlyphGenerator, (*typeface, *desc)));
65 rec.fFontID = typeface->uniqueID();
77 SkAutoTUnref<GlyphGenerator> generator(SkNEW_ARGS(GlyphGenerator, (*typeface, *genericDesc)));
H A DGrStencilAndCoverTextContext.cpp218 const SkTypeface* typeface,
226 keyData[0] = (keyData[0] << 32) | (typeface ? typeface->uniqueID() : 0);
234 glyphs.reset(ctx->getGpu()->pathRendering()->createGlyphs(typeface, desc, stroke));
217 get_gr_glyphs(GrContext* ctx, const SkTypeface* typeface, const SkDescriptor* desc, const SkStrokeRec& stroke) argument
/external/chromium_org/content/renderer/
H A Drenderer_main_platform_delegate_win.cc62 SkTypeface* typeface = local
64 DoPreSandboxWarmupForTypeface(typeface);
H A Drender_font_warmup_win.cc182 void DoPreSandboxWarmupForTypeface(SkTypeface* typeface) { argument
184 paint_warmup.setTypeface(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/chrome/common/
H A Dbadge_util.cc73 skia::RefPtr<SkTypeface> typeface = skia::AdoptRef( local
76 // typeface will be NULL. If we don't do manual fallback then we'll crash.
77 if (typeface) {
86 typeface = skia::AdoptRef(SkTypeface::CreateFromName(
88 DCHECK(typeface);
91 text_paint->setTypeface(typeface.get());
/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/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/chromium_org/third_party/skia/src/animator/
H A DSkDrawPaint.h64 SkDrawTypeface* typeface; member in class:SkDrawPaint
/external/chromium_org/third_party/skia/src/core/
H A DSkTypefaceCache.cpp136 SkTypeface* typeface = Get().findByProcAndRef(proc, ctx); local
137 return typeface;
H A DSkGlyphCache.h28 This class represents a strike: a specific combination of typeface, size,
147 static SkGlyphCache* DetachCache(SkTypeface* typeface, argument
149 return VisitCache(typeface, desc, DetachProc, NULL);
248 SkAutoGlyphCacheBase(SkTypeface* typeface, const SkDescriptor* desc) { argument
249 fCache = SkGlyphCache::DetachCache(typeface, desc);
274 SkAutoGlyphCache(SkTypeface* typeface, const SkDescriptor* desc) : argument
275 SkAutoGlyphCacheBase(typeface, desc) {}
290 SkAutoGlyphCacheNoGamma(SkTypeface* typeface, const SkDescriptor* desc) : argument
291 SkAutoGlyphCacheBase(typeface, desc) {}
/external/skia/src/animator/
H A DSkDrawPaint.h64 SkDrawTypeface* typeface; member in class:SkDrawPaint
/external/skia/src/core/
H A DSkTypefaceCache.cpp136 SkTypeface* typeface = Get().findByProcAndRef(proc, ctx); local
137 return typeface;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
H A DHarfBuzzFaceSkia.cpp132 SkTypeface* typeface = hbFontData->m_paint.getTypeface(); local
137 if (typeface->getKerningPairAdjustments(glyphs, 2, kerningAdjustments)) {
138 SkScalar upm = SkIntToScalar(typeface->getUnitsPerEm());
154 SkTypeface* typeface = hbFontData->m_paint.getTypeface(); local
159 if (typeface->getKerningPairAdjustments(glyphs, 2, kerningAdjustments)) {
160 SkScalar upm = SkIntToScalar(typeface->getUnitsPerEm());
197 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(userData); local
199 const size_t tableSize = typeface->getTableSize(tag);
206 size_t actualSize = typeface->getTableData(tag, 0, tableSize, buffer);
223 hb_face_t* face = hb_face_create_for_tables(harfBuzzSkiaGetTable, m_platformData->typeface(),
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
H A DFontCacheSkiaWin.cpp49 void FontCache::addSideloadedFontForTesting(SkTypeface* typeface) argument
54 typeface->getFamilyName(&name);
55 s_sideloadedFonts->set(name.c_str(), adoptRef(typeface));
/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/chromium_org/third_party/skia/src/sfnt/
H A DSkOTUtils.cpp165 SkOTUtils::LocalizedStrings_NameTable::CreateForFamilyNames(const SkTypeface& typeface) { argument
167 size_t nameTableSize = typeface.getTableSize(nameTag);
172 size_t copied = typeface.getTableData(nameTag, 0, nameTableSize, nameTableData.get());

Completed in 2615 milliseconds

123