Hi Erik,

At 2025-07-01T03:22:45+0000, dvalin--- via GNU roff typesetting system
discussion wrote:
> $ groff --version
> 
> GNU groff version 1.23.0
> 
> $ echo .pfp | groff -T ps
> 
> $
> 
> So no fonts installed, I guess.

Unlikely.  Your input created and interpolated executed an empty macro
named "pfp".

With the "-ww" option, you'd have gotten a hint.

$ echo .pfp | ~/groff-1.23.0/bin/groff -ww -Tps
troff:<standard input>:1: warning: macro 'pfp' not defined

The `pfp` request is a very recently implemented feature that exists
only in the Git trunk.

commit 106ceff3926d262ce6fb63c67ac90de3519dc567
Author: G. Branden Robinson <g.branden.robin...@gmail.com>
Date:   Wed Jun 4 09:07:15 2025 -0500

    [troff]: Implement new `pfp` request.

    * src/roff/troff/node.cpp (dump_font_mounting_positions_request): Add.

      (init_node_requests): Wire up `pfp` request name to
      `dump_font_mounting_positions_request()`.

    * doc/groff.texi.in (Selecting Fonts, Debugging):
    * man/groff.7.man (Request short reference, Debugging):
    * man/groff_diff.7.man (New requests, Debugging):
    * NEWS: Document it.

On Debian-based systems, installing the `gsfonts` package will give you
the PostScript font files supplying its standard font repertoire.
Because PostScript was designed not to require embedding of the standard
fonts in documents, groff can produce PostScript fonts without them
installed.

So, even with no font files installed, I'd still expect GNU troff to
read the output device's "DESC" file and mount whatever font
_descriptions_ it instructs.

$ echo .pfp | troff -R
1       R
2       I
3       B
4       BI
5       TR      TR      Times-Roman
10      SS      SS      Symbol-Slanted
11      S       S       Symbol
12      ZD      ZD      ZapfDingbats
13      ZDR     ZDR     ZapfDingbats-Reverse
$ troff --version
GNU troff (groff) version 1.23.0.3458-07848

> $ fc-list | wc -l
> 
> 461
> 
> Now, if there is information somewhere on whether these might be
> "installed" by an as-yet unelucidated means, I could get up on the
> horse - or it'd at least help me catch the beast's tail. (Googling has
> yet to yield a descriptive document.)

It's an area that needs work.  In the meantime, there's Peter
Schaffter's "install-font.sh" script.

https://www.schaffter.ca/mom/mom-05.html#install-font

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to