Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Mar 2021 11:54:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254154] textproc/rubygem-asciidoctor-pdf: unable to create valid PDF
Message-ID:  <bug-254154-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254154

            Bug ID: 254154
           Summary: textproc/rubygem-asciidoctor-pdf: unable to create
                    valid PDF
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: kaltheat@gmail.com
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Hi,

I use

$ asciidoctor-pdf -V
Asciidoctor PDF 1.5.4 using Asciidoctor 2.0.12 [https://asciidoctor.org]
Runtime Environment (ruby 2.7.2p137 (2020-10-01 revision 5445e04352)
[amd64-freebsd12]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

on FreeBSD-12.2-RELEASE and it is not possible to generate a valid PDF.

Simple test.adoc:
=3D test

test

used command: $ asciidoctor-pdf test.adoc

Errors when viewing PDF:
"Error (968): Arg #0 to 'Tf' operator is wrong type (string)"
"Error (976): No font in show"
...

warnings when calling converter verbose
$ asciidoctor-pdf -w test.adoc
/usr/local/lib/ruby/gems/2.7/gems/prawn-2.2.2/lib/prawn/font/ttf.rb:117:
warning: instance variable @italic_angle not initialized
/usr/local/lib/ruby/gems/2.7/gems/prawn-2.2.2/lib/prawn/font/ttf.rb:117:
warning: instance variable @italic_angle not initialized


Please inform me on how to provide more useful information.

Kind regards,
kaltheat

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254154-7788>