bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64114] [pdfpic] when falling back to EPS, should create file in te


From: G. Branden Robinson
Subject: [bug #64114] [pdfpic] when falling back to EPS, should create file in temporary directory, but doesn't
Date: Wed, 26 Apr 2023 06:51:20 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64114>

                 Summary: [pdfpic] when falling back to EPS, should create
file in temporary directory, but doesn't
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Wed 26 Apr 2023 10:51:18 AM UTC
                Category: Macro - others/general
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 26 Apr 2023 10:51:18 AM UTC By: G. Branden Robinson <gbranden>
Affects groff 1.22.4.


$ cat peng.ms 
.LP
Here is a picture of a penguin.
.PDFPIC unwritable/penguin.pdf
$ ls -dl unwritable
dr-x------ 2 branden branden 4096 Apr 26 05:42 unwritable
$ ls unwritable/
penguin.pdf
$ groff -U -ms peng.ms >| peng.ps
I/O Error: Couldn't open PostScript file 'unwritable/penguin.eps'
troff: peng.ms:3: can't open 'unwritable/penguin.eps': No such file or
directory


Switching to the 'pdf' device...


$ groff -U -ms -Tpdf peng.ms >| peng.pdf
$ echo $?
0


This is because a temporary directory was correctly used for construction of
the file that was sourced to read the image dimensions.  See bug #64061 for
more on that process than you ever wanted to know.

The program anonymously complaining of an I/O error would appear to be pdf2ps.
 From poppler-utils--try to contain your surprise.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64114>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]