Icecat doesn't display numbers on Guix System

  • Open
  • quality assurance status badge
Details
6 participants
  • Bengt Richter
  • Jesse Gibbons
  • Matias Jose Seco Baccanelli
  • Tobias Geerinckx-Rice
  • P
  • Jan
Owner
unassigned
Submitted by
Jan
Severity
normal
Merged with
J
(address . bug-guix@gnu.org)
20190908231011.239c57a0@kompiuter
Hi everyone,
I've recently installed Icecat on Guix System natively and it doesn't
display numbers properly - instead of numbers, there are transparent
squares without a black frame - they're just invisible globally, no
matter if on a website or in the browser's interface.
Tried changing font to GNU unifont (because it supports the whole
unicode), reinstalling Icecat (which shouldn't help anyway, because
Guix is reproducible, including bugs), guix pulling, system
reconfiguration, but nothing helps.
I have this issue only on Icecat, because ungoogled chromium and other
programs display numbers properly.

architecture: x86_64

I saw a similar bug in the database, but it's from 2017 and it was
about font issue on other distributions, not on Guix System, so I
submitted a new report, hope that's not a problem.

Jan Wielkiewicz
J
J
Jesse Gibbons wrote on 8 Sep 2019 23:20
f8e11abfa49824837afaed52fdfe366c11c8619a.camel@gmail.com
On Sun, 2019-09-08 at 23:10 +0200, Jan wrote:
Toggle quote (23 lines)
> Hi everyone,
> I've recently installed Icecat on Guix System natively and it doesn't
> display numbers properly - instead of numbers, there are transparent
> squares without a black frame - they're just invisible globally, no
> matter if on a website or in the browser's interface.
> Tried changing font to GNU unifont (because it supports the whole
> unicode), reinstalling Icecat (which shouldn't help anyway, because
> Guix is reproducible, including bugs), guix pulling, system
> reconfiguration, but nothing helps.
> I have this issue only on Icecat, because ungoogled chromium and
> other
> programs display numbers properly.
>
> architecture: x86_64
>
> I saw a similar bug in the database, but it's from 2017 and it was
> about font issue on other distributions, not on Guix System, so I
> submitted a new report, hope that's not a problem.
>
> Jan Wielkiewicz
>
>
>
I cannot replicate.
What commit did you notice this? (guix describe)
Are there any settings different from the default?
J
(name . Jesse Gibbons)(address . jgibbons2357@gmail.com)(address . 37345@debbugs.gnu.org)
20190909000330.0fb82b66@kompiuter
On Sun, 08 Sep 2019 15:20:12 -0600
Jesse Gibbons <jgibbons2357@gmail.com> wrote:

