Re: Confusing font error: (UnknownFont) is not a known font.
Posted by
mojavelinux on
Mar 04, 2021; 7:52pm
URL: https://discuss.asciidoctor.org/Re-Confusing-font-error-UnknownFont-is-not-a-known-font-tp8552p8559.html
> The right way of doing so would then be to define the light font in the catalog as normal style and use that?
That's correct. The PDF generator we use (Prawn) only understands two weights, normal and bold. If you want any other weight, you have to treat it as a different font.
So if you want your normal text to be light(er), you configure it to use a light font. The PDF generator doesn't care what you map the normal style too. It just sees it as any other font.
Best Regards,
-Dan
--