3 ms·
"I ... want to display them having the same size" is too vague to be useful. Do you mean having the same x-height (the main body of the lowercase letters, assu
by jfk13 6y ago
"I ... want to display them having the same size" is too vague to be useful.
Do you mean having the same x-height (the main body of the lowercase letters, assuming Latin script)? Or the same cap-height? Or the same ascender height? Or the same descender depth? Or the same character widths? Or a similar overall amount of "ink" in each character?
Yes, it's impossible without special-casing for each font, because there is no clear basis for making such an equivalence, given how designs differ.
- yoz-y 6y agoThe general case would be to have text written in the same paragraph align well. To me that encompasses same baseline, same x height, and in the case of mixing scripts same cap height (in case of CJK). Basically “do what I mean”. I understand that it’s hard, but it should be at least doable. If it would require being able to specify which height to consider, so be it, make it an option.
- mcguire 6y agoThis is why some fonts are designed to work together. Trying to force fonts that weren't is going to be ugly no matter what you do.