all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Icecat displays mahjong characters instead of alphabet
@ 2020-01-15 10:53 Todor Kondić
  2020-01-15 10:55 ` Todor Kondić
  0 siblings, 1 reply; 3+ messages in thread
From: Todor Kondić @ 2020-01-15 10:53 UTC (permalink / raw)
  To: help-guix\@gnu.org

I know similar questions have been asked here and the problem came and went time and again for me personally, but here I am, a new Guix/PopOs installation and icecat throwing fits.

The icecat GUI (including the input text boxes), as well as some websites display blocks instead of characters. Some other websites do show fonts correctly.

Possibly relevant errors:
...
Gtk-Message: 10:48:16.732: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:48:16.734: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:48:16.815: Failed to load module "appmenu-gtk-module"

(/gnu/store/73j8fcmalx3asc5gy0rd2rcij0wqgn9v-icecat-68.4.1-guix0-preview1/lib/icecat/.icecat-real:4621): Pango-WARNING **: 10:48:16.816: failed to create cairo scaled font, expect ugly output. the offending font is 'Nimbus Sans L 9.9990234375'
...

The abovementioned Nimbus Sans does show up in my fc-list:
fc-list|grep "Nimbus Sans"
/gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019003l.pfb: Nimbus Sans L:style=Regular
/gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019044l.pfb: Nimbus Sans L:style=Bold Condensed
/gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019023l.pfb: Nimbus Sans L:style=Regular Italic
/gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019063l.pfb: Nimbus Sans L:style=Regular Condensed Italic
/gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019004l.pfb: Nimbus Sans L:style=Bold
/gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019043l.pfb: Nimbus Sans L:style=Regular Condensed
/gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019024l.pfb: Nimbus Sans L:style=Bold Italic
/gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019064l.pfb: Nimbus Sans L:style=Bold Condensed Italic




I have installed font-dejavu and font-liberation (as well as some other fonts) and I also installed fontconfig from guix. That fc-cache has been run in '-f' and '-r' forms. I have also tried with the system's /usr/bin/fc-cache. Both XDG_DATA_DIRS and XDG_CONFIG_DIRS have been set.

I am running a multiprofile setup, similar to the one described in the cookbook (https://guix.gnu.org/cookbook/en/guix-cookbook.html#Advanced-package-management)

icecat version: GNU IceCat 68.4.1esr
guix version: 09bad3cd42ca51974f3697f04ce841bf2fe6786c

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

* Re: Icecat displays mahjong characters instead of alphabet
  2020-01-15 10:53 Icecat displays mahjong characters instead of alphabet Todor Kondić
@ 2020-01-15 10:55 ` Todor Kondić
  2020-01-15 14:29   ` Todor Kondić
  0 siblings, 1 reply; 3+ messages in thread
From: Todor Kondić @ 2020-01-15 10:55 UTC (permalink / raw)
  To: help-guix\@gnu.org

On Wednesday, 15 January 2020 11:53, Todor Kondić <tk.code@protonmail.com> wrote:

> I know similar questions have been asked here and the problem came and went time and again for me personally, but here I am, a new Guix/PopOs installation and icecat throwing fits.
>
> The icecat GUI (including the input text boxes), as well as some websites display blocks instead of characters. Some other websites do show fonts correctly.
>
> Possibly relevant errors:
> ...
> Gtk-Message: 10:48:16.732: Failed to load module "canberra-gtk-module"
> Gtk-Message: 10:48:16.734: Failed to load module "canberra-gtk-module"
> Gtk-Message: 10:48:16.815: Failed to load module "appmenu-gtk-module"
>
> (/gnu/store/73j8fcmalx3asc5gy0rd2rcij0wqgn9v-icecat-68.4.1-guix0-preview1/lib/icecat/.icecat-real:4621): Pango-WARNING **: 10:48:16.816: failed to create cairo scaled font, expect ugly output. the offending font is 'Nimbus Sans L 9.9990234375'
> ...
>
> The abovementioned Nimbus Sans does show up in my fc-list:
> fc-list|grep "Nimbus Sans"
> /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019003l.pfb: Nimbus Sans L:style=Regular
> /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019044l.pfb: Nimbus Sans L:style=Bold Condensed
> /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019023l.pfb: Nimbus Sans L:style=Regular Italic
> /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019063l.pfb: Nimbus Sans L:style=Regular Condensed Italic
> /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019004l.pfb: Nimbus Sans L:style=Bold
> /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019043l.pfb: Nimbus Sans L:style=Regular Condensed
> /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019024l.pfb: Nimbus Sans L:style=Bold Italic
> /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019064l.pfb: Nimbus Sans L:style=Bold Condensed Italic
>
> I have installed font-dejavu and font-liberation (as well as some other fonts) and I also installed fontconfig from guix. That fc-cache has been run in '-f' and '-r' forms. I have also tried with the system's /usr/bin/fc-cache. Both XDG_DATA_DIRS and XDG_CONFIG_DIRS have been set.
>
> I am running a multiprofile setup, similar to the one described in the cookbook (https://guix.gnu.org/cookbook/en/guix-cookbook.html#Advanced-package-management)
>
> icecat version: GNU IceCat 68.4.1esr
> guix version: 09bad3cd42ca51974f3697f04ce841bf2fe6786c

... now is see that the mentioned "Nimbus Sans" is part of the ghostscript collection of fonts. Is this GUI compatible?

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

* Re: Icecat displays mahjong characters instead of alphabet
  2020-01-15 10:55 ` Todor Kondić
