GNU bug report logs - #57242
GNOME is missing default font (cantarell)

Previous Next

Package: guix;

Reported by: Christophe Pisteur <christophe.pisteur <at> fsfe.org>

Date: Tue, 16 Aug 2022 13:26:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57242 in the body.
You can then email your comments to 57242 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#57242; Package guix. (Tue, 16 Aug 2022 13:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christophe Pisteur <christophe.pisteur <at> fsfe.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 16 Aug 2022 13:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christophe Pisteur <christophe.pisteur <at> fsfe.org>
To: bug-guix <at> gnu.org
Cc: Luis Felipe <luis.felipe.la <at> protonmail.com>
Subject: GNOME is missing default font (cantarell)
Date: Tue, 16 Aug 2022 12:04:48 +0200
[Message part 1 (text/plain, inline)]
## Steps to reproduce

The following steps assume you are using Guix System with GNOME
desktop.

1. Boot with a 5.18 kernel
2. Connect with GDM / X11 to the Gnome desktop


## Expected result

+ The gnome desktop interface uses the default Cantarell font (as in
5.17 kernel)
+ Cantarell font is available in applications (for example LibreOffice)

## Unexpected result

+ the Cantarell, font which is the default font of the gnome desktop,
is not used in the Gnome interface
+ gnome-tweaks, which allows to select the interface font, does not
list the Cantarell font
+ Cantarell font is not proposed by LibreOffice 7.5.3 either

see: https://lists.gnu.org/archive/html/help-guix/2022-08/msg00110.html

## Workaround

Thank to https://luis-felipe.gitlab.io/:

1. guix install font-abattis-cantarell
2. fc-cache -rv
3. Reload GNOME Shell (press Alt+F2, type the letter r in the command
box, and press Enter)

see: https://lists.gnu.org/archive/html/help-guix/2022-08/msg00115.html


## System information

GNOME 40.4
GNU Guix 8337787
Guix system 64 bit / X11
Kernel 5.18.12, 5.18.14, 5.18.16
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#57242; Package guix. (Tue, 16 Aug 2022 13:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 57242 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>
To: Christophe Pisteur <christophe.pisteur <at> fsfe.org>, 57242 <at> debbugs.gnu.org
Cc: Luis Felipe <luis.felipe.la <at> protonmail.com>
Subject: Re: GNOME is missing default font (cantarell)
Date: Tue, 16 Aug 2022 15:54:09 +0200
Am Dienstag, dem 16.08.2022 um 12:04 +0200 schrieb Christophe Pisteur:
> ## Steps to reproduce
> 
> The following steps assume you are using Guix System with GNOME
> desktop.
> 
> 1. Boot with a 5.18 kernel
> 2. Connect with GDM / X11 to the Gnome desktop
> 
> 
> ## Expected result
> 
> + The gnome desktop interface uses the default Cantarell font (as in
> 5.17 kernel)
> + Cantarell font is available in applications (for example LibreOffice)
> 
> ## Unexpected result
> 
> + the Cantarell, font which is the default font of the gnome desktop,
> is not used in the Gnome interface
> + gnome-tweaks, which allows to select the interface font, does not
> list the Cantarell font
> + Cantarell font is not proposed by LibreOffice 7.5.3 either
> 
> see: https://lists.gnu.org/archive/html/help-guix/2022-08/msg00110.html
> 
> ## Workaround
> 
> Thank to https://luis-felipe.gitlab.io/:
> 
> 1. guix install font-abattis-cantarell
> 2. fc-cache -rv
> 3. Reload GNOME Shell (press Alt+F2, type the letter r in the command
> box, and press Enter)
Is the first step really needed?  Cantarell should already be part of
gnome-service-type.

