How to define the custom fonts-directory?
Posted by sroth on Aug 28, 2019; 6:00am
URL: https://discuss.asciidoctor.org/How-to-define-the-custom-fonts-directory-tp7118.html
What is the right syntax?
By using the same syntax as for themes i got this errors:
C:\asciidoctor>asciidoctor-pdf -a pdf-theme
=themes\phlow-theme.yml pdf-fontsdir=fonts basic-example.adoc
asciidoctor: FAILED: input file pdf-fontsdir=fonts is missing
C:\asciidoctor>asciidoctor-pdf -a pdf-theme
=themes\phlow-theme.yml pdf-fontsdir=fonts\ basic-example.adoc
asciidoctor: FAILED: input file pdf-fontsdir=fonts/ is missing
C:\asciidoctor>dir
Datenträger in Laufwerk C: ist OS
Volumeseriennummer: 5D0A-8D00
Verzeichnis von C:\asciidoctor
27.08.2019 16:04 <DIR> .
27.08.2019 16:04 <DIR> ..
27.08.2019 15:23 790 basic-example.adoc
27.08.2019 16:01 12.718 basic-example.pdf
27.08.2019 16:04 <DIR> fonts
27.08.2019 08:49 <DIR> images
27.08.2019 15:22 4.067 test.adoc
27.08.2019 15:39 0 test.txt
27.08.2019 16:02 <DIR> themes
4 Datei(en), 17.575 Bytes
5 Verzeichnis(se), 8.283.594.752 Bytes frei
C:\asciidoctor>dir fonts
Datenträger in Laufwerk C: ist OS
Volumeseriennummer: 5D0A-8D00
Verzeichnis von C:\asciidoctor\fonts
27.08.2019 16:04 <DIR> .
27.08.2019 16:04 <DIR> ..
02.02.2011 00:00 104.120 OpenSans-Bold.ttf
02.02.2011 00:00 92.628 OpenSans-BoldItalic.ttf
02.02.2011 00:00 102.076 OpenSans-ExtraBold.ttf
02.02.2011 00:00 92.772 OpenSans-ExtraBoldItalic.ttf
02.02.2011 00:00 101.696 OpenSans-Light.ttf
02.02.2011 00:00 92.488 OpenSans-LightItalic.ttf
02.02.2011 00:00 96.932 OpenSans-Regular.ttf
02.02.2011 00:00 92.240 OpenSans-RegularItalic.ttf
02.02.2011 00:00 100.820 OpenSans-SemiBold.ttf
02.02.2011 00:00 92.180 OpenSans-SemiBoldItalic.ttf
10 Datei(en), 967.952 Bytes
2 Verzeichnis(se), 8.283.459.584 Bytes frei