bugGNU roff - Bugs: bug #65094, [bjarnigroff] [gropdf] hdtbl,...

 
 

bug #65094: [bjarnigroff] [gropdf] hdtbl, picture "gnu.eps" missing in "mixed_pickles.pdf"

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Sat 30 Dec 2023 08:36:07 AM UTC
   
 
Category:  Driver gropdf Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  Invalid
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 11 Jan 2024 10:55:32 AM UTC, comment #2: 

This ticket does not report a problem with GNU groff.

The project does not attempt to build a file "mixed_pickles.pdf".

It does build "mixed_pickles.ps", a PostScript file.

As Deri explains in comment #1, one can't include Encapsulated PostScript in PDF files.

One can't just render a document for any old groff output device when that document depends on output device-specific extensions.

Resolving as invalid.

G. Branden Robinson <gbranden>
Group administrator
Sat 30 Dec 2023 05:47:45 PM UTC, comment #1: 

EPS files are not supported in pdf files, and gropdf only supports embedding pdf files (in the same way as grops only supports embedding eps files). There is a macro PDFPIC which does a similar job as PSPIC.

I changed the mixed-pickles.roff to this code:-

.            PDFPIC -I -\\n[.l]u penguin.pdf
.            sp .5
.            nop pdf image with \fI.PDFPIC\fP

And used this command:-

./test-groff -Tpdf -mhdtbl -U -I ../contrib/mom/examples/ ../contrib/hdtbl/examples/mixed_pickles.roff -pet

The result is attached.

(file #55491)

Deri James <deri>
Group Member
Sat 30 Dec 2023 08:36:07 AM UTC, original submission:  

Subject: gropdf: hdtbl, picture "gnu.eps" is now missing in
"mixed_pickles.pdf"

  cd contrib/hdtbl

  DOC_GNU_EPS=../../build/doc

  test-groff -Tpdf -mhdtbl -I $DOC_GNU_EPS examples/mixed_pickles.roff > <some file>

  OR run "make" after updating the "gropdf".

  "test-groff" with the patched gropdf.

  Instead of the picture "gnu.eps" there is text "gnu.eps".

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #55491:  mixed-pickles.pdf added by deri (21KiB - application/pdf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Updated the item)
  • -email is unavailable- added by deri (Updated the item)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-11 gbranden StatusNone Invalid
        Assigned toderi gbranden
        Open/ClosedOpen Closed
        Summarygropdf: hdtbl, picture &quot;gnu.eps&quot; is now missing in &quot;mixed_pickles.pdf&quot; [bjarnigroff] [gropdf] hdtbl, picture "gnu.eps" missing in "mixed_pickles.pdf"
    2023-12-31 gbranden Assigned toNone deri
    2023-12-30 deri Attached File- Added mixed-pickles.pdf, #55491

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code