Searched refs:capHeight (Results 1 – 12 of 12) sorted by relevance
14 int capHeight; member
159 ret->capHeight=get_SHORT(os2+88)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()206 if (!ret->capHeight) { // TODO? only reqd. for fonts with latin... in emb_otf_get_pdf_fontdescr()207 ret->capHeight=ret->ascent; in emb_otf_get_pdf_fontdescr()
402 fdes->capHeight, in emb_pdf_simple_fontdescr()
717 uint16_t capHeight = SkEndian_SwapBE16(heights.sCapHeight); in generateFontMetrics() local718 if (capHeight && capHeight < maxSaneHeight) { in generateFontMetrics()719 metrics->fCapHeight = SkScalarFromCGFloat(capHeight * fontSize / upem); in generateFontMetrics()
498 info->fCapHeight = SkToS16(dwfm.capHeight); in onGetAdvancedMetrics()
811 metrics->fCapHeight = fTextSizeRender * SkIntToScalar(dwfm.capHeight) / upem; in generateFontMetrics()
144 SkScalar capHeight = 0; in GetMetrics() local149 capHeight += bounds.height(); in GetMetrics()151 metrics->fCapHeight = SkToS16(SkScalarRoundToInt(capHeight / 2)); in GetMetrics()
143 SkScalar capHeight = 0; in GetMetrics() local148 capHeight += bounds.height(); in GetMetrics()150 metrics->fCapHeight = SkToS16(SkScalarRoundToInt(capHeight / 2)); in GetMetrics()
1539 uint16_t capHeight = SkEndian_SwapBE16(heights.sCapHeight); in generateFontMetrics() local1540 if (capHeight && capHeight < maxSaneHeight) { in generateFontMetrics()1541 metrics->fCapHeight = CGToScalar(capHeight * fontSize / upem); in generateFontMetrics()
418 info->fCapHeight = SkToS16(dwfm.capHeight); in onGetAdvancedMetrics()
753 metrics->fCapHeight = fTextSizeRender * SkIntToScalar(dwfm.capHeight) / upem; in generateFontMetrics()
1851 capHeight?: number | string;