That means the Catamaran font uses 1100 + 540 units in a 1000 units em-square, which gives a height of 164px when setting font-size: 100px. We also note that Capital Height is 680 and X height is 485. After running some tests, it seems that browsers use the HHead Ascent/ Descent values on Mac OS, and Win Ascent/ Descent values on Windows (these values may differ!). the ascender is 1100 and the descender is 540.Let’s take the Catamaran font and open it in FontForge to get metrics: in the browser, relative units are scaled to fit the desired font-size.Note that some values can bleed outside of the em-square. based on its relative units, metrics of the fonts are set (ascender, descender, capital height, x-height, etc.). But it can also be 1024, 2048 or anything else. This square uses relative units and is generally set at 1000 units.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |