|
Hi, In documentation, I've seen that it's possible to set font sizes, with an array of integers. In source code, there is a "defaultFontSizePoints", that takes "px" or "pt". But how can I set the font size unit to "em" or "rem" ? |
Answered by
xdan
Jun 26, 2026
Replies: 1 comment
|
The fontsize control works in px (or pt if you set |
0 replies
Answer selected by
xdan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The fontsize control works in px (or pt if you set
defaultFontSizePoints: 'pt') — em/rem isn't a built-in unit option. If you need em/rem you'd apply it yourself: either a custom control that setsfont-sizewith your unit, or post-process the output. There's no config flag to switch the built-in fontsize list over to em/rem.