[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66323] [mom]: groff HEAD produces invalid postscript (that also cr
From: |
Deri James |
Subject: |
[bug #66323] [mom]: groff HEAD produces invalid postscript (that also crashes pdfmom) |
Date: |
Sat, 12 Oct 2024 08:44:25 -0400 (EDT) |
Follow-up Comment #8, bug #66323 (group groff):
> Maybe I'll reconsider it when -Tpdf learns to lay out text as well as -Tps
| ps2pdf can (and when I figure out how to make it read the fonts I need), but
that's neither here nor there.
The "layout" difference you are seeing may be due to ghostscript embedding the
actual fonts in the pdf. You can tell groff to embed the fonts in the PDF by
including the flag -P-e in the command, the attached file bad-Pe.pdf was
created with:-
pdfmom -Kutf8 -P-e bad.mom > bad-Pe.pdf
(Including the changes to bad.mom outlined in comment #4 results in no
warnings). You can even go one step further and run:-
ps2pdfwr bad-Pe.pdf bad-Pe-gs.pdf
Which will produce a more compact pdf.
If this does not cure the "layout" differences you mention, I'd be very
grateful if you can point these issues out, since I am keen to make the gropdf
output as good as grops.
You might notice the following differences in -Tpdf output:-
* The ellipsis character can be safely used in .HEADING.
* Cyrillic characters in bookmarks and the text are accepted (if you use the
U- fonts provided with -Tpdf).
* The TOC is located after the title page, rather than appearing at the end.
* If you use a pdf viewer which shows page numbers in the bookmark panel, the
numbers match the page numbers on each page.
(file #56509)
_______________________________________________________
Additional Item Attachment:
File name: bad-Pe.pdf Size: 77KiB
<https://file.savannah.gnu.org/file/bad-Pe.pdf?file_id=56509>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-54b47d16bd4a9240ffe81a7d43c02b33c9b6b5a0.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66323>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #66323] groff HEAD mom produces invalid postscript (that also crashes pdfmom), anonymous, 2024/10/11
- [bug #66323] [mom]: groff HEAD produces invalid postscript (that also crashes pdfmom), Deri James, 2024/10/11
- [bug #66323] [mom]: groff HEAD produces invalid postscript (that also crashes pdfmom), anonymous, 2024/10/11
- [bug #66323] [mom]: groff HEAD produces invalid postscript (that also crashes pdfmom), Dave, 2024/10/11
- [bug #66323] [mom]: groff HEAD produces invalid postscript (that also crashes pdfmom), Peter Schaffter, 2024/10/11
- [bug #66323] [mom]: groff HEAD produces invalid postscript (that also crashes pdfmom),
Deri James <=
- [bug #66323] [mom]: groff HEAD produces invalid postscript (that also crashes pdfmom), G. Branden Robinson, 2024/10/12
- [bug #66323] grops should handle special character escape sequences in certain device control commands, G. Branden Robinson, 2024/10/12
- [bug #66323] grops should handle special character escape sequences in certain device control commands, anonymous, 2024/10/12
- [bug #66323] grops should handle special character escape sequences in certain device control commands, G. Branden Robinson, 2024/10/12
- [bug #66323] grops should handle special character escape sequences in certain device control commands, Dave, 2024/10/12
- [bug #66323] [mom] rendering differences between PostScript and PDF output?, G. Branden Robinson, 2024/10/14
- [bug #66323] [mom] rendering differences between PostScript and PDF output?, Deri James, 2024/10/14
- [bug #66323] [mom] rendering differences between PostScript and PDF output?, G. Branden Robinson, 2024/10/14
- [bug #66323] [mom] rendering differences between PostScript and PDF output?, Peter Schaffter, 2024/10/14
- [bug #66323] [mom] rendering differences between PostScript and PDF output?, Deri James, 2024/10/14