unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41233: GNU Freefont is broken
@ 2020-05-13 14:42 L p R n d n
  2020-05-13 15:00 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: L p R n d n @ 2020-05-13 14:42 UTC (permalink / raw)
  To: 41233

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#41233: GNU Freefont is broken
  2020-05-13 14:42 bug#41233: GNU Freefont is broken L p R n d n
@ 2020-05-13 15:00 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2020-05-14  8:43   ` L p R n d n
  2020-05-13 15:33 ` bug#41233: [PATCH] gnu: font-gnu-freefont: fix for bug 41233 Michael Rohleder
  2020-05-22  8:18 ` bug#41233: (no subject) L p R n d n
  2 siblings, 1 reply; 7+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-05-13 15:00 UTC (permalink / raw)
  To: L p R n d n; +Cc: 41233

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

L  p,

L p R n d n 写道:
> 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.

> Issue 40783 is probably related.

I don't think so.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#41233: [PATCH] gnu: font-gnu-freefont: fix for bug 41233.
  2020-05-13 14:42 bug#41233: GNU Freefont is broken L p R n d n
  2020-05-13 15:00 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2020-05-13 15:33 ` Michael Rohleder
  2020-05-13 16:29   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2020-05-22  8:18 ` bug#41233: (no subject) L p R n d n
  2 siblings, 1 reply; 7+ messages in thread
From: Michael Rohleder @ 2020-05-13 15:33 UTC (permalink / raw)
  To: 41233


[-- Attachment #1.1: Type: text/plain, Size: 106 bytes --]

I havent tested, but looking at the installed fonts it seems clear that
they are in the wrong directory.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: [PATCH] gnu: font-gnu-freefont: fix for bug 41233. --]
[-- Type: text/x-patch, Size: 1642 bytes --]

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(-)

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


[-- Attachment #1.3: Type: text/plain, Size: 61 bytes --]


-- 
Listen and silent are spelled with the same letters.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#41233: [PATCH] gnu: font-gnu-freefont: fix for bug 41233.
  2020-05-13 15:33 ` bug#41233: [PATCH] gnu: font-gnu-freefont: fix for bug 41233 Michael Rohleder
@ 2020-05-13 16:29   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 0 replies; 7+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-05-13 16:29 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: 41233

[-- Attachment #1: Type: text/plain, Size: 703 bytes --]

Michael,

Michael Rohleder 写道:
> I havent tested, but looking at the installed fonts it seems 
> clear that
> they are in the wrong directory.

There are no wrong directories.

>                             (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]: 
https://lists.gnu.org/archive/html/guix-devel/2020-05/msg00234.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#41233: GNU Freefont is broken
  2020-05-13 15:00 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2020-05-14  8:43   ` L p R n d n
  2020-05-14 14:16     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 7+ messages in thread
From: L p R n d n @ 2020-05-14  8:43 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 41233

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#41233: GNU Freefont is broken
  2020-05-14  8:43   ` L p R n d n
@ 2020-05-14 14:16     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 0 replies; 7+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-05-14 14:16 UTC (permalink / raw)
  To: L p R n d n; +Cc: 41233

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

L p,

L p R n d n 写道:
> 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.

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

> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#41233: (no subject)
  2020-05-13 14:42 bug#41233: GNU Freefont is broken L p R n d n
  2020-05-13 15:00 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2020-05-13 15:33 ` bug#41233: [PATCH] gnu: font-gnu-freefont: fix for bug 41233 Michael Rohleder
@ 2020-05-22  8:18 ` L p R n d n
  2 siblings, 0 replies; 7+ messages in thread
From: L p R n d n @ 2020-05-22  8:18 UTC (permalink / raw)
  To: 41233-done





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-05-22  8:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13 14:42 bug#41233: GNU Freefont is broken L p R n d n
2020-05-13 15:00 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-05-14  8:43   ` L p R n d n
2020-05-14 14:16     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-05-13 15:33 ` bug#41233: [PATCH] gnu: font-gnu-freefont: fix for bug 41233 Michael Rohleder
2020-05-13 16:29   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-05-22  8:18 ` bug#41233: (no subject) L p R n d n

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).