Home
last modified time | relevance | path

Searched refs:nameTableSize (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
DOpenTypeUtilities.cpp163 …size_t nameTableSize = ((offsetof(nameTable, nameRecords) + nameRecordCount * sizeof(nameRecord) +… in renameFont() local
165 rewrittenFontData.resize(fontData->size() + nameTableSize); in renameFont()
171 rewrittenSfnt->tables[t].length = nameTableSize; in renameFont()
199 for (unsigned i = 0; i * sizeof(BigEndianULong) < nameTableSize; ++i) in renameFont()
202 return nameTableSize; in renameFont()
209 size_t nameTableSize = renameFont(fontData, fontName, rewrittenFontData); in renameAndActivateFont() local
210 if (!nameTableSize) in renameAndActivateFont()
214 …e = AddFontMemResourceEx(rewrittenFontData.data(), fontData->size() + nameTableSize, 0, &numFonts); in renameAndActivateFont()
/external/chromium_org/third_party/skia/tests/
DFontNamesTest.cpp176 size_t nameTableSize = typeface->getTableSize(nameTag); in test_systemfonts() local
177 if (0 == nameTableSize) { in test_systemfonts()
180 SkAutoTMalloc<uint8_t> nameTableData(nameTableSize); in test_systemfonts()
181 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get()); in test_systemfonts()
182 if (copied != nameTableSize) { in test_systemfonts()
/external/skia/tests/
DFontNamesTest.cpp176 size_t nameTableSize = typeface->getTableSize(nameTag); in test_systemfonts() local
177 if (0 == nameTableSize) { in test_systemfonts()
180 SkAutoTMalloc<uint8_t> nameTableData(nameTableSize); in test_systemfonts()
181 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get()); in test_systemfonts()
182 if (copied != nameTableSize) { in test_systemfonts()
/external/chromium_org/third_party/skia/src/sfnt/
DSkOTUtils.cpp167 size_t nameTableSize = typeface.getTableSize(nameTag); in CreateForFamilyNames() local
168 if (0 == nameTableSize) { in CreateForFamilyNames()
171 SkAutoTDeleteArray<uint8_t> nameTableData(new uint8_t[nameTableSize]); in CreateForFamilyNames()
172 size_t copied = typeface.getTableData(nameTag, 0, nameTableSize, nameTableData.get()); in CreateForFamilyNames()
173 if (copied != nameTableSize) { in CreateForFamilyNames()
/external/skia/src/sfnt/
DSkOTUtils.cpp167 size_t nameTableSize = typeface.getTableSize(nameTag); in CreateForFamilyNames() local
168 if (0 == nameTableSize) { in CreateForFamilyNames()
171 SkAutoTDeleteArray<uint8_t> nameTableData(new uint8_t[nameTableSize]); in CreateForFamilyNames()
172 size_t copied = typeface.getTableData(nameTag, 0, nameTableSize, nameTableData.get()); in CreateForFamilyNames()
173 if (copied != nameTableSize) { in CreateForFamilyNames()