Lines Matching refs:vmtx
459 // Load vmtx then. This table is required for fonts that support vertical flow.
461 const OpenType::VmtxTable* vmtx = OpenType::validateTable<OpenType::VmtxTable>(buffer, countVmtxEntries);
462 if (!vmtx) {
463 WTF_LOG_ERROR("vhea exists but vmtx does not (or broken)");
468 m_advanceHeights[i] = vmtx->entries[i].advanceHeight;
470 // VORG is preferred way to calculate vertical origin than vmtx,
471 // so load topSideBearing from vmtx only if VORG is missing.
477 WTF_LOG_ERROR("vmtx has incorrect tsb count");
484 m_topSideBearings[i] = vmtx->entries[i].topSideBearing;
486 const OpenType::Int16* pTopSideBearingsExtra = reinterpret_cast<const OpenType::Int16*>(&vmtx->entries[countVmtxEntries]);
542 // If no VORG, try vmtx next.