@ 2020-01-15 14:29   ` Todor Kondić
  0 siblings, 0 replies; 3+ messages in thread
From: Todor Kondić @ 2020-01-15 14:29 UTC (permalink / raw)
  To: help-guix\\@gnu.org

On Wednesday, January 15, 2020 10:55 AM, Todor Kondić <tk.code@protonmail.com> wrote:

> On Wednesday, 15 January 2020 11:53, Todor Kondić tk.code@protonmail.com wrote:
>
> > I know similar questions have been asked here and the problem came and went time and again for me personally, but here I am, a new Guix/PopOs installation and icecat throwing fits.
> > The icecat GUI (including the input text boxes), as well as some websites display blocks instead of characters. Some other websites do show fonts correctly.
> > Possibly relevant errors:
> > ...
> > Gtk-Message: 10:48:16.732: Failed to load module "canberra-gtk-module"
> > Gtk-Message: 10:48:16.734: Failed to load module "canberra-gtk-module"
> > Gtk-Message: 10:48:16.815: Failed to load module "appmenu-gtk-module"
> > (/gnu/store/73j8fcmalx3asc5gy0rd2rcij0wqgn9v-icecat-68.4.1-guix0-preview1/lib/icecat/.icecat-real:4621): Pango-WARNING **: 10:48:16.816: failed to create cairo scaled font, expect ugly output. the offending font is 'Nimbus Sans L 9.9990234375'
> > ...
> > The abovementioned Nimbus Sans does show up in my fc-list:
> > fc-list|grep "Nimbus Sans"
> > /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019003l.pfb: Nimbus Sans L:style=Regular
> > /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019044l.pfb: Nimbus Sans L:style=Bold Condensed
> > /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019023l.pfb: Nimbus Sans L:style=Regular Italic
> > /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019063l.pfb: Nimbus Sans L:style=Regular Condensed Italic
> > /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019004l.pfb: Nimbus Sans L:style=Bold
> > /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019043l.pfb: Nimbus Sans L:style=Regular Condensed
> > /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019024l.pfb: Nimbus Sans L:style=Bold Italic
> > /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11/share/fonts/type1/ghostscript/n019064l.pfb: Nimbus Sans L:style=Bold Condensed Italic
> > I have installed font-dejavu and font-liberation (as well as some other fonts) and I also installed fontconfig from guix. That fc-cache has been run in '-f' and '-r' forms. I have also tried with the system's /usr/bin/fc-cache. Both XDG_DATA_DIRS and XDG_CONFIG_DIRS have been set.
> > I am running a multiprofile setup, similar to the one described in the cookbook (https://guix.gnu.org/cookbook/en/guix-cookbook.html#Advanced-package-management)
> > icecat version: GNU IceCat 68.4.1esr
> > guix version: 09bad3cd42ca51974f3697f04ce841bf2fe6786c
>
> ... now is see that the mentioned "Nimbus Sans" is part of the ghostscript collection of fonts. Is this GUI compatible?


Unsurprisingly, the problem was the non-standard setup. The fonts and the fontconfig packages were all in a separate sub-profile. After I moved them into the standard .guix-profile profile (followed by fc-cache -r) icecat started displaying characters correctly.

A word of caution about situations such as this one could be added to the "Advanced Package Management" section of the "Guix Cookbook" ... though in the case of the CentOS/Guix blog (https://guix.gnu.org/blog/2019/running-a-guix-xfce-desktop-on-centos-7) -- also a multi-profile setup -- things seemed to work correctly.

But, my setup is different in at least two aspects: 1) fontconfig and the fonts were in a profile different from icecat, 2) I am still running the host graphical environment. Also, I am not sure, but I think the author of the mentioned blog used the system's fc-cache.

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

end of thread, other threads:[~2020-01-15 14:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15 10:53 Icecat displays mahjong characters instead of alphabet Todor Kondić
2020-01-15 10:55 ` Todor Kondić
2020-01-15 14:29   ` Todor Kondić

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.