In any case, troubles with fonts are to be expected under some
circumstances.  See `info "(guix)Application Setup"', particularly
paragraph 2.6.3 X11 Fonts.  Your issue also has probably little to do
with linux-libre but rather the fact that an update from pre-5.18 to
now brings in lots of package changes.  IIRC the great Cantarell break
was a rather recent event, though I'm not sure what caused it.

Cheers




Information forwarded to bug-guix <at> gnu.org:
bug#57242; Package guix. (Tue, 16 Aug 2022 17:55:02 GMT) Full text and rfc822 format available.

Message #11 received at 57242 <at> debbugs.gnu.org (full text, mbox):

From: Luis Felipe <luis.felipe.la <at> protonmail.com>
To: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>
Cc: Christophe Pisteur <christophe.pisteur <at> fsfe.org>, 57242 <at> debbugs.gnu.org
Subject: Re: GNOME is missing default font (cantarell)
Date: Tue, 16 Aug 2022 17:53:47 +0000
[Message part 1 (text/plain, inline)]
On Tuesday, August 16th, 2022 at 13:54, Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at> wrote:

> Am Dienstag, dem 16.08.2022 um 12:04 +0200 schrieb Christophe Pisteur:
> 

> > ## Steps to reproduce
> > 

> > The following steps assume you are using Guix System with GNOME
> > desktop.
> > 

> > 1. Boot with a 5.18 kernel
> > 2. Connect with GDM / X11 to the Gnome desktop
> > 

> > ## Expected result
> > 

> > + The gnome desktop interface uses the default Cantarell font (as in
> > 5.17 kernel)
> > + Cantarell font is available in applications (for example LibreOffice)
> > 

> > ## Unexpected result
> > 

> > + the Cantarell, font which is the default font of the gnome desktop,
> > is not used in the Gnome interface
> > + gnome-tweaks, which allows to select the interface font, does not
> > list the Cantarell font
> > + Cantarell font is not proposed by LibreOffice 7.5.3 either
> > 

> > see: https://lists.gnu.org/archive/html/help-guix/2022-08/msg00110.html
> > 

> > ## Workaround
> > 

> > Thank to https://luis-felipe.gitlab.io/:
> > 

> > 1. guix install font-abattis-cantarell
> > 2. fc-cache -rv
> > 3. Reload GNOME Shell (press Alt+F2, type the letter r in the command
> > box, and press Enter)
> 

> Is the first step really needed? Cantarell should already be part of
> gnome-service-type.

I just rolled back my profile to a generation previous to installing (1), performed (2) and (3) again, and the desktop is still using cantarell, so I it seems (1) is not needed after all.

> In any case, troubles with fonts are to be expected under some
> circumstances. See `info "(guix)Application Setup"', particularly
> paragraph 2.6.3 X11 Fonts. Your issue also has probably little to do
> with linux-libre but rather the fact that an update from pre-5.18 to
> now brings in lots of package changes. IIRC the great Cantarell break
> was a rather recent event, though I'm not sure what caused it.
[publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Fri, 19 Aug 2022 14:35:02 GMT) Full text and rfc822 format available.

Notification sent to Christophe Pisteur <christophe.pisteur <at> fsfe.org>:
bug acknowledged by developer. (Fri, 19 Aug 2022 14:35:02 GMT) Full text and rfc822 format available.

Message #16 received at 57242-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Luis Felipe <luis.felipe.la <at> protonmail.com>
Cc: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>,
 Christophe Pisteur <christophe.pisteur <at> fsfe.org>, 57242-done <at> debbugs.gnu.org
Subject: Re: bug#57242: GNOME is missing default font (cantarell)
Date: Fri, 19 Aug 2022 10:34:49 -0400
Hello,

Luis Felipe <luis.felipe.la <at> protonmail.com> writes:

> On Tuesday, August 16th, 2022 at 13:54, Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at> wrote:
>
>> Am Dienstag, dem 16.08.2022 um 12:04 +0200 schrieb Christophe Pisteur:
>> 

[...]

>> > ## Workaround
>> > 
>
>> > Thank to https://luis-felipe.gitlab.io/:
>> > 
>
>> > 1. guix install font-abattis-cantarell
>> > 2. fc-cache -rv
>> > 3. Reload GNOME Shell (press Alt+F2, type the letter r in the command
>> > box, and press Enter)
>> 
>
>> Is the first step really needed? Cantarell should already be part of
>> gnome-service-type.
>
> I just rolled back my profile to a generation previous to installing
> (1), performed (2) and (3) again, and the desktop is still using
> cantarell, so I it seems (1) is not needed after all.

>> In any case, troubles with fonts are to be expected under some
>> circumstances. See `info "(guix)Application Setup"', particularly
>> paragraph 2.6.3 X11 Fonts. Your issue also has probably little to do
>> with linux-libre but rather the fact that an update from pre-5.18 to
>> now brings in lots of package changes. IIRC the great Cantarell break
>> was a rather recent event, though I'm not sure what caused it.

As Liliana mentioned, there may occasionally some issues with stale font
cache, and the workaround is documented.  I'm not sure if this is the
fault of GDM or fonconfig itself, although I've never had to run the
command myself (not a GDM user), so perhaps the former.

If you manage to come up with a clear reproducer or pinpoint the exact
cause, do open a new issue.

Closing for now,

Thanks for the report!

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 17 Sep 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 276 days ago.

Previous Next


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