GNU bug report logs - #41282
doc: dot graphs display square glyphs instead of letters

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Fri, 15 May 2020 10:24:02 UTC

Severity: normal

Merged with 41418

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#41418: closed (Rendered graphs in manual have improperly
 rendered text)
Date: Wed, 20 May 2020 22:02:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 21 May 2020 00:00:39 +0200
with message-id <87eere9shk.fsf <at> devup.no>
and subject line Re: [PATCH] gnu: fontconfig: Add replacement with font-dejavu instead of gs-fonts.
has caused the debbugs.gnu.org bug report #41282,
regarding Rendered graphs in manual have improperly rendered text
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
41282: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41282
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Carlo Zancanaro <carlo <at> zancanaro.id.au>
To: bug-guix <at> gnu.org
Subject: Rendered graphs in manual have improperly rendered text
Date: Wed, 20 May 2020 23:11:17 +1000
I was looking at the manual for the guix graph command today, and 
I noticed that the text in the images isn't being rendered 
properly. Instead of legible characters, it's just boxes.

For example: 
https://guix.gnu.org/manual/en/html_node/Invoking-guix-graph.html#Invoking-guix-graph

I looked through all the images and it looks like only the graphs 
are affected (ie. the installer screenshots and guix size output 
looked fine), however all of the graphs are affected.


[Message part 3 (message/rfc822, inline)]
From: Marius Bakke <mbakke <at> fastmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: guix-devel <at> gnu.org
Subject: Re: [PATCH] gnu: fontconfig: Add replacement with font-dejavu instead
 of gs-fonts.
Date: Thu, 21 May 2020 00:00:39 +0200
[Message part 4 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:

> On Sun, May 17, 2020 at 04:50:12PM +0200, Marius Bakke wrote:
>> This is a hack to make (some) fonts working when users don't have fonts
>> specified in their system configuration, and (crucially) places where
>> the fontconfig cache may be unavailable such as 'guix pack's.
>> 
>> I'm not sure whether font-dejavu is a good replacement here.  Another
>> approach could be to convert gs-fonts to TrueType or OpenType format.
>> 
>> Thoughts?  I don't know much about fonts and would appreciate feedback.
>
> I think you should push right away, assuming that it helps and doesn't
> rebuild the world.

I pushed the patch as ab9de8cfb0525ef43668712ac898707f97f9a620.

I verified that it fixes the immediate problem with fonts in the Guix
manual (#41282) as well as 'guix pack' (#41344).  It should also provide
a decent fallback for cases where the user did not explicitly install
any fonts such as in #41241.

Hoping for angry reports now about why such a poor replacement font was
chosen.  ;-)
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.