Home | History | Annotate | Download | only in sfnt

Lines Matching refs:SkOTUtils

15 #include "SkOTUtils.h"
27 uint32_t SkOTUtils::CalcTableChecksum(SK_OT_ULONG *data, size_t length) {
36 SkData* SkOTUtils::RenameFont(SkStream* fontData, const char* fontName, int fontNameLen) {
147 nameTableEntry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_ULONG*>(nameTable), nameTableLogicalSize));
155 uint32_t unadjustedFontChecksum = SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_ULONG*>(data), originalDataSize + nameTablePhysicalSize);
164 SkOTUtils::LocalizedStrings_NameTable*
165 SkOTUtils::LocalizedStrings_NameTable::CreateForFamilyNames(const SkTypeface& typeface) {
177 return new SkOTUtils::LocalizedStrings_NameTable((SkOTTableName*)nameTableData.detach(),
178 SkOTUtils::LocalizedStrings_NameTable::familyNameTypes,
179 SK_ARRAY_COUNT(SkOTUtils::LocalizedStrings_NameTable::familyNameTypes));
182 bool SkOTUtils::LocalizedStrings_NameTable::next(SkTypeface::LocalizedString* localizedString) {
199 SkOTUtils::LocalizedStrings_NameTable::familyNameTypes[3] = {