Toggle quote (2 lines)
> I cannot replicate.
> What commit did you notice this? (guix describe)
Since the beginning, not sure what commit (checked with 'guix system
list-generations'), that was:
"Generation 1 September 01 2019 01:15:51"
Probably a fresh Guix System installation from the ISO image from the
website.
Now I run the following commit:
ba7bd6c62ddaab4d5623fb149b47579e13a9e5f5
And the bug is still present

Toggle quote (1 lines)
> Are there any settings different from the default?
I did nothing special to Icecat, just installed a few add-ons: Umatrix,
Ublock Origin and "Dark Background and Light Text", these add-ons don't
cause any problems on Firefox for example, but removed the ".mozilla"
folder just to be sure, also I remember that displaying numbers hadn't
worked since the beginning, even before I installed the add-ons.

As for the system, here's my configuration file:

(use-modules (gnu))
(use-service-modules desktop networking ssh xorg)

(operating-system
(locale "pl_PL.utf8")
(timezone "Europe/Warsaw")
(keyboard-layout (keyboard-layout "pl" "legacy"))
(bootloader
(bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")
(keyboard-layout keyboard-layout)))
(swap-devices (list "/dev/sda3"))
(file-systems
(cons* (file-system
(mount-point "/home")
(device
(uuid "640b9945-4421-403a-93da-02768c28b29b"
'btrfs))
(type "btrfs"))
(file-system
(mount-point "/")
(device
(uuid "55c8dec3-4e68-4441-9d78-a9b55d9fc9bd"
'ext4))
(type "ext4"))
%base-file-systems))
(host-name "navi")
(users (cons* (user-account
(name "user")
(comment "User")
(group "users")
(home-directory "/home/user")
(supplementary-groups
'("wheel" "netdev" "audio" "video")))
%base-user-accounts))
(packages
(append
(map specification->package
'("i3-wm"
"nss-certs"
"icecat"
"ungoogled-chromium"
"libreoffice"
"mpv"
"gimp"
"emacs"
"emacs-paredit"
"emacs-auto-complete"
"gnupg"
"htop"))
%base-packages))
(services
(append
(list (service mate-desktop-service-type)
(service tor-service-type)
(extra-special-file "/usr/bin/env"
(file-append coreutils "/bin/env"))
(extra-special-file "/bin/bash"
(file-append coreutils "/bin/bash"))
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout))))
%desktop-services)))
J
(address . 37345@debbugs.gnu.org)
20190909001848.314252b6@kompiuter
Okay, I found some probably more helpful info - I run icecat in a
terminal and it throws the following warnings, don't know if they're
related to this bug though:

(icecat:4612): Gtk-WARNING **: 22:11:57.437: Theme parsing error:
<data>:1:34: Expected ')' in color definition

(icecat:4612): Gtk-WARNING **: 22:11:57.437: Theme parsing error:
<data>:1:77: Expected ')' in color definition 1567980717781
addons.webextension.tortm-browser-button@jeremybenthum
WARN Please specify whether you want browser_style or not in
your browser_action options. 1567980717784
addons.webextension.https-everywhere@eff.org WARN Please
specify whether you want browser_style or not in your browser_action
options.

(/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-guix1/lib/icecat/.icecat-real:4648):
Pango-WARNING **: 22:11:58.541: failed to create cairo scaled font,
expect ugly output. the offending font is 'Nimbus Sans L 9.9990234375'

(/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-guix1/lib/icecat/.icecat-real:4648):
Pango-WARNING **: 22:11:58.541: font_face status is: file not found

(/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-guix1/lib/icecat/.icecat-real:4648):
Pango-WARNING **: 22:11:58.541: scaled_font status is: file not found

(/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-guix1/lib/icecat/.icecat-real:4648):
Pango-WARNING **: 22:11:58.541: shaping failure, expect ugly output.
shape-engine='PangoFcShapeEngine', font='Nimbus Sans L 9.9990234375',
text=''

(/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-guix1/lib/icecat/.icecat-real:4648):
Pango-WARNING **: 22:11:58.546: failed to create cairo scaled font,
expect ugly output. the offending font is 'Nimbus Sans L 9.9990234375'

(/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-guix1/lib/icecat/.icecat-real:4648):
Pango-WARNING **: 22:11:58.546: font_face status is: file not found

(/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-guix1/lib/icecat/.icecat-real:4648):
Pango-WARNING **: 22:11:58.546: scaled_font status is: file not found

(/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-guix1/lib/icecat/.icecat-real:4648):
Gtk-WARNING **: 22:11:59.461: Could not load a pixbuf
from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg. This may
indicate that pixbuf loaders or the mime database could not be found.
JavaScript error: resource://activity-stream/lib/Screenshots.jsm, line
102: TypeError: cache is undefined JavaScript error:
resource://activity-stream/lib/Screenshots.jsm, line 102: TypeError:
cache is undefined JavaScript error:
resource://activity-stream/lib/Screenshots.jsm, line 102: TypeError:
cache is undefined JavaScript error:
resource://activity-stream/lib/Screenshots.jsm, line 102: TypeError:
cache is undefined JavaScript error:
resource://activity-stream/lib/Screenshots.jsm, line 102: TypeError:
cache is undefined

-----------------------

Jan Wielkiewicz
J
J
Jesse Gibbons wrote on 9 Sep 2019 03:05
99d83ab012caf852db2d7f0f5197ae6a40972207.camel@gmail.com
Hi Jan,
On Mon, 2019-09-09 at 00:18 +0200, Jan wrote:
Toggle quote (46 lines)
> Okay, I found some probably more helpful info - I run icecat in a
> terminal and it throws the following warnings, don't know if they're
> related to this bug though:
> ...
> (/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-
> guix1/lib/icecat/.icecat-real:4648):
> Pango-WARNING **: 22:11:58.541: failed to create cairo scaled font,
> expect ugly output. the offending font is 'Nimbus Sans L
> 9.9990234375'
>
> (/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-
> guix1/lib/icecat/.icecat-real:4648):
> Pango-WARNING **: 22:11:58.541: font_face status is: file not found
>
> (/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-
> guix1/lib/icecat/.icecat-real:4648):
> Pango-WARNING **: 22:11:58.541: scaled_font status is: file not found
>
> (/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-
> guix1/lib/icecat/.icecat-real:4648):
> Pango-WARNING **: 22:11:58.541: shaping failure, expect ugly output.
> shape-engine='PangoFcShapeEngine', font='Nimbus Sans L 9.9990234375',
> text=''
>
> (/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-
> guix1/lib/icecat/.icecat-real:4648):
> Pango-WARNING **: 22:11:58.546: failed to create cairo scaled font,
> expect ugly output. the offending font is 'Nimbus Sans L
> 9.9990234375'
>
> (/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-
> guix1/lib/icecat/.icecat-real:4648):
> Pango-WARNING **: 22:11:58.546: font_face status is: file not found
>
> (/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-
> guix1/lib/icecat/.icecat-real:4648):
> Pango-WARNING **: 22:11:58.546: scaled_font status is: file not found
>
>
> ...
> -----------------------
>
> Jan Wielkiewicz
>
>
>
Looks like it isn't finding the "Nimbus Sans L" font. Try running

fc-list | grep "Nimbus Sans L"

and reply with the output.
--
-Jesse
B
B
Bengt Richter wrote on 9 Sep 2019 12:02
(name . Jesse Gibbons)(address . jgibbons2357@gmail.com)
20190909100213.GB5717@PhantoNv4ArchGx.localdomain
On +2019-09-08 19:05:22 -0600, Jesse Gibbons wrote:
Toggle quote (13 lines)
> Hi Jan,
> On Mon, 2019-09-09 at 00:18 +0200, Jan wrote:
> > Okay, I found some probably more helpful info - I run icecat in a
> > terminal and it throws the following warnings, don't know if they're
> > related to this bug though:
> > ...
> > (/gnu/store/8pjdh78z3j2issz78yjmf94k3hlkrb5f-icecat-60.9.0-
> > guix1/lib/icecat/.icecat-real:4648):
> > Pango-WARNING **: 22:11:58.541: failed to create cairo scaled font,
> > expect ugly output. the offending font is 'Nimbus Sans L
> > 9.9990234375'
> >

I got this too when I first installed icecat.
I am not sure why, but I got no readable presentation
from icecat until I had done
guix install font-dejavu

The steps prior to that, and after were:

guix package -i nss-certs
guix upgrade icecat
guix install fontconfig
guix install libxfont
guix install font-dejavu -->> and that gave icecat font
guix install moka-icon-theme
guix install hicolor-icon-theme
guix install less

libxfont notably did nothing for me, but idk if fontconfig
was either interfered or did something good.

You might consider installing font-dejavu

After getting a usable display, there was another error produced by
an add-on, which I was able to disable from the menu at the top right.
Sorry not to remember details on that.

I generally dislike add-ons or anything else that comes preconfigured
to do any action without my consent. R_my_F, icecat ;-/

Jesse's fc-list suggestion indicates that the Nimbus fonts ought to
come in by
guix install gs-fonts

maybe that would work as well as or better than
guix install font-dejavu

Idk :)

HTH

[...]
Toggle quote (14 lines)
> >
> > Jan Wielkiewicz
> >
> >
> >
> Looks like it isn't finding the "Nimbus Sans L" font. Try running
>
> fc-list | grep "Nimbus Sans L"
>
> and reply with the output.
> --
> -Jesse
>

Regards,
Bengt Richter
J
(name . Jesse Gibbons)(address . jgibbons2357@gmail.com)(address . 37345@debbugs.gnu.org)
20190909150206.1733865e@interia.pl
Toggle quote (6 lines)
> Looks like it isn't finding the "Nimbus Sans L" font. Try running
>
> fc-list | grep "Nimbus Sans L"
>
> and reply with the output.

Here is the output

/gnu/store/ag8ilfwcnxn0xnw8bar9ia73h3hg3rra-gs-fonts-8.11/share/fonts/type1/ghostscript/n019004l.pfb:
Nimbus Sans
L:style=Bold /gnu/store/ag8ilfwcnxn0xnw8bar9ia73h3hg3rra-gs-fonts-8.11/share/fonts/type1/ghostscript/n019064l.pfb:
Nimbus Sans L:style=Bold Condensed
Italic /gnu/store/ag8ilfwcnxn0xnw8bar9ia73h3hg3rra-gs-fonts-8.11/share/fonts/type1/ghostscript/n019003l.pfb:
Nimbus Sans
L:style=Regular /gnu/store/ag8ilfwcnxn0xnw8bar9ia73h3hg3rra-gs-fonts-8.11/share/fonts/type1/ghostscript/n019044l.pfb:
Nimbus Sans L:style=Bold
Condensed /gnu/store/ag8ilfwcnxn0xnw8bar9ia73h3hg3rra-gs-fonts-8.11/share/fonts/type1/ghostscript/n019043l.pfb:
Nimbus Sans L:style=Regular
Condensed /gnu/store/ag8ilfwcnxn0xnw8bar9ia73h3hg3rra-gs-fonts-8.11/share/fonts/type1/ghostscript/n019063l.pfb:
Nimbus Sans L:style=Regular Condensed
Italic /gnu/store/ag8ilfwcnxn0xnw8bar9ia73h3hg3rra-gs-fonts-8.11/share/fonts/type1/ghostscript/n019023l.pfb:
Nimbus Sans L:style=Regular
Italic /gnu/store/ag8ilfwcnxn0xnw8bar9ia73h3hg3rra-gs-fonts-8.11/share/fonts/type1/ghostscript/n019024l.pfb:
Nimbus Sans L:style=Bold Italic


Jan
J
(name . Bengt Richter)(address . bokr@bokr.com)
20190909151512.166fc248@interia.pl
Toggle quote (4 lines)
> I got this too when I first installed icecat.
> I am not sure why, but I got no readable presentation
> from icecat until I had done
> guix install font-dejavu
This one helps, thanks a lot!
Toggle quote (8 lines)
> Jesse's fc-list suggestion indicates that the Nimbus fonts ought to
> come in by
> guix install gs-fonts
>
> maybe that would work as well as or better than
> guix install font-dejavu
>
> Idk :)
This doesn't help.

Anyway shouldn't the font-dejavu package be a dependency of Icecat then?


Jan Wielkiewicz
P
(name . Jan)(address . tona_kosmicznego_smiecia@interia.pl)
5n1nr_3UJLRjxoHW7V6r0H2jpfSYUzp18NW555swx2ACQ3GrCfMDw4lG_XwncrNmXjXuJb1srjsVOztulw4hKuxgy17URjb7wh-IdzuH0iQ=@protonmail.com
??????? Original Message ???????
On Monday, September 9, 2019 1:15 PM, Jan <tona_kosmicznego_smiecia@interia.pl> wrote:

Toggle quote (20 lines)
> > I got this too when I first installed icecat.
> > I am not sure why, but I got no readable presentation
> > from icecat until I had done
> > guix install font-dejavu
>
> This one helps, thanks a lot!
>
> > Jesse's fc-list suggestion indicates that the Nimbus fonts ought to
> > come in by
> > guix install gs-fonts
> > maybe that would work as well as or better than
> > guix install font-dejavu
> > Idk :)
>
> This doesn't help.
>
> Anyway shouldn't the font-dejavu package be a dependency of Icecat then?
>
> Jan Wielkiewicz

