bug-groff
[Top][All Lists]
Advanced

[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: Fri, 11 Oct 2024 19:19:55 -0400 (EDT)

Follow-up Comment #4, bug #66323 (group groff):

Using -T ps with pdfmom results in a call to pdfroff with the extra parameters
"-mom -mpdfmark --no-toc". This can be verified by running:-

pdfroff -Tps -mom -mpdfmark -Kutf8 bad.mom > bad.pdf

And receive the same results. The author of the pdfmark macro and pdfroff no
longer contributes to groff but keeps development here:-

https://osdn.net/users/keith/pf/groff-pdfmark/scm/

If you remove the -mpdfmark flag it no longer crashes but the resultant pdf
has no pdf features, it is the same as producing postscript and distilling to
a pdf.

However, you may prefer to use pdfmom without the -T ps flag so that it uses
groff's native pdf output. The attached file is the pdf produced using the
current git HEAD and a few minor changes to bad mom to use a font with
cyrillic glyphs) and remove a .bp command on line 168:-

.AUTHOR    "\f[U-TR]\v'-.5v'\*[UP 8p]наб, seb, rCs\fP"

...

.FAM      U-T

The U-T fonts are the same as the T fonts (Times-Roman) but with a greater
glyph coverage.

If you compile from git please ensure configure finds the URW fonts on your
system (these are the U- fonts).

(file #56507)

    _______________________________________________________

Additional Item Attachment:

File name: bad.pdf                        Size: 62KiB
    <https://file.savannah.gnu.org/file/bad.pdf?file_id=56507>


    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/

Attachment: signature.asc
Description: PGP signature


reply via email to

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