* Helvetica in `guix graph`
@ 2020-09-30 13:44 Fulbert
2020-10-21 21:56 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Fulbert @ 2020-09-30 13:44 UTC (permalink / raw)
To: help-guix
Hi Guixers,
When I pipe `guix graph hello | xdot -`, the characters are
displayed as squares. Got to insert
`… | sed "s/Helvetica/sans/g" | …` in the pipeline.
Not sure if this is a bug. Maybe my system should find a
substitute for "Helvetica" automatically ?
… or maybe line 241 of 'guix/graph.scm' needs a tiny correction ?
----
(format port " \"~a\" [label = \"~a\", shape = box, fontname = Helvetica];~%" id label))
----
Best regards,
Fulbert
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Helvetica in `guix graph`
2020-09-30 13:44 Helvetica in `guix graph` Fulbert
@ 2020-10-21 21:56 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-10-21 21:56 UTC (permalink / raw)
To: Fulbert; +Cc: help-guix
Hi,
Fulbert <fulbert@bluewin.ch> skribis:
> When I pipe `guix graph hello | xdot -`, the characters are
> displayed as squares. Got to insert
> `… | sed "s/Helvetica/sans/g" | …` in the pipeline.
>
> Not sure if this is a bug. Maybe my system should find a
> substitute for "Helvetica" automatically ?
It should definitely find a substitute automatically (Ghostscript knows
the replacements for the standard PostScript fonts).
Anyway, changing to “sans” as you suggest doesn’t hurt so I’ll make that
change.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-21 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-30 13:44 Helvetica in `guix graph` Fulbert
2020-10-21 21:56 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).