This article (Deep dive CSS: font metrics, line-height and vertical-align - Vincent De Oliveira) says we can determine a font type’s real px size by adding its ascender and descender and comparing this value with its em-square (UPM). For instance, in the example it gives, a font-type with 1100 ascender and 540 descender (its UPM is 1000) means when font-size is set to 100px it's actually 164px.
您还不需要添加它的x高度吗?
其次,有谁知道如何将几种字体导入fontforge,以便我可以解决这个问题?
非常感谢,
瑞安