Login  Register

Re: Diagrams referenced by URL in PDF?

Posted by mojavelinux on Apr 21, 2016; 10:03pm
URL: https://discuss.asciidoctor.org/Diagrams-referenced-by-URL-in-PDF-tp4623p4634.html

We changed the name of the default fonts. A small migration is required. Please compare the font catalog of your custom theme with the default one. Note the font file names.

https://github.com/asciidoctor/asciidoctor-pdf/blob/master/data/themes/default-theme.yml

-Dan

On Thu, Apr 21, 2016 at 2:58 PM, wolandscat [via Asciidoctor :: Discussion] <[hidden email]> wrote:
That did occur to me about 1 minute after posting.... so with the update, I get this:

/usr/local/gems/ttfunk-1.4.0/lib/ttfunk.rb:34:in `verify_and_open': /usr/local/gems/asciidoctor-pdf-1.5.0.alpha.11/data/fonts/notoserif-regular-latin.ttf not found (ArgumentError)
        from /usr/local/gems/ttfunk-1.4.0/lib/ttfunk.rb:13:in `open'
        from /usr/local/gems/prawn-2.0.1/lib/prawn/font/ttf.rb:351:in `read_ttf_file'
        from /usr/local/gems/prawn-2.0.1/lib/prawn/font/ttf.rb:27:in `initialize'
        from /usr/local/gems/prawn-2.0.1/lib/prawn/font.rb:292:in `new'
        from /usr/local/gems/prawn-2.0.1/lib/prawn/font.rb:292:in `load'
        from /usr/local/gems/prawn-2.0.1/lib/prawn/font.rb:244:in `find_font'
        from /usr/local/gems/prawn-2.0.1/lib/prawn/font.rb:58:in `font'
        from /usr/local/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/prawn_ext/extensions.rb:185:in `font'
        from /usr/local/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:1525:in `layout_title_page'
        from /usr/local/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:143:in `convert_document'
        from /usr/local/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:96:in `convert'
        from /usr/local/gems/asciidoctor-1.5.4/lib/asciidoctor/document.rb:1044:in `convert'
        from /usr/local/gems/asciidoctor-1.5.4/lib/asciidoctor.rb:1503:in `convert'
        from /usr/local/gems/asciidoctor-1.5.4/lib/asciidoctor/cli/invoker.rb:94:in `block in invoke!'
        from /usr/local/gems/asciidoctor-1.5.4/lib/asciidoctor/cli/invoker.rb:86:in `each'
        from /usr/local/gems/asciidoctor-1.5.4/lib/asciidoctor/cli/invoker.rb:86:in `invoke!'
        from /usr/local/gems/asciidoctor-1.5.4/bin/asciidoctor:14:in `<top (required)>'
        from /home/Thomas/bin/asciidoctor:23:in `load'
        from /home/Thomas/bin/asciidoctor:23:in `<main>'

I suspect this means something like a current default font is no longer supported?

- thomas



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Diagrams-referenced-by-URL-in-PDF-tp4623p4633.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen