Lines Matching defs:height
32 // unordered_map<familyName, ScaleParam>: compress <familyName> font height, shift font baseline.
34 // target baseline = baseline - height * font size * ScaleParam.baselineShiftScale.
59 // symbol: need to ensure "the symbol height = the font size".
60 // so the height compression is not enabled for symbol.
156 // calculate height with top and bottom.(includeFontPadding)
521 auto height = placeholderStyle->fHeight;
527 fFontMetrics.fAscent = baselineAdjustment - height - offset;
532 fFontMetrics.fAscent = baselineAdjustment - height;
538 fFontMetrics.fDescent = baselineAdjustment + height;
543 fFontMetrics.fDescent = height + fFontMetrics.fAscent;
548 fFontMetrics.fAscent = fFontMetrics.fDescent - height;
553 fFontMetrics.fDescent = mid + height / PARAM_TWO;
554 fFontMetrics.fAscent = mid - height / PARAM_TWO;