bug-groff
[Top][All Lists]
Advanced

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

[bug #66323] [gropdf] rendering differences between PostScript and PDF o


From: Deri James
Subject: [bug #66323] [gropdf] rendering differences between PostScript and PDF output?
Date: Tue, 15 Oct 2024 15:32:58 -0400 (EDT)

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

Hi наб,

I have created devps and devpdf fonts for the gsfonts you want to use, similar
to the gsfonts tar on your website, but including all 35 fonts, and for
devpdf. gsfonts-all.tgz contains two subdirectories, devpdf and devps, so, for
testing, I suggest you create a directory and unpack the archive there. Then
you can test with :-

pdfmom -Kutf8 -F. good.mom > good.pdf

And:-

pdfmom -Tps -Kutf8 -F. -P-pa4 good.mom > good-ps.pdf

Bad.mom will also work properly with the default pdf version.

If you are happy with the results you can then install the fonts in the usual
place. Please feel free to use the tar on your website.

You are likely to see differences in diffpdf because ghostscript is using the
fonts in the urw-base35 directory (as you confirmed below), but you wanted to
use the afm files from the gsfonts directory (because it looks better). This
means that the grops produced file is using the meta-data from fonts in
gsfonts but the actual glyph shapes from fonts in urw-base35. Where as the
gropdf produced pdfs will be using meta-data and font glyphs from the same
directory (gsfonts). Both types of pdf are using the same meta-data so kerning
should be identical, it is just the glyph shapes could be ever so slightly
different which would be caught as a pixel difference by diffpdf.

Cheers 

Deri


(file #56543)

    _______________________________________________________

Additional Item Attachment:

File name: gsfonts-all.tgz                Size: 702KiB
    <https://file.savannah.gnu.org/file/gsfonts-all.tgz?file_id=56543>


    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-269c9ff84ac4ff9e803fb261b7a8a23ab9610f67.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]