unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* 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

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git