Administrator
2681 posts
|
This feature is not yet supported. You can find an open issue with a discussion about it, as well as a link to a WIP.
Cheers,
-Dan
On Mon, Oct 16, 2017 at 2:38 PM Chris [via Asciidoctor :: Discussion] < [hidden email]> wrote:
Hi there,
how to format a word or line of text with a custom font using asciidoctor-pdf?
I aready added custom fonts to the default-theme.yml I'm using:
font:
catalog:
Roboto:
normal: roboto-normal.ttf
bold: roboto-bold.ttf
italic: roboto-italic.ttf
bold_italic: roboto-bolditalic.ttf
Roboto Light:
normal: roboto-light-normal.ttf
Roboto Medium:
normal: roboto-medium-normal.ttf
Now how can one format a word or text line with "Roboto Light" or "Roboto Medium" font? I tried the following but it doesn't work:
This is standard text and [Roboto Medium]#this is text formated with custom font#
How is it done correct? Could anyone please provide a short code example?
Regards,
Chris
--
|