Didn't the older bug report's thread mention something about having to manually rebuild some kinda font database or cache? I remember trying that and that fixed it for me.
M
M
Matias Jose Seco Baccanelli wrote on 31 Oct 2019 10:00
bug#37345: Icecat doesn't display numbers on Guix System
(address . 37345@debbugs.gnu.org)
20191031090015.4c2ddd3e.matias_jose_seco@autoproduzioni.net
Hello!
I confirm that installing font-dejavu also fixed the issue for me.
Wondering if the problem arises on any system configuration setup or
if it might be influenced by, for example, the locale; which mine is
(locale "it_IT.utf8").

Blisfully,
Matias
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETBXEV8HvexSq/UenrozJ05ms3x8FAl26op8ACgkQrozJ05ms
3x/8QA//Q5W1NUBLSkzzqve0C+GFOyE/Y6ULepbD32GKAcgf9TzxsYj4KbadUGPw
a/B/er+Tvo3qkvf5wGrckBSE0zNysI+5RL887nJ1JOsKw2WpP00YrREDwWk9WHtQ
Y9GDN5dZZiN/uDS1D+iCPGJJsz9xPEi9J//bZQOrcllVVYqo9JV402H+9hnooHbn
R1SZTaMUy4bI73tbBCSHamKHpqgSH8ySqSYjFbNB9lfOKsmd78rMUHKnLa+kluFt
Zo3L7GFEtzKjBcYGNJjMfYeOlbnkcPCdx4bv7kq98v/bFTme8jhZhU+LzTcxUwfX
lvJFbb/hSCa7pQUNVCwoQEFLRzdPZAvEvA7shw9h70kjH3CmKmyVDakG6xcvJ1Vt
wlHKgopAKI+/O52UWQSrt9b0A8R+sP4lY9P8hmIy99mCjSo17DQyzYc6i6olVInk
B44n9ttGjXnabPTn2mxFg5BXq3cP6xiNQaTqlXRTns3OUwtphFAH+AXtsXZrt7vv
CREuZ+x/ouaaBoVJcaPzknK/zdPF7QQdRE1exeRPybTdIP+f9GZeFWSDH3arC+m3
7qqkMkUK7O9hogGqrpXk5RSWiSwpxOvfuVv0TT7mMcEqmoUB4Z6LPKe1/2Vu0jmK
BR9qujDWcm37BqRg6XExBlMC4HnuBzHzCCLWKmXRQoHwfYJ6Jhs=
=a/JA
-----END PGP SIGNATURE-----


J
J
Jesse Gibbons wrote on 1 Nov 2019 18:42
756beac1d7f6d208015eff68292dc20d1dc98726.camel@gmail.com
On Thu, 2019-10-31 at 10:00 +0100, Matias Jose Seco Baccanelli wrote:
Toggle quote (8 lines)
> Hello!
> I confirm that installing font-dejavu also fixed the issue for me.
> Wondering if the problem arises on any system configuration setup or
> if it might be influenced by, for example, the locale; which mine is
> (locale "it_IT.utf8").
>
> Blisfully,
> Matias
My locale is en_US and I have had general font problems for multiple
applications, including gimp, gourmet, and icecat, so I do not think it is
necessarily related to the locale. I think a lot of it is user-level
configuration. When I use gnome tweaks to change the fonts, I find that some
fonts work as expected, but some do not. In particular, I notice that if I
remove a font, it is not removed from the list of fonts I can select.
Perhaps there's a local database of available fonts that isn't modified when
a font is uninstalled with guix?
T
T
Tobias Geerinckx-Rice wrote on 10 Jan 2020 19:06
(no subject)
(name . GNU bug tracker automated control server)(address . control@debbugs.gnu.org)
877e1zchjm.fsf@nckx
merge 39073 37345
?