Modern No. 20 not usable for PDF export

0 votes
asked Dec 19, 2019 in Bug by Novalis15 (120 points)

i'm currently trying to use PlantUML with the font Modern No. 20 and export that to PDF, since that gave me the best looking result regarding LaTeX.

However, if i try to use Modern No. 20 as a font to get a similar looking font to LaTeX's Computer Modern, i get a CSSParseException: org.w3c.css.sac.CSSParseException: Unexpected Token: 7 (see LexicalUnits)

When trying to escape the dot with a backslash: "Modern No\. 20", I get a DOMException: org.w3c.dom.DOMException: The "font-family" property does not support integer values.

After Escaping the 20 aswell: "Modern No\. \2\0" i can see some changes in the vscode preview. However, after exporting to PDF, the font is being rendered in Arial.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.