Searched defs:fontID (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
H A DSkTypefaceCache.cpp49 SkTypeface* SkTypefaceCache::findByID(SkFontID fontID) const {
53 if (curr->fFace->uniqueID() == fontID) {
129 SkTypeface* SkTypefaceCache::FindByID(SkFontID fontID) { argument
131 return Get().findByID(fontID);
149 SkDebugf("SkTypefaceCache: face %p fontID %d style %d refcnt %d\n",
H A DSkTypeface.cpp20 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedPitch) argument
21 : fUniqueID(fontID), fStyle(style), fIsFixedPitch(isFixedPitch) {
23 SkDebugf("SkTypeface: create %p fontID %d total %d\n",
24 this, fontID, ++gTypefaceCounter);
30 SkDebugf("SkTypeface: destroy %p fontID %d total %d\n",
74 // fontID, the font cache may later on ask to resolve that back into a
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFDocument.cpp271 SkFontID fontID = fontResources[font]->typeface()->uniqueID(); local
272 if (seenFonts.find(fontID) == -1) {
274 seenFonts.push(fontID);
/external/skia/src/core/
H A DSkTypefaceCache.cpp49 SkTypeface* SkTypefaceCache::findByID(SkFontID fontID) const {
53 if (curr->fFace->uniqueID() == fontID) {
129 SkTypeface* SkTypefaceCache::FindByID(SkFontID fontID) { argument
131 return Get().findByID(fontID);
149 SkDebugf("SkTypefaceCache: face %p fontID %d style %d refcnt %d\n",
H A DSkTypeface.cpp20 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedPitch) argument
21 : fUniqueID(fontID), fStyle(style), fIsFixedPitch(isFixedPitch) {
23 SkDebugf("SkTypeface: create %p fontID %d total %d\n",
24 this, fontID, ++gTypefaceCounter);
30 SkDebugf("SkTypeface: destroy %p fontID %d total %d\n",
74 // fontID, the font cache may later on ask to resolve that back into a
/external/skia/src/pdf/
H A DSkPDFDocument.cpp271 SkFontID fontID = fontResources[font]->typeface()->uniqueID(); local
272 if (seenFonts.find(fontID) == -1) {
274 seenFonts.push(fontID);
/external/skia/tests/
H A DFontHostTest.cpp176 SkFontID fontID = face->uniqueID(); local
177 REPORTER_ASSERT(reporter, fontID);
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontConfigInterface_android.cpp571 SkFontID fontID = ctx->findTypefaceIdForChar(uni); local
572 return SkTypefaceCache::FindByID(fontID);
H A DSkFontHost_FreeType.cpp232 SkFaceRec(SkStream* strm, uint32_t fontID);
269 SkFaceRec::SkFaceRec(SkStream* strm, uint32_t fontID) argument
270 : fNext(NULL), fSkStream(strm), fRefCnt(1), fFontID(fontID) {
283 const SkFontID fontID = typeface->uniqueID(); local
286 if (rec->fFontID == fontID) {
301 rec = SkNEW_ARGS(SkFaceRec, (strm, fontID));
320 fprintf(stderr, "ERROR: unable to open font '%x'\n", fontID);
H A DSkFontHost_win.cpp215 LogFontTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, bool serializeAsStream = false) : argument
216 SkTypeface(style, fontID, false), fLogFont(lf), fSerializeAsStream(serializeAsStream) {
254 SkFontID fontID = SkTypefaceCache::NewFontID(); local
255 return new LogFontTypeface(style, fontID, lf);
285 FontMemResourceTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, HANDLE fontMemResource) : argument
286 LogFontTypeface(style, fontID, lf, true), fFontMemResource(fontMemResource) {
296 SkFontID fontID = SkTypefaceCache::NewFontID(); local
297 return new FontMemResourceTypeface(style, fontID, lf, fontMemResource);
H A DSkFontHost_win_dw.cpp521 DWriteFontTypeface(SkTypeface::Style style, SkFontID fontID, argument
527 : SkTypeface(style, fontID, false)
548 SkFontID fontID = SkTypefaceCache::NewFontID(); local
549 return SkNEW_ARGS(DWriteFontTypeface, (style, fontID,
H A DSkFontHost_mac.cpp428 SkTypeface_Mac(SkTypeface::Style style, SkFontID fontID, bool isFixedPitch, argument
430 : SkTypeface(style, fontID, isFixedPitch)
438 SkTypeface_Mac(const SkFontStyle& fs, SkFontID fontID, bool isFixedPitch, argument
440 : SkTypeface(fontstyle2stylebits(fs), fontID, isFixedPitch)
480 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); local
482 return new SkTypeface_Mac(style, fontID, isFixedPitch, fontRef, name);
555 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); local
556 SkTypeface* face = SkTypefaceCache::FindByID(fontID);
2127 SkFontID fontID = CTFontRef_to_SkFontID(ctFont); local
2129 face = SkNEW_ARGS(SkTypeface_Mac, (rec.fFontStyle, fontID, isFixedPitc
[all...]
/external/skia/src/ports/
H A DSkFontConfigInterface_android.cpp571 SkFontID fontID = ctx->findTypefaceIdForChar(uni); local
572 return SkTypefaceCache::FindByID(fontID);
H A DSkFontHost_FreeType.cpp234 SkFaceRec(SkStream* strm, uint32_t fontID);
271 SkFaceRec::SkFaceRec(SkStream* strm, uint32_t fontID) argument
272 : fNext(NULL), fSkStream(strm), fRefCnt(1), fFontID(fontID) {
285 const SkFontID fontID = typeface->uniqueID(); local
288 if (rec->fFontID == fontID) {
303 rec = SkNEW_ARGS(SkFaceRec, (strm, fontID));
322 fprintf(stderr, "ERROR: unable to open font '%x'\n", fontID);
H A DSkFontHost_win.cpp215 LogFontTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, bool serializeAsStream = false) : argument
216 SkTypeface(style, fontID, false), fLogFont(lf), fSerializeAsStream(serializeAsStream) {
254 SkFontID fontID = SkTypefaceCache::NewFontID(); local
255 return new LogFontTypeface(style, fontID, lf);
285 FontMemResourceTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, HANDLE fontMemResource) : argument
286 LogFontTypeface(style, fontID, lf, true), fFontMemResource(fontMemResource) {
296 SkFontID fontID = SkTypefaceCache::NewFontID(); local
297 return new FontMemResourceTypeface(style, fontID, lf, fontMemResource);
H A DSkFontHost_win_dw.cpp521 DWriteFontTypeface(SkTypeface::Style style, SkFontID fontID, argument
527 : SkTypeface(style, fontID, false)
548 SkFontID fontID = SkTypefaceCache::NewFontID(); local
549 return SkNEW_ARGS(DWriteFontTypeface, (style, fontID,
H A DSkFontHost_mac.cpp428 SkTypeface_Mac(SkTypeface::Style style, SkFontID fontID, bool isFixedPitch, argument
430 : SkTypeface(style, fontID, isFixedPitch)
438 SkTypeface_Mac(const SkFontStyle& fs, SkFontID fontID, bool isFixedPitch, argument
440 : SkTypeface(fontstyle2stylebits(fs), fontID, isFixedPitch)
480 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); local
482 return new SkTypeface_Mac(style, fontID, isFixedPitch, fontRef, name);
555 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); local
556 SkTypeface* face = SkTypefaceCache::FindByID(fontID);
2127 SkFontID fontID = CTFontRef_to_SkFontID(ctFont); local
2129 face = SkNEW_ARGS(SkTypeface_Mac, (rec.fFontStyle, fontID, isFixedPitc
[all...]

Completed in 569 milliseconds