In the implementation of WCFontImpl#getXHeight() it uses the height of "x" (or 56% of the ascent) to calculate the x height.
Why can't it use:
getFontStrike().getMetrics().getXHeight();
?
The implementation of getXHeight() uses, in the order:
1) x height information on the os_2 table
2) height of "x"
3) 60% of ascent
(note getFontStrike().getMetrics().getXHeight() is a positive value)
Why can't it use:
getFontStrike().getMetrics().getXHeight();
?
The implementation of getXHeight() uses, in the order:
1) x height information on the os_2 table
2) height of "x"
3) 60% of ascent
(note getFontStrike().getMetrics().getXHeight() is a positive value)