Icecat is missing fonts

OpenSubmitted by swedebugia.
Details
5 participants
  • Adonay Felipe Nogueira
  • Tobias Geerinckx-Rice
  • Ricardo Wurmus
  • swedebugia
  • Tadeus Prastowo
Owner
unassigned
Severity
normal
Merged with
S
S
swedebugia wrote on 6 Jan 2019 11:31
(address . bug-guix@gnu.org)
334471577609b28e255decc46d0cd7f5@riseup.net
Hi

After installing Icecat on guixsd v0.16 and starting it it shows only
squares instead of text and pango warns "missing font nimbus ..."

I think we should add font-gnu-freefont-ttf to the input of icecat to
fix this to make it work out of the box.

If on a foreign distribution guix should of course also notice if the
correct XDG-env variables are missing when installing icecat and hint.

--
Cheers
Swedebugia
A
A
Adonay Felipe Nogueira wrote on 6 Jan 2019 19:17
(address . 33996@debbugs.gnu.org)
5ec778ed-10a2-c8e8-95f3-1dcf956c99d2@hyperbola.info
Em 06/01/2019 08:31, swedebugia@riseup.net escreveu:
Toggle quote (3 lines)
> After installing Icecat on guixsd v0.16 and starting it it shows only
> squares instead of text and pango warns "missing font nimbus ..."

This behavior seems similar to what I experience while using Guix in
Trisquel 8.0
Flidas. The problem doesn't cause squares to appear, it actually causes
the last text font that fontconfig advertises to IceCat, to be selected.

I don't know how fontconfig selects these fonts, but I noticed that you
can test this by placing some font in "~/.local/share/fonts" and running
`fc-cache -vf'. IceCat should pick that font. You might need to try with
different fonts, as IceCat seems to expect from fontconfig that it
selects fonts with specific properties.
Attachment: signature.asc
R
R
Ricardo Wurmus wrote on 4 Feb 2019 14:21
(address . control@debbugs.gnu.org)
87lg2vheoc.fsf@elephly.net
merge 33996 32835
thanks

This is a duplicate of 32835. Let’s continue the discussion there.

--
Ricardo
T
T
Tadeus Prastowo wrote on 23 Mar 2019 01:00
(address . 33996@debbugs.gnu.org)
CAN-HRFYgt6Wfg5mw88162DunFi02sOS2GZk796P33DBf0tdHuA@mail.gmail.com
I just downloaded v0.16 and installed it on the bare hardware using
the minimal desktop configuration (the one whose example includes
`ratpoison').

After `guix package -i icecat', running it will show boxes as reported
by the OP. I confirm that OP's solution of `guix package -i
font-gnu-freefont-ttf' fixes this problem. Can't this be fixed at its
root, please? It has been two months.

Thank you.

--
Best regards,
Tadeus
S
S
swedebugia wrote on 24 Mar 2019 20:50
(address . bug-guix@gnu.org)
8d4fff83-54d2-7970-d84b-9ee177d1a157@riseup.net
On 2019-03-23 01:00, Tadeus Prastowo wrote:
Toggle quote (9 lines)
> I just downloaded v0.16 and installed it on the bare hardware using
> the minimal desktop configuration (the one whose example includes
> `ratpoison').
>
> After `guix package -i icecat', running it will show boxes as reported
> by the OP. I confirm that OP's solution of `guix package -i
> font-gnu-freefont-ttf' fixes this problem. Can't this be fixed at its
> root, please? It has been two months.

This is definitely not hard :)

Would you like to submit a patch with font-gnu-freefont-ttf as input (or
maybe propagated input?) to icecat?

I did not do it for various reasons one being that testing the patch
requires building icecat.

--
Cheers
Swedebugia
R
R
Ricardo Wurmus wrote on 25 Mar 2019 09:46
(name . swedebugia)(address . swedebugia@riseup.net)(address . 33996@debbugs.gnu.org)
87lg135ojm.fsf@elephly.net
swedebugia <swedebugia@riseup.net> writes:

Toggle quote (3 lines)
> Would you like to submit a patch with font-gnu-freefont-ttf as input
> (or maybe propagated input?) to icecat?

Let’s not rush to conclusions. We usually don’t add fonts to inputs
unless they are required at build time.

As far as I’m aware of the problem was that XDG environment variables
were not set (or the executables were not sufficiently wrapped). Has
this been confirmed yet?

Users should be free to pick whatever font they want – or choose to not
install any additional fonts.

--
Ricardo
T
T
Tobias Geerinckx-Rice wrote on 10 Feb 2020 11:07
(no subject)
(name . GNU bug tracker automated control server)(address . control@debbugs.gnu.org)
87blq621sb.fsf@nckx
merge 39538 32835
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl5BK3QACgkQ2Imw8BjF
STzU3RAAse4szXgkMbVko3nAzd4GKrU7tMtu3Km25gAwdAjuOyVp7oip5pXaXXPK
ArOTMbhitjqWMkJ1n+sFRsxeX8IwmRnjdk7EXjuTaZNvYZq6ft+oir1ebVaMbiNY
Wy2btBt4E7q19YssRfe2zj4xmbbG2xzwf5qfenJyZpy1L5VTJPQrt8O0Jyv8HkRA
uNKZfuHHrOlsT86/wTvkx96vLjrCvypW8Ce8OobhvQgWDUA92/Ovwfr7jAq8RSBp
C/kmMQ3xW2OVJGBRfWOWhMHrq0edYnlDWz9YxZzs9KVNtGTAbBY1bBOBlFBIc4H2
YmAvpmQHCMOvPPchTm4Z+Z/JkliHapY4YgcZCXbol8MEq3MgwSdQCAD5sONt8Oaw
LF76/EuB4MG0MJ2HGiQvEq3AT2oBizmtl50V07QbGhaRx0itowyNeGj28DPXXYPg
57qxzEvltbLbPgT33WGsCjPxNCDH5gkYWLqI/t+mkJl10blksyHqd/nB6TeRR+Tg
O5jD81mcxg14ZCvQLlIFJMWaswb7y09s9PcoFDrGv3pFaYrTjoslVvREovanZ6BE
xPiXj2mttBc543kVEBATMR3jntd+1hK5qoPQt2lEWkVWurPRugm9AHnWQTLSVn/+
EhhSu4BweHex+jBM/A54VGvpTcwaEgoQT9JBk8TeTJ1zC/hn2VU=
=djwJ
-----END PGP SIGNATURE-----

?