Searched refs:typeface (Results 76 - 100 of 105) sorted by relevance

12345

/external/skia/experimental/PdfViewer/
H A DSkPdfFont.h264 SkPdfStandardFont(SkTypeface* typeface) : fTypeface(typeface) {} argument
/external/skia/src/ports/
H A DSkFontHost_linux.cpp60 * Used as the last resort fallback typeface.
194 void appendTypeface(SkTypeface_Custom* typeface) {
195 fStyles.push_back().reset(typeface);
H A DSkFontHost_FreeType.cpp295 static SkFaceRec* ref_ft_face(const SkTypeface* typeface) { argument
296 const SkFontID fontID = typeface->uniqueID();
308 SkStream* strm = typeface->openStream(&face_index);
854 SkScalerContext_FreeType::SkScalerContext_FreeType(SkTypeface* typeface, argument
856 : SkScalerContext_FreeType_Base(typeface, desc) {
870 fFaceRec = ref_ft_face(typeface);
H A DSkFontConfigInterface_android.cpp495 // look for it in the typeface cache
853 SkTypeface* typeface; member in struct:TypefaceLookupStruct
889 retTypeface = gTypefaceTable[index].typeface;
901 key.typeface = retTypeface;
H A DSkFontHost_mac.cpp562 // NewFromFontRef doesn't retain the parameter, but the typeface it
609 // Clone an existing typeface
720 SkScalerContext_Mac::SkScalerContext_Mac(SkTypeface_Mac* typeface, argument
722 : INHERITED(typeface, desc)
730 CTFontRef ctFont = typeface->fFontRef.get();
1640 static SK_SFNT_ULONG get_font_type_tag(const SkTypeface_Mac* typeface) { argument
1641 CTFontRef ctFont = typeface->fFontRef.get();
/external/chromium_org/third_party/skia/src/device/xps/
H A DSkXPSDevice.cpp1877 SkAutoResolveDefaultTypeface typeface(paint.getTypeface());
1880 const SkFontID typefaceID = typeface->uniqueID();
1898 SkStream* fontData = typeface->openStream(&ttcIndex);
2042 /** [in,out] The accumulated glyphs used in the current typeface. */
2131 TypefaceUse* typeface; local
2132 HRV(CreateTypefaceUse(paint, &typeface));
2137 text_draw_init(paint, text, byteLen, *typeface->glyphsUsed, myDraw, procs);
2156 typeface,
2182 TypefaceUse* typeface; local
2183 HRV(CreateTypefaceUse(paint, &typeface));
[all...]
/external/skia/src/device/xps/
H A DSkXPSDevice.cpp2031 SkAutoResolveDefaultTypeface typeface(paint.getTypeface());
2034 const SkFontID typefaceID = typeface->uniqueID();
2052 SkStream* fontData = typeface->openStream(&ttcIndex);
2196 /** [in,out] The accumulated glyphs used in the current typeface. */
2285 TypefaceUse* typeface; local
2286 HRV(CreateTypefaceUse(paint, &typeface));
2291 text_draw_init(paint, text, byteLen, *typeface->glyphsUsed, myDraw, procs);
2310 typeface,
2336 TypefaceUse* typeface; local
2337 HRV(CreateTypefaceUse(paint, &typeface));
[all...]
/external/chromium_org/third_party/skia/include/pdf/
H A DSkPDFDevice.h301 int getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID);
/external/skia/include/pdf/
H A DSkPDFDevice.h294 int getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID);
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_FreeType.cpp294 static SkFaceRec* ref_ft_face(const SkTypeface* typeface) { argument
295 const SkFontID fontID = typeface->uniqueID();
307 SkStream* strm = typeface->openStream(&face_index);
853 SkScalerContext_FreeType::SkScalerContext_FreeType(SkTypeface* typeface, argument
855 : SkScalerContext_FreeType_Base(typeface, desc) {
869 fFaceRec = ref_ft_face(typeface);
H A DSkFontMgr_android.cpp210 /** Find the typeface in this style set that most closely matches the given pattern.
335 virtual SkTypeface* onMatchFaceStyle(const SkTypeface* typeface,
339 if (fFontStyleSets[i]->fStyles[j] == typeface) {
459 // named typeface so that the system/app can provide their own recovery
460 // mechanism. On other platforms we'd provide a typeface from the
H A DSkFontHost_mac.cpp562 // NewFromFontRef doesn't retain the parameter, but the typeface it
609 // Clone an existing typeface
720 SkScalerContext_Mac::SkScalerContext_Mac(SkTypeface_Mac* typeface, argument
722 : INHERITED(typeface, desc)
730 CTFontRef ctFont = typeface->fFontRef.get();
1637 static SK_SFNT_ULONG get_font_type_tag(const SkTypeface_Mac* typeface) { argument
1638 CTFontRef ctFont = typeface->fFontRef.get();
/external/chromium_org/ui/gfx/
H A Drender_text.cc205 void SkiaTextRenderer::SetTypeface(SkTypeface* typeface) { argument
206 paint_.setTypeface(typeface);
217 skia::RefPtr<SkTypeface> typeface = CreateSkiaTypeface(family.c_str(), style); local
218 if (typeface) {
220 SetTypeface(typeface.get());
222 // Enable fake bold text if bold style is needed but new typeface does not
224 paint_.setFakeBoldText((style & Font::BOLD) && !typeface->isBold());
H A Drender_text.h56 void SetTypeface(SkTypeface* typeface);
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFDevice.cpp112 static int max_glyphid_for_typeface(SkTypeface* typeface) { argument
113 SkAutoResolveDefaultTypeface autoResolve(typeface);
114 typeface = autoResolve.get();
115 return typeface->countGlyphs() - 1;
2038 SkTypeface* typeface = paint.getTypeface(); local
2042 int fontIndex = getFontResourceIndex(typeface, glyphID);
2054 int SkPDFDevice::getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID) { argument
2055 SkAutoTUnref<SkPDFFont> newFont(SkPDFFont::GetFontResource(typeface,
/external/skia/gm/
H A DAndroid.mk176 typeface.cpp \
/external/chromium_org/third_party/skia/src/pipe/
H A DSkGPipeWrite.cpp59 static size_t writeTypeface(SkWriter32* writer, SkTypeface* typeface) {
60 SkASSERT(typeface);
62 typeface->serialize(&stream);
511 uint32_t id = 0; // 0 means default/null typeface
948 // When in-process, we simply write out the typeface pointers.
958 // For cross-process we use typeface IDs.
986 // Unlike most draw ops (which only use one paint/typeface), text blobs may reference
994 // blob byte count + typeface count + x + y + blob data + an index (cross-process)
995 // or pointer (in-process) for each typeface
1264 // It is safe to write the typeface t
[all...]
/external/skia/src/pipe/
H A DSkGPipeWrite.cpp56 static size_t writeTypeface(SkWriter32* writer, SkTypeface* typeface) {
57 SkASSERT(typeface);
59 typeface->serialize(&stream);
498 uint32_t id = 0; // 0 means default/null typeface
1128 // It is safe to write the typeface to the stream before the rest
/external/chromium_org/third_party/skia/include/core/
H A DSkPaint.h607 /** Get the paint's typeface object.
609 The typeface object identifies which font to use when drawing or
610 measuring text. The typeface reference count is not affected.
611 @return the paint's typeface (or NULL)
615 /** Set or clear the typeface object.
617 Pass NULL to clear any previous typeface.
619 If a previous typeface exists, its reference count is decremented.
620 If typeface is not NULL, its reference count is incremented.
621 @param typeface May be NULL. The new typeface t
[all...]
/external/skia/include/core/
H A DSkPaint.h604 /** Get the paint's typeface object.
606 The typeface object identifies which font to use when drawing or
607 measuring text. The typeface reference count is not affected.
608 @return the paint's typeface (or NULL)
612 /** Set or clear the typeface object.
614 Pass NULL to clear any previous typeface.
616 If a previous typeface exists, its reference count is decremented.
617 If typeface is not NULL, its reference count is incremented.
618 @param typeface May be NULL. The new typeface t
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkScalerContext.cpp79 SkScalerContext::SkScalerContext(SkTypeface* typeface, const SkDescriptor* desc) argument
82 , fTypeface(SkRef(typeface))
/external/skia/bench/
H A DAndroid.mk257 ../gm/typeface.cpp \
/external/skia/src/core/
H A DSkScalerContext.cpp83 SkScalerContext::SkScalerContext(SkTypeface* typeface, const SkDescriptor* desc) argument
87 , fTypeface(SkRef(typeface))
136 // Return the context associated with the next logical typeface, or NULL if
H A DSkPicturePlayback.cpp1496 const SkTypeface* typeface = paint.getTypeface();
1497 if (typeface != defaultPaint.getTypeface())
1499 "{kTypeface, %p}, ", typeface);
/external/skia/dm/
H A DAndroid.mk276 ../gm/typeface.cpp \

Completed in 420 milliseconds

12345