Login  Register

Re: asciidoctor-pdf with custom style: problem with fonts

Posted by mojavelinux on Jul 18, 2019; 11:44am
URL: https://discuss.asciidoctor.org/asciidoctor-pdf-with-custom-style-problem-with-fonts-tp6992p7005.html

You are hitting a known bug in beta.1. The beta.2 release is due out in a few days. Until then, you have found the right workaround. Nice job.

Cheers,

-Dan

On Thu, Jul 18, 2019, 04:30 Siegfried Kurz [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hello Dan,
I was nearly giving up, then I found out:

This works:
cat resources/themes/hit_OK-theme.yml
extends: default
base:
    font-color: 00FFFF
heading:
    font-color: 0066CC

This does NOT work:
cat resources/themes/hit_ERROR-theme.yml
extends: default
base:
    font-color: #00FFFF
heading:
    font-color: #0066CC

When You look at my posts above, I've used the version with the leading #-chars.
According to the documention,  #0066CC should be equivalent to 0066CC

asciidoctor-pdf -V
Asciidoctor PDF 1.5.0.beta.1 using Asciidoctor 2.0.10 [https://asciidoctor.org]
Runtime Environment (ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]) (lc:ISO-8859-15 fs:ISO-8859-15 in:ISO-8859-15 ex:ISO-8859-15)

best regards from germany
Siegfried




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/asciidoctor-pdf-with-custom-style-problem-with-fonts-tp6992p7000.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML