GNU Freefont is broken

  • Done
  • quality assurance status badge
Details
3 participants
  • L p R n d n
  • Tobias Geerinckx-Rice
  • Michael Rohleder
Owner
unassigned
Submitted by
L p R n d n
Severity
normal
L
L
L p R n d n wrote on 13 May 2020 16:42
(address . bug-guix@gnu.org)
87eerndhgn.fsf@lprndn.info
Hello,

Fonts provided by the font-gnu-freefont package seem to be broken. In my
case, under Guix system, they do not appear in LibreOffice,
gnome-terminal shows them as squares and they do not have any effects in
inkscape (a fallback font is probably use instead).

Commits 5483a2d0a913fe533744699e9ef5757c6e3f6983 and
405c0c947cfd59d7bfb81052545cd635970d2d0c are possible culprits. However,
after testing removing the fontconfig-file-system service did not solve
at least one occurence of the problem, so the latter is probably not
related.

Issue 40783 is probably related.

Have a nice day,

L p R n d n
T
T
Tobias Geerinckx-Rice wrote on 13 May 2020 17:00
(name . L p R n d n)(address . guix@lprndn.info)
87pnb73mmw.fsf@nckx
L p,

L p R n d n ???
Toggle quote (7 lines)
> Fonts provided by the font-gnu-freefont package seem to be
> broken. In my
> case, under Guix system, they do not appear in LibreOffice,
> gnome-terminal shows them as squares and they do not have any
> effects in
> inkscape (a fallback font is probably use instead).

What's the output of

$ fc-list | grep FreeSansBoldOblique

and what is it after running

$ fc-cache -rv

?

If the latter didn't fix the problem, please include its output
here.

Toggle quote (2 lines)
> Issue 40783 is probably related.

I don't think so.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXrwLqAAKCRANsP+IT1Vt
eQzhAP9qKjZ3YwnwyJHw2Wq9fvqu4f2+eS1c7/GVQcxvcMVYDwEA3RO9dNs66l5F
ZlAZaay9R1c6zH8OvDwDya5ZvbinbAE=
=972d
-----END PGP SIGNATURE-----

M
M
Michael Rohleder wrote on 13 May 2020 17:33
[PATCH] gnu: font-gnu-freefont: fix for bug 41233.
(address . 41233@debbugs.gnu.org)
87blmrj1dz.fsf@rohleder.de
I havent tested, but looking at the installed fonts it seems clear that
they are in the wrong directory.
From 4f11dc30d324964c14bac748393f7b54df69d340 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Wed, 13 May 2020 17:28:27 +0200
Subject: [PATCH] gnu: font-gnu-freefont: fix for bug 41233.

* gnu/packages/fonts.scm (font-gnu-freefont): should fix bug 41233.
---
gnu/packages/fonts.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (21 lines)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 1728eeeaf9..64d5c17346 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -255,11 +255,11 @@ The Lato 2.010 family supports more than 100 Latin-based languages, over
(let ((doc-dir (string-append %output "/share/doc/"
,name "-" ,version))
(ttf-font-dir (string-append %output
- "/share/fonts/ttf"))
+ "/share/fonts/truetype"))
(otf-font-dir (string-append %output
- "/share/fonts/otf"))
+ "/share/fonts/opentype"))
(woff-font-dir (string-append %output
- "/share/fonts/woff")))
+ "/share/fonts/webfonts")))
(mkdir-p doc-dir)
(substitute* "Makefile"
(("\\$\\(TMPDIR\\)") doc-dir)
--
2.26.2
--
Listen and silent are spelled with the same letters.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl68EzkACgkQfHr/vv7y
yyVFEgf6AxDh4UtOUuSXCIc3U5Bq6VC/zJT2Q6HXZTiywRzoV5wwdRNj4xqIObVE
ZCmgrm+2r5zneSDauJq+IdTZf4/PbEQOuB+FTscY2ZvlT6NuyP3xtjEfvoM9DjUy
lyigOs1uF2Ia/ObSn5VfBWmWpYxw7ipJkCUDWQbbebIKc9bYITTe3Brx/GjJxgk0
DDCpB+VWnm8BsB2mgl8xHiJSMhRi1uQ7MKG7kLB9WBLesdeyhleiTaW1fBd9VGe2
Wh3RUDr5zVmQev9jcZc2I750rLc40XErw4pAR9zBSEnKAMQ13womjkqGxOYllaYT
LYp794c+pee4w4PVKTUWE+MQWwTFGw==
=7V0+
-----END PGP SIGNATURE-----

T
T
Tobias Geerinckx-Rice wrote on 13 May 2020 18:29
(name . Michael Rohleder)(address . mike@rohleder.de)(address . 41233@debbugs.gnu.org)
87k11f3ijc.fsf@nckx
Michael,

Michael Rohleder ???
Toggle quote (4 lines)
> I havent tested, but looking at the installed fonts it seems
> clear that
> they are in the wrong directory.

There are no wrong directories.

Toggle quote (7 lines)
> (woff-font-dir (string-append
> %output
> -
> "/share/fonts/woff")))
> +
> "/share/fonts/webfonts")))

I applied & replied to Raghav's patch[0] before I saw yours. This
is the search keyword I was missing, thanks!

/share/fonts/webfonts does seem to be a standard thing, so I'll
apply this hunk (minus the ‘fix’ claim).

Thank you very much,

T G-R

[0]:
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXrwgZwAKCRANsP+IT1Vt
eXqsAP4pHKjd+5m4fWI0HxwsShGazpTL+yhSwSSc5lxqnhaE6AD/SsBrZcxfCgfY
gEMOmhFmDMU2kN8WWX99GZOT2lEBggQ=
=UfHQ
-----END PGP SIGNATURE-----

L
L
L p R n d n wrote on 14 May 2020 10:43
Re: bug#41233: GNU Freefont is broken
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)
878shuewkh.fsf@lprndn.info
Hello,

Thanks for your inputs!
Totally my bad here... It appears I didn't have font-gnu-freefont in my
system packages anymore and I forgot. + I mixed it with another
issue. I'm currently reconfiguring to verify it's ok. Unless I bring
something new until tomorrow, this issue can be safely be closed.
Sorry for te unnecessary bug report.

Have a nice day,

L p R n d n
T
T
Tobias Geerinckx-Rice wrote on 14 May 2020 16:16
(name . L p R n d n)(address . guix@lprndn.info)(address . 41233@debbugs.gnu.org)
87imgyd2l9.fsf@nckx
L p,

L p R n d n ???
Toggle quote (5 lines)
> Totally my bad here... It appears I didn't have
> font-gnu-freefont in my
> system packages anymore and I forgot. + I mixed it with another
> issue.

^_^

Toggle quote (4 lines)
> I'm currently reconfiguring to verify it's ok. Unless I bring
> something new until tomorrow, this issue can be safely be
> closed.

Great! You can do so yourself by sending your next mail to
<nnn>-done@debbugs.gnu.org instead of <nnn>@.

Toggle quote (2 lines)
> Sorry for te unnecessary bug report.

No need to apologise for this. We got a slightly nicer WOFF
bikeshed out of it.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXr1SogAKCRANsP+IT1Vt
eeXWAP0R9bQt6v3IysVi4BDogt00kMvXScItmw+iQz74oD8NSwEA5wJEwOr14rF3
VVVwTd+YuPu88CUYEaAaVBDLQKM4rg8=
=L/FW
-----END PGP SIGNATURE-----

L
L
L p R n d n wrote on 22 May 2020 10:18
(no subject)
(address . 41233-done@debbugs.gnu.org)
871rncbcwf.fsf@lprndn.info

Closed
?