HomeSort by relevance Sort by last modified time
    Searched refs:fontID (Results 1 - 25 of 47) sorted by null

1 2

  /external/webkit/Source/WebCore/platform/graphics/mac/
SimpleFontDataATSUI.mm 52 ATSUFontID fontID = m_platformData.ctFont() ? CTFontGetPlatformFont(m_platformData.ctFont(), 0) : 0;
53 if (!fontID) {
64 OSStatus status = ATSFontGetTable(fontID, tables[i], 0, 0, 0, &tableSize);
ComplexTextControllerATSUI.cpp 250 static bool fontHasMirroringInfo(ATSUFontID fontID)
253 OSStatus status = ATSFontGetTable(fontID, 'prop', 0, 0, 0, &propTableSize);
285 ATSUFontID fontID = fontData->platformData().ctFont() ? CTFontGetPlatformFont(fontData->platformData().ctFont(), 0) : 0;
286 if (!fontID) {
300 ByteCount styleSizes[4] = { sizeof(fontSize), sizeof(fontID), sizeof(verticalFlip), sizeof(kerningInhibitFactor) };
302 ATSUAttributeValuePtr styleValues[4] = { &fontSize, &fontID, &verticalFlip, &kerningInhibitFactor };
309 fontData->m_ATSUMirrors = fontHasMirroringInfo(fontID);
  /external/skia/include/core/
SkFontHost.h 35 returned). Either way, the fontID for those instance(s) will be the same.
36 In addition, the fontID should never be set to 0. That value is used as a
90 /** Some fonts are stored in files. If that is true for the fontID, then
103 If the fontID does not correspond to a file, then the function returns
106 @param fontID The font whose file name is being queried
116 static size_t GetFileName(SkFontID fontID, char path[], size_t length,
143 * Given a "current" fontID, return the next logical fontID to use
150 * The original fontID is also provided. This is the initial font that was
198 SkFontID fontID,
    [all...]
  /external/skia/legacy/include/core/
SkFontHost.h 36 returned). Either way, the fontID for those instance(s) will be the same.
37 In addition, the fontID should never be set to 0. That value is used as a
93 /** Some fonts are stored in files. If that is true for the fontID, then
106 If the fontID does not correspond to a file, then the function returns
109 @param fontID The font whose file name is being queried
119 static size_t GetFileName(SkFontID fontID, char path[], size_t length,
141 * Given a "current" fontID, return the next logical fontID to use
148 * The original fontID is also provided. This is the initial font that was
194 SkFontID fontID,
    [all...]
  /external/skia/legacy/src/ports/
SkFontHost_tables.cpp 114 int SkFontHost::CountTables(SkFontID fontID) {
115 SkStream* stream = SkFontHost::OpenStream(fontID);
124 int SkFontHost::GetTableTags(SkFontID fontID, SkFontTableTag tags[]) {
125 SkStream* stream = SkFontHost::OpenStream(fontID);
142 size_t SkFontHost::GetTableSize(SkFontID fontID, SkFontTableTag tag) {
143 SkStream* stream = SkFontHost::OpenStream(fontID);
162 size_t SkFontHost::GetTableData(SkFontID fontID, SkFontTableTag tag,
164 SkStream* stream = SkFontHost::OpenStream(fontID);
SkFontHost_mac_atsui.cpp 41 uint32_t fontID = ::ATSFontFindFromName(str, kATSOptionFlagsDefault);
43 return fontID;
49 uint32_t fontID;
51 fontID = find_from_name(gDefaultNames[i]);
52 if (fontID) {
53 return fontID;
61 uint32_t fontID = 0;
63 fontID = find_from_name(name);
65 if (0 == fontID) {
66 fontID = find_default_fontID()
    [all...]
SkFontHost_freetype_mac.cpp 68 SkStream* SkFontHost::OpenStream(uint32_t fontID) {
69 FTMacTypeface* tf = (FTMacTypeface*)SkTypefaceCache::FindByID(fontID);
77 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length,
SkFontHost_none.cpp 32 uint32_t fontID,
48 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length,
SkFontHost_android.cpp 80 static SkStream* openStreamLocked(uint32_t fontID);
81 static size_t getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index);
623 static int getSystemFontIndexForFontID(SkFontID fontID) {
625 SkASSERT(fontID - 1 < gSystemFonts.count());
626 return fontID - 1;
646 SkFontID fontID = defaultList->fList[fontIdx].fFontID;
647 int sysFontIdx = getSystemFontIndexForFontID(fontID);
779 SkDEBUGF(("---- SkTypeface[%d] %s fontID %d\n",
815 static int findFallbackFontIndex(SkFontID fontId, FallbackFontList* currentFallbackList) {
817 if (currentFallbackList->fList[i].fFontID == fontId) {
    [all...]
SkFontHost_mac_coretext.cpp 363 SkTypeface_Mac(SkTypeface::Style style, SkFontID fontID, bool isMonospace,
365 : SkTypeface(style, fontID, isMonospace) {
381 SkFontID fontID = CTFontRef_to_SkFontID(fontRef);
383 return new SkTypeface_Mac(style, fontID, isMonospace, fontRef, name);
446 static CTFontRef GetFontRefFromFontID(SkFontID fontID) {
447 SkTypeface_Mac* face = reinterpret_cast<SkTypeface_Mac*>(SkTypefaceCache::FindByID(fontID));
476 SkFontID fontID = CTFontRef_to_SkFontID(fontRef);
477 SkTypeface* face = SkTypefaceCache::FindByID(fontID);
    [all...]
  /external/skia/src/ports/
SkFontHost_tables.cpp 114 int SkFontHost::CountTables(SkFontID fontID) {
115 SkStream* stream = SkFontHost::OpenStream(fontID);
124 int SkFontHost::GetTableTags(SkFontID fontID, SkFontTableTag tags[]) {
125 SkStream* stream = SkFontHost::OpenStream(fontID);
142 size_t SkFontHost::GetTableSize(SkFontID fontID, SkFontTableTag tag) {
143 SkStream* stream = SkFontHost::OpenStream(fontID);
162 size_t SkFontHost::GetTableData(SkFontID fontID, SkFontTableTag tag,
164 SkStream* stream = SkFontHost::OpenStream(fontID);
SkFontHost_mac_atsui.cpp 41 uint32_t fontID = ::ATSFontFindFromName(str, kATSOptionFlagsDefault);
43 return fontID;
49 uint32_t fontID;
51 fontID = find_from_name(gDefaultNames[i]);
52 if (fontID) {
53 return fontID;
61 uint32_t fontID = 0;
63 fontID = find_from_name(name);
65 if (0 == fontID) {
66 fontID = find_default_fontID()
    [all...]
SkFontHost_freetype_mac.cpp 67 SkStream* SkFontHost::OpenStream(uint32_t fontID) {
68 FTMacTypeface* tf = (FTMacTypeface*)SkTypefaceCache::FindByID(fontID);
76 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length,
SkFontHost_none.cpp 32 uint32_t fontID,
50 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length,
SkFontHost_android.cpp 71 static SkStream* openStreamLocked(uint32_t fontID);
72 static size_t getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index);
614 static int getSystemFontIndexForFontID(SkFontID fontID) {
616 SkASSERT(fontID - 1 < gSystemFonts.count());
617 return fontID - 1;
637 SkFontID fontID = defaultList->fList[fontIdx].fFontID;
638 int sysFontIdx = getSystemFontIndexForFontID(fontID);
770 SkDEBUGF(("---- SkTypeface[%d] %s fontID %d\n",
806 static int findFallbackFontIndex(SkFontID fontId, FallbackFontList* currentFallbackList) {
808 if (currentFallbackList->fList[i].fFontID == fontId) {
    [all...]
  /external/skia/legacy/src/core/
SkTypeface.cpp 20 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedWidth)
21 : fUniqueID(fontID), fStyle(style), fIsFixedWidth(isFixedWidth) {
23 SkDebugf("SkTypeface: create %p fontID %d total %d\n",
24 this, fontID, ++gTypefaceCounter);
30 SkDebugf("SkTypeface: destroy %p fontID %d total %d\n",
39 // fontID, the font cache may later on ask to resolve that back into a
SkTypefaceCache.cpp 27 SkTypeface* SkTypefaceCache::findByID(SkFontID fontID) const {
31 if (curr->fFace->uniqueID() == fontID) {
92 SkTypeface* SkTypefaceCache::FindByID(SkFontID fontID) {
94 return Get().findByID(fontID);
113 SkDebugf("SkTypefaceCache: face %p fontID %d style %d refcnt %d\n",
SkTypefaceCache.h 34 * Helper: returns a unique fontID to pass to the constructor of
48 * Search the cache for a typeface with the specified fontID (uniqueID).
53 static SkTypeface* FindByID(SkFontID fontID);
  /external/skia/src/core/
SkTypefaceCache.cpp 34 SkTypeface* SkTypefaceCache::findByID(SkFontID fontID) const {
38 if (curr->fFace->uniqueID() == fontID) {
116 SkTypeface* SkTypefaceCache::FindByID(SkFontID fontID) {
118 return Get().findByID(fontID);
136 SkDebugf("SkTypefaceCache: face %p fontID %d style %d refcnt %d\n",
SkTypeface.cpp 22 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedWidth)
23 : fUniqueID(fontID), fStyle(style), fIsFixedWidth(isFixedWidth) {
25 SkDebugf("SkTypeface: create %p fontID %d total %d\n",
26 this, fontID, ++gTypefaceCounter);
32 SkDebugf("SkTypeface: destroy %p fontID %d total %d\n",
41 // fontID, the font cache may later on ask to resolve that back into a
SkTypefaceCache.h 34 * Helper: returns a unique fontID to pass to the constructor of
50 * Search the cache for a typeface with the specified fontID (uniqueID).
55 static SkTypeface* FindByID(SkFontID fontID);
  /external/webkit/Source/WebCore/platform/graphics/chromium/
SimpleFontDataLinux.cpp 69 const SkFontID fontID = m_platformData.uniqueID();
76 size_t vdmxSize = SkFontHost::GetTableSize(fontID, vdmxTag);
80 && SkFontHost::GetTableData(fontID, vdmxTag, 0, vdmxSize, vdmxTable) == vdmxSize
119 size_t vheaSize = SkFontHost::GetTableSize(fontID, vheaTag);
120 size_t vorgSize = SkFontHost::GetTableSize(fontID, vorgTag);
  /external/webkit/Source/WebCore/platform/graphics/android/fonts/
FontDataAndroid.cpp 69 const SkFontID fontID = m_platformData.uniqueID();
70 size_t vheaSize = SkFontHost::GetTableSize(fontID, vheaTag);
71 size_t vorgSize = SkFontHost::GetTableSize(fontID, vorgTag);
  /external/skia/legacy/src/utils/
SkSfntUtils.cpp 33 bool SkSfntUtils::ReadTable_head(SkFontID fontID, SkSfntTable_head* head) {
38 size_t size = SkFontHost::GetTableData(fontID, gTag, 0, gSize, storage);
65 bool SkSfntUtils::ReadTable_maxp(SkFontID fontID, SkSfntTable_maxp* maxp) {
70 size_t size = SkFontHost::GetTableData(fontID, gTag, 0, gSize, storage);
  /external/skia/src/pdf/
SkPDFFont.h 169 static bool Find(uint32_t fontID, uint16_t glyphID, int* index);
180 FontRec(SkPDFFont* font, uint32_t fontID, uint16_t fGlyphID);

Completed in 646 milliseconds

1 2