asciidoctor-pdf with prawn-2.0.0 now broken

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

asciidoctor-pdf with prawn-2.0.0 now broken

wimalopaan
Yesterday I updated to prawn-2.0.0 and got the following error:

/home/lmeier/.gem/ruby/2.5.0/gems/prawn-icon-2.0.0/lib/prawn/icon/font_data.rb:70:in `path': Icon font not found for set: fa (Prawn::Errors::UnknownFont)

Any hints?

Thanks,
 Wilhelm
Reply | Threaded
Open this post in threaded view
|

Re: asciidoctor-pdf with prawn-2.0.0 now broken

mojavelinux
Administrator
You cannot yet use prawn-icon 2.x with Asciidoctor PDF. That gem apparently dropped support for the fa icon set for some reason (I haven't explore it yet). If you use the version of prawn-icon that is set by Asciidoctor PDF (1.4.0) you should not have this problem.

There's an open issue about the upgrade to prawn icon 2. See https://github.com/asciidoctor/asciidoctor-pdf/issues/891

-Dan

On Fri, Mar 9, 2018 at 4:07 AM, wimalopaan [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Yesterday I updated to prawn-2.0.0 and got the following error:

/home/lmeier/.gem/ruby/2.5.0/gems/prawn-icon-2.0.0/lib/prawn/icon/font_data.rb:70:in `path': Icon font not found for set: fa (Prawn::Errors::UnknownFont)

Any hints?

Thanks,
 Wilhelm


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/asciidoctor-pdf-with-prawn-2-0-0-now-broken-tp6211.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: asciidoctor-pdf with prawn-2.0.0 now broken

wimalopaan
Thanks: uninstalling prawn-2.0.0 solved the problem.