groff-commit
[Top][All Lists]
Advanced

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

Re: [groff] 01/05: [gropdf]: Skip a test if gs unavailable.


From: Deri
Subject: Re: [groff] 01/05: [gropdf]: Skip a test if gs unavailable.
Date: Tue, 14 Feb 2023 00:06:19 +0000

On Monday, 13 February 2023 19:15:28 GMT G. Branden Robinson wrote:
> gbranden pushed a commit to branch master
> in repository groff.
> 
> commit 2ff76bc40468394c7aed3e0209880cd2c490c961
> Author: G. Branden Robinson <g.branden.robinson@gmail.com>
> AuthorDate: Mon Feb 13 11:09:25 2023 -0600
> 
>     [gropdf]: Skip a test if gs unavailable.
> 
>     * font/devpdf/tests/basic-fonts-present.sh: Skip test if 'gs' command
>       not available.  The test is to ensure that gropdf will produce sound
>       documents using the base fonts from PostScript, but since gropdf
>       requires Ghostscript to do this (as noted in our "./configure"
>       messages), it makes no sense to validate font availability if the
>       program is absent.  Resolves test failure seen on macOS with minimal
>       dependencies installed.
> 

Hi Branden,

I don't think this is accurate. I believe that if either ghostscript or URW 
fonts are present you will have all fonts for pdfs. So if ghostscript not 
available but URW fonts are then you will still have the default and U 
foundries.

If neither is available you still end up with a working gropdf but only the 
base 14 fonts are available and you can't produce pdfs with embedded fonts. 
This can be seen when Bruno listed the contents of his font/devpdf directory.

So this, and the configure message, imply that ghostscript is required, but 
this is not true. With both font sources missing, it is true that some of the 
pdf documentation in groff may be missing, but only those which use fonts 
other than the base-14.

What is your understanding?

Cheers 

Deri






reply via email to

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