Re: Helvetica in `guix graph`

2020-10-21 Thread Ludovic Courtès
Hi,

Fulbert  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’.



Helvetica in `guix graph`

2020-09-30 Thread Fulbert
  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