No. It means you cannot rely on the fonts that PDF provides (because they are deficient). You either have to reference the names of the fonts that ship with Asciidoctor PDF (as you see in the default theme) or you need to provide your own fonts. We're still lacking really good docs on how to do that, but it is at least mentioned in the theming guide.
To clarify, if you get the following message:
> The following text could not be fully converted to the Windows-1252 character set:
it means you're attempting to use the fonts that PDF provides (Helvetica, Courier, etc), which you should not do.
On Wed, Jun 22, 2016 at 1:57 AM, thierryler [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I'm not sure to understand ? Does it mean that I have to convert my docs from UTF8 to win1252 ?
If you reply to this email, your message will be added to the discussion below:
I 've copied default-theme.yml into my-theme.yml and I've donwloaded all the fonts from github.
Here is how I start the generation :
asciidoctor-pdf -b pdf -a pdf-style=resources/themes/my-theme.yml -a pdf-fontsdir=resources/fonts mydoc.adoc --trace
And I get the following error :
c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/prawn-2.1.0/lib/prawn/font/afm.rb:48:in `initialize': Noto Serif is not a known font. (Prawn::Errors::UnknownFont)
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/prawn-2.1.0/lib/prawn/font.rb:289:in `new'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/prawn-2.1.0/lib/prawn/font.rb:289:in `load'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/prawn-2.1.0/lib/prawn/font.rb:243:in `find_font'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/prawn-2.1.0/lib/prawn/font.rb:57:in `font'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/prawn_ext/extensions.rb:185:in `font'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:1525:in `layout_title_page'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:143:in `convert_document'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:96:in `convert'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/document.rb:1044:in `convert'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor.rb:1503:in `convert'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/cli/invoker.rb:94:in `block in invoke!'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/cli/invoker.rb:86:in `each'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/cli/invoker.rb:86:in `invoke!'
from c:/dev/rubies/Ruby23-x64/lib/ruby/gems/2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/bin/asciidoctor-pdf:31:in `<top (required)>'
from c:/dev/rubies/Ruby23-x64/bin/asciidoctor-pdf:23:in `load'
from c:/dev/rubies/Ruby23-x64/bin/asciidoctor-pdf:23:in `<main>'