[DRE-maint] Bug#1155104: ruby-prawn-svg: 1.0.0 breaks ruby-asciidoctor-pdf (undefined method font_path)

Luca Toniolo luca at aitalmac.com
Tue Nov 24 08:08:27 GMT 2026


Package: ruby-prawn-svg
Version: 1.0.0-2
Severity: serious
Control: affects -1 ruby-asciidoctor-pdf

Hello,

Since ruby-prawn-svg 1.0.0 reached unstable, asciidoctor-pdf fails on 
every document. ruby-asciidoctor-pdf 2.3.24-5 calls 
Prawn::SVG::Interface.font_path at load time 
(lib/asciidoctor/pdf/ext/prawn-svg.rb, line 12), and 1.0.0 no longer has it:

/usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext/prawn-svg.rb:12:in `<top 
(required)>': undefined method `font_path' for class 
Prawn::SVG::Interface (NoMethodError)

Upstream asciidoctor-pdf supports prawn-svg up to 0.40.x (it moved to 
0.40.x on 2026-10-15), so it has no fix for 1.0.0 yet. The autopkgtest 
regression of ruby-asciidoctor-pdf that blocks migration looks like the 
same problem.

Steps to reproduce, in a debian:sid container:

   apt-get install asciidoctor-pdf
   printf '= Test\n\nHello.\n' > test.adoc
   asciidoctor -r asciidoctor-pdf -b pdf test.adoc

I hit it in the LinuxCNC CI, which builds the PDF documentation in 
debian:sid on every pull request. Package versions there: ruby-prawn-svg 
1.0.0-2, ruby-prawn 2.5.0+dfsg-1, ruby-asciidoctor-pdf 2.3.24-5, 
ruby-asciidoctor 2.0.26-2.

Keeping 0.40.x in unstable, or a Breaks: ruby-asciidoctor-pdf (<< fixed 
version) with a patched ruby-asciidoctor-pdf, would solve it for us.

Thanks,
Luca Toniolo



More information about the Pkg-ruby-extras-maintainers mailing list