Copyright © tutorialspoint.com
All other options changes one of the parameters that is used to derive the heights and depths. Like the existing quantities in the font file, each value is in inches/res for a font whose point size is unitwidth. param must be one of:
Tag | Description |
---|---|
x-height | |
The height of lowercase letters without ascenders such as x. | |
fig-height | |
The height of figures (digits). | |
asc-height | |
The height of characters with ascenders, such as b, d or l. | |
body-height | |
The height of characters such as parentheses. | |
cap-height | |
The height of uppercase letters such as A. | |
comma-depth | |
The depth of a comma. | |
desc-depth | |
The depth of characters with descenders, such as p,q, or y. | |
body-depth | |
The depth of characters such as parentheses. |
Copyright © tutorialspoint.com