all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#41344: Font broken in GUI application with guix pack
@ 2020-05-17  4:05 Alexandros Theodotou
  2020-05-19 13:43 ` Ludovic Courtès
  2020-05-19 18:11 ` Marius Bakke
  0 siblings, 2 replies; 4+ messages in thread
From: Alexandros Theodotou @ 2020-05-17  4:05 UTC (permalink / raw)
  To: 41344


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

Hi,

This is the command I ran to generate a pack:
guix pack -RR -S /opt/zrythm/bin=bin -L . zrythm

I then tried moving this pack to a VM running another distro
(archlinux) and all letters are shown as boxes. I have asked other
people to test it on other distros, including debian, and they reported
the same issue.

I am not exactly sure what is missing. Attaching a screenshot of what
it looks like.

I tried adding a propagated input for font-cantarell, font-gnu-freefont 
and font-dejavu just to see if it would work, without success.

Thanks,
Alex

[-- Attachment #1.2: Screenshot from 2020-05-16 20-11-20.png --]
[-- Type: image/png, Size: 65593 bytes --]

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* bug#41344: Font broken in GUI application with guix pack
  2020-05-17  4:05 bug#41344: Font broken in GUI application with guix pack Alexandros Theodotou
@ 2020-05-19 13:43 ` Ludovic Courtès
  2020-05-19 17:49   ` Alexandros Theodotou
  2020-05-19 18:11 ` Marius Bakke
  1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2020-05-19 13:43 UTC (permalink / raw)
  To: Alexandros Theodotou; +Cc: 41344

Hi,

Alexandros Theodotou <alex@zrythm.org> skribis:

> This is the command I ran to generate a pack:
> guix pack -RR -S /opt/zrythm/bin=bin -L . zrythm
>
> I then tried moving this pack to a VM running another distro
> (archlinux) and all letters are shown as boxes. I have asked other
> people to test it on other distros, including debian, and they reported
> the same issue.
>
> I am not exactly sure what is missing. Attaching a screenshot of what
> it looks like.
>
> I tried adding a propagated input for font-cantarell, font-gnu-freefont 
> and font-dejavu just to see if it would work, without success.

Did it work roughly before the ‘core-updates’ merge?

Our ‘fontconfig’ package searches ~/.guix-profile/share/fonts and
/run/current-system/profile/share/fonts by default, which obviously
doesn’t work on foreign distros.

As discussed on IRC, could you check “strace -f” the program and check
where it’s looking for fonts (TTFs?)?

Thanks,
Ludo’.




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

* bug#41344: Font broken in GUI application with guix pack
  2020-05-19 13:43 ` Ludovic Courtès
@ 2020-05-19 17:49   ` Alexandros Theodotou
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandros Theodotou @ 2020-05-19 17:49 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 41344

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

> Did it work roughly before the ‘core-updates’ merge?

This is the first time I tried `guix pack` so I don't know.

> As discussed on IRC, could you check “strace -f” the program and
> check
> where it’s looking for fonts (TTFs?)?

I'm not really sure what to look for. Here is the strace -f output: 
https://www.zrythm.org/downloads/trace.text.tar.gz

The package I'm trying to pack is zrythm-next from here:
https://git.zrythm.org/cgit/guix-repo/tree/audio.scm

Thanks,
Alex

On Tue, 2020-05-19 at 15:43 +0200, Ludovic Courtès wrote:
> 
> 
> 
> Our ‘fontconfig’ package searches ~/.guix-profile/share/fonts and
> /run/current-system/profile/share/fonts by default, which obviously
> doesn’t work on foreign distros.
> 
> 
> 
> Thanks,
> Ludo’.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* bug#41344: Font broken in GUI application with guix pack
  2020-05-17  4:05 bug#41344: Font broken in GUI application with guix pack Alexandros Theodotou
  2020-05-19 13:43 ` Ludovic Courtès
@ 2020-05-19 18:11 ` Marius Bakke
  1 sibling, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2020-05-19 18:11 UTC (permalink / raw)
  To: Alexandros Theodotou, 41344

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

Alexandros Theodotou <alex@zrythm.org> writes:

> Hi,
>
> This is the command I ran to generate a pack:
> guix pack -RR -S /opt/zrythm/bin=bin -L . zrythm
>
> I then tried moving this pack to a VM running another distro
> (archlinux) and all letters are shown as boxes. I have asked other
> people to test it on other distros, including debian, and they reported
> the same issue.
>
> I am not exactly sure what is missing. Attaching a screenshot of what
> it looks like.

Can you try the patch posted at
<https://lists.gnu.org/archive/html/guix-devel/2020-05/msg00281.html> ?

When no fonts are installed in the common Guix profiles, applications
only "see" the font hard-coded into fontconfig, which happens to be
broken[*] since the recent 'core-updates' merge for any application
using Pango (such as GTK+).

[*] because fontconfig currently uses "gs-fonts", which are bitmap only,
and Pango no longer supports bitmap fonts[**]
[**] https://gitlab.gnome.org/GNOME/pango/issues/386

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

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

end of thread, other threads:[~2020-05-19 18:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-17  4:05 bug#41344: Font broken in GUI application with guix pack Alexandros Theodotou
2020-05-19 13:43 ` Ludovic Courtès
2020-05-19 17:49   ` Alexandros Theodotou
2020-05-19 18:11 ` Marius Bakke

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.