unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
@ 2017-04-25 20:18 Leo Famulari
  2017-04-25 20:52 ` ng0
  0 siblings, 1 reply; 15+ messages in thread
From: Leo Famulari @ 2017-04-25 20:18 UTC (permalink / raw)
  To: 26659

----- Forwarded message from ng0 <contact.ng0@cryptolab.net> -----

Date: Tue, 25 Apr 2017 11:42:52 +0000
From: ng0 <contact.ng0@cryptolab.net>
To: guix-devel@gnu.org
Subject: Re: fonts bug in icecat?

ng0 transcribed 0.5K bytes:
> ng0 transcribed 0.3K bytes:
> > Hi,
> > 
> > I used to be able to select system installed fonts (I think),
> > such as Noto or Un.
> > 
> > In the Preferences > Fonts > Advanced dialogue this is no longer
> > possible, at least for the two mentioned fonts.
> > 
> > Is this a bug? I found this while using xfce4.
> 
> Okay, I just checked and the fonts are installed but no longer
> appear in other settings aswell, for example OpenBox configuration
> dialogue.

I checked GNOME, awesome, xfce4, OpenBox and all do not find the
fonts. I suppose this is an gtk(?) issue.
-- 
PGP and more: https://people.pragmatique.xyz/ng0/


----- End forwarded message -----

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-04-25 20:18 bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?] Leo Famulari
@ 2017-04-25 20:52 ` ng0
  2017-04-26  8:54   ` ng0
  0 siblings, 1 reply; 15+ messages in thread
From: ng0 @ 2017-04-25 20:52 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 26659

Were you (or someone else) able to reproduce this?
I'm pretty sure we don't all use and visit latin script
websites.

Leo Famulari transcribed 0.9K bytes:
> ----- Forwarded message from ng0 -----
> 
> Date: Tue, 25 Apr 2017 11:42:52 +0000
> From: ng0
> To: guix-devel@gnu.org
> Subject: Re: fonts bug in icecat?
> 
> ng0 transcribed 0.5K bytes:
> > ng0 transcribed 0.3K bytes:
> > > Hi,
> > > 
> > > I used to be able to select system installed fonts (I think),
> > > such as Noto or Un.
> > > 
> > > In the Preferences > Fonts > Advanced dialogue this is no longer
> > > possible, at least for the two mentioned fonts.
> > > 
> > > Is this a bug? I found this while using xfce4.
> > 
> > Okay, I just checked and the fonts are installed but no longer
> > appear in other settings aswell, for example OpenBox configuration
> > dialogue.
> 
> I checked GNOME, awesome, xfce4, OpenBox and all do not find the
> fonts. I suppose this is an gtk(?) issue.
> -- 
> PGP and more: https://people.pragmatique.xyz/ng0/
> 
> 
> ----- End forwarded message -----
> 
> 
> 

-- 
PGP and more: https://people.pragmatique.xyz/ng0/

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-04-25 20:52 ` ng0
@ 2017-04-26  8:54   ` ng0
  2017-04-26 17:17     ` Maxim Cournoyer
  0 siblings, 1 reply; 15+ messages in thread
From: ng0 @ 2017-04-26  8:54 UTC (permalink / raw)
  To: 26659

Here is a visual display of some fonts: https://ptpb.pw/EQfV.png

This is either related to icecat changes or to changes with font
related packages.

ng0 transcribed 1.1K bytes:
> Were you (or someone else) able to reproduce this?
> I'm pretty sure we don't all use and visit latin script
> websites.
> 
> Leo Famulari transcribed 0.9K bytes:
> > ----- Forwarded message from ng0 -----
> > 
> > Date: Tue, 25 Apr 2017 11:42:52 +0000
> > From: ng0
> > To: guix-devel@gnu.org
> > Subject: Re: fonts bug in icecat?
> > 
> > ng0 transcribed 0.5K bytes:
> > > ng0 transcribed 0.3K bytes:
> > > > Hi,
> > > > 
> > > > I used to be able to select system installed fonts (I think),
> > > > such as Noto or Un.
> > > > 
> > > > In the Preferences > Fonts > Advanced dialogue this is no longer
> > > > possible, at least for the two mentioned fonts.
> > > > 
> > > > Is this a bug? I found this while using xfce4.
> > > 
> > > Okay, I just checked and the fonts are installed but no longer
> > > appear in other settings aswell, for example OpenBox configuration
> > > dialogue.
> > 
> > I checked GNOME, awesome, xfce4, OpenBox and all do not find the
> > fonts. I suppose this is an gtk(?) issue.
> > -- 
> > PGP and more: https://people.pragmatique.xyz/ng0/
> > 
> > 
> > ----- End forwarded message -----
> > 
> > 
> > 
> 
> -- 
> PGP and more: https://people.pragmatique.xyz/ng0/
> 
> 
> 

-- 
PGP and more: https://people.pragmatique.xyz/ng0/

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-04-26  8:54   ` ng0
@ 2017-04-26 17:17     ` Maxim Cournoyer
  2017-04-26 21:05       ` ng0
  0 siblings, 1 reply; 15+ messages in thread
From: Maxim Cournoyer @ 2017-04-26 17:17 UTC (permalink / raw)
  To: 26659, contact.ng0



On April 26, 2017 1:54:07 AM PDT, ng0 <contact.ng0@cryptolab.net> wrote:
>Here is a visual display of some fonts: https://ptpb.pw/EQfV.png
>
>This is either related to icecat changes or to changes with font
>related packages.
>
>ng0 transcribed 1.1K bytes:
>> Were you (or someone else) able to reproduce this?

I never got the Japanese fonts working on GuixSD by following our info manual, and this was before those updates.

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-04-26 17:17     ` Maxim Cournoyer
@ 2017-04-26 21:05       ` ng0
  2017-04-26 21:29         ` Maxim Cournoyer
  0 siblings, 1 reply; 15+ messages in thread
From: ng0 @ 2017-04-26 21:05 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 26659

Maxim Cournoyer transcribed 0.4K bytes:
> 
> 
> On April 26, 2017 1:54:07 AM PDT, ng0 <contact.ng0@cryptolab.net> wrote:
> >Here is a visual display of some fonts: https://ptpb.pw/EQfV.png
> >
> >This is either related to icecat changes or to changes with font
> >related packages.
> >
> >ng0 transcribed 1.1K bytes:
> >> Were you (or someone else) able to reproduce this?
> 
> I never got the Japanese fonts working on GuixSD by following our info manual, and this was before those updates.

Can you tell me exactly or roughly what you tried and what errors (not specific, in general) you
see in the current functioning system? It would be useful to get a clear view on
languages / localization specific issues to improve the system.
-- 
PGP and more: https://people.pragmatique.xyz/ng0/

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-04-26 21:05       ` ng0
@ 2017-04-26 21:29         ` Maxim Cournoyer
  2017-04-30 20:37           ` Chris Marusich
  0 siblings, 1 reply; 15+ messages in thread
From: Maxim Cournoyer @ 2017-04-26 21:29 UTC (permalink / raw)
  To: maxim.cournoyer, 26659

On Wed, Apr 26, 2017 at 2:05 PM, ng0 <contact.ng0@cryptolab.net> wrote:
[...]
>> >ng0 transcribed 1.1K bytes:
>> >> Were you (or someone else) able to reproduce this?
>>
>> I never got the Japanese fonts working on GuixSD by following our info manual, and this was before those updates.
>
> Can you tell me exactly or roughly what you tried and what errors (not specific, in general) you
> see in the current functioning system? It would be useful to get a clear view on
> languages / localization specific issues to improve the system.

I don't recall seeing any particular errors, I had simply followed
section 2.6.3 X11 Fonts [1] and installed the suggested fonts using:
"guix package -i font-adobe-source-han-sans:jp".

Japanese characters were still displayed as boxes (with unicode? in
them) in any software I tried following a system reboot (gnucash,
icecat, etc.).

[1]: https://www.gnu.org/software/guix/manual/guix.html

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-04-26 21:29         ` Maxim Cournoyer
@ 2017-04-30 20:37           ` Chris Marusich
  2017-04-30 20:47             ` ng0
  0 siblings, 1 reply; 15+ messages in thread
From: Chris Marusich @ 2017-04-30 20:37 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 26659


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

ng0 <contact.ng0@cryptolab.net> writes:

> Here is a visual display of some fonts: https://ptpb.pw/EQfV.png
>
> This is either related to icecat changes or to changes with font
> related packages.

The same page (presumably http://www.bbc.com/) renders fine for me; no
boxes, all glyphs appear to be rendered correctly.  In addition, system
fonts appear to be selectable for me in icecat.  See attached files for
screenshots.

I have not run 'guix pull' in the last week or two.  Would you like me
to tell you anything about my system's configuration that might shed
light on the issue?  I'm going to update my system later today, so if
there are any problems (or not), I'll let you know.

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> On Wed, Apr 26, 2017 at 2:05 PM, ng0 <contact.ng0@cryptolab.net> wrote:
> [...]
>>> >ng0 transcribed 1.1K bytes:
>>> >> Were you (or someone else) able to reproduce this?
>>>
>>> I never got the Japanese fonts working on GuixSD by following our info manual, and this was before those updates.
>>
>> Can you tell me exactly or roughly what you tried and what errors (not specific, in general) you
>> see in the current functioning system? It would be useful to get a clear view on
>> languages / localization specific issues to improve the system.
>
> I don't recall seeing any particular errors, I had simply followed
> section 2.6.3 X11 Fonts [1] and installed the suggested fonts using:
> "guix package -i font-adobe-source-han-sans:jp".
>
> Japanese characters were still displayed as boxes (with unicode? in
> them) in any software I tried following a system reboot (gnucash,
> icecat, etc.).
>
> [1]: https://www.gnu.org/software/guix/manual/guix.html

FWIW, Japanese fonts work for me in all applications I have tried so
far, which includes Icecat, GNOME terminal, graphical emacs, and Gedit,
all on GNOME.  I don't recall doing anything that wasn't described in
the manual.

If you're interested in troubleshooting it, I'd like to help you get
Japanese fonts working.  For starters, maybe this information will help:

--8<---------------cut here---------------start------------->8---
$ guix package --list-installed | grep font
font-gnu-freefont-ttf	20120503	out	/gnu/store/4yk3w5yk8rn2cxzw2kq3ih7l515cy32d-font-gnu-freefont-ttf-20120503
font-inconsolata	0.80	out	/gnu/store/pd23zma09d50ssdww2a3v5xjaafxc8pm-font-inconsolata-0.80
font-liberation	2.00.1	out	/gnu/store/2wp4n6nvzhs9i6cj5c760x3s4xk3lhrk-font-liberation-2.00.1
font-adobe-source-han-sans	1.004	out	/gnu/store/44kyy0nlm2jap3z60gh1bq9s4gpkq3mi-font-adobe-source-han-sans-1.004
font-terminus	4.40	out	/gnu/store/l59m8b44dyiydgf6i3ckgwafdxi2zllw-font-terminus-4.40
font-dejavu	2.37	out	/gnu/store/bs8ky224vljlclrv547k4alz7386lawi-font-dejavu-2.37
gs-fonts	8.11	out	/gnu/store/z0as6gp6grsqs4a8knbxkcwbyxriqmgc-gs-fonts-8.11
--8<---------------cut here---------------end--------------->8---

I see that I am not using the "jp" output of font-adobe-source-han-sans;
perhaps you can try again using the "out" output?

-- 
Chris

[-- Attachment #1.2: bbc-in-other-languages.png --]
[-- Type: image/png, Size: 74106 bytes --]

[-- Attachment #1.3: icecat-screenshot.png --]
[-- Type: image/png, Size: 102756 bytes --]

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

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-04-30 20:37           ` Chris Marusich
@ 2017-04-30 20:47             ` ng0
  2017-04-30 22:18               ` ng0
  0 siblings, 1 reply; 15+ messages in thread
From: ng0 @ 2017-04-30 20:47 UTC (permalink / raw)
  To: Chris Marusich; +Cc: Maxim Cournoyer, 26659

Chris Marusich transcribed 237K bytes:
> ng0 <contact.ng0@cryptolab.net> writes:
> 
> > Here is a visual display of some fonts: https://ptpb.pw/EQfV.png
> >
> > This is either related to icecat changes or to changes with font
> > related packages.
> 
> The same page (presumably http://www.bbc.com/) renders fine for me; no
> boxes, all glyphs appear to be rendered correctly.  In addition, system
> fonts appear to be selectable for me in icecat.  See attached files for
> screenshots.

Well this is odd. And you run GuixSD I assume? I wonder where the source for
fonts being suddenly AWOL lies.
I remember that they used to work.

> I have not run 'guix pull' in the last week or two.  Would you like me
> to tell you anything about my system's configuration that might shed
> light on the issue?  I'm going to update my system later today, so if
> there are any problems (or not), I'll let you know.

Yes, that would be useful.

> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> 
> > On Wed, Apr 26, 2017 at 2:05 PM, ng0 <contact.ng0@cryptolab.net> wrote:
> > [...]
> >>> >ng0 transcribed 1.1K bytes:
> >>> >> Were you (or someone else) able to reproduce this?
> >>>
> >>> I never got the Japanese fonts working on GuixSD by following our info manual, and this was before those updates.
> >>
> >> Can you tell me exactly or roughly what you tried and what errors (not specific, in general) you
> >> see in the current functioning system? It would be useful to get a clear view on
> >> languages / localization specific issues to improve the system.
> >
> > I don't recall seeing any particular errors, I had simply followed
> > section 2.6.3 X11 Fonts [1] and installed the suggested fonts using:
> > "guix package -i font-adobe-source-han-sans:jp".
> >
> > Japanese characters were still displayed as boxes (with unicode? in
> > them) in any software I tried following a system reboot (gnucash,
> > icecat, etc.).
> >
> > [1]: https://www.gnu.org/software/guix/manual/guix.html
> 
> FWIW, Japanese fonts work for me in all applications I have tried so
> far, which includes Icecat, GNOME terminal, graphical emacs, and Gedit,
> all on GNOME.  I don't recall doing anything that wasn't described in
> the manual.
> 
> If you're interested in troubleshooting it, I'd like to help you get
> Japanese fonts working.  For starters, maybe this information will help:
> 
> --8<---------------cut here---------------start------------->8---
> $ guix package --list-installed | grep font
> font-gnu-freefont-ttf	20120503	out	/gnu/store/4yk3w5yk8rn2cxzw2kq3ih7l515cy32d-font-gnu-freefont-ttf-20120503
> font-inconsolata	0.80	out	/gnu/store/pd23zma09d50ssdww2a3v5xjaafxc8pm-font-inconsolata-0.80
> font-liberation	2.00.1	out	/gnu/store/2wp4n6nvzhs9i6cj5c760x3s4xk3lhrk-font-liberation-2.00.1
> font-adobe-source-han-sans	1.004	out	/gnu/store/44kyy0nlm2jap3z60gh1bq9s4gpkq3mi-font-adobe-source-han-sans-1.004
> font-terminus	4.40	out	/gnu/store/l59m8b44dyiydgf6i3ckgwafdxi2zllw-font-terminus-4.40
> font-dejavu	2.37	out	/gnu/store/bs8ky224vljlclrv547k4alz7386lawi-font-dejavu-2.37
> gs-fonts	8.11	out	/gnu/store/z0as6gp6grsqs4a8knbxkcwbyxriqmgc-gs-fonts-8.11
> --8<---------------cut here---------------end--------------->8---
> 
> I see that I am not using the "jp" output of font-adobe-source-han-sans;
> perhaps you can try again using the "out" output?
> 
> -- 
> Chris






-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-04-30 20:47             ` ng0
@ 2017-04-30 22:18               ` ng0
  2017-04-30 22:28                 ` ng0
  0 siblings, 1 reply; 15+ messages in thread
From: ng0 @ 2017-04-30 22:18 UTC (permalink / raw)
  To: Chris Marusich, Maxim Cournoyer, 26659

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

Well it is worse than icecat now that I have removed every WM/DM but Xfce4.

Most applications still display text, but libreoffice can be seen in the appended screenshot.
ng0 transcribed 3.4K bytes:
> Chris Marusich transcribed 237K bytes:
> > ng0 <contact.ng0@cryptolab.net> writes:
> > 
> > > Here is a visual display of some fonts: https://ptpb.pw/EQfV.png
> > >
> > > This is either related to icecat changes or to changes with font
> > > related packages.
> > 
> > The same page (presumably http://www.bbc.com/) renders fine for me; no
> > boxes, all glyphs appear to be rendered correctly.  In addition, system
> > fonts appear to be selectable for me in icecat.  See attached files for
> > screenshots.
> 
> Well this is odd. And you run GuixSD I assume? I wonder where the source for
> fonts being suddenly AWOL lies.
> I remember that they used to work.
> 
> > I have not run 'guix pull' in the last week or two.  Would you like me
> > to tell you anything about my system's configuration that might shed
> > light on the issue?  I'm going to update my system later today, so if
> > there are any problems (or not), I'll let you know.
> 
> Yes, that would be useful.
> 
> > Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> > 
> > > On Wed, Apr 26, 2017 at 2:05 PM, ng0 <contact.ng0@cryptolab.net> wrote:
> > > [...]
> > >>> >ng0 transcribed 1.1K bytes:
> > >>> >> Were you (or someone else) able to reproduce this?
> > >>>
> > >>> I never got the Japanese fonts working on GuixSD by following our info manual, and this was before those updates.
> > >>
> > >> Can you tell me exactly or roughly what you tried and what errors (not specific, in general) you
> > >> see in the current functioning system? It would be useful to get a clear view on
> > >> languages / localization specific issues to improve the system.
> > >
> > > I don't recall seeing any particular errors, I had simply followed
> > > section 2.6.3 X11 Fonts [1] and installed the suggested fonts using:
> > > "guix package -i font-adobe-source-han-sans:jp".
> > >
> > > Japanese characters were still displayed as boxes (with unicode? in
> > > them) in any software I tried following a system reboot (gnucash,
> > > icecat, etc.).
> > >
> > > [1]: https://www.gnu.org/software/guix/manual/guix.html
> > 
> > FWIW, Japanese fonts work for me in all applications I have tried so
> > far, which includes Icecat, GNOME terminal, graphical emacs, and Gedit,
> > all on GNOME.  I don't recall doing anything that wasn't described in
> > the manual.
> > 
> > If you're interested in troubleshooting it, I'd like to help you get
> > Japanese fonts working.  For starters, maybe this information will help:
> > 
> > --8<---------------cut here---------------start------------->8---
> > $ guix package --list-installed | grep font
> > font-gnu-freefont-ttf	20120503	out	/gnu/store/4yk3w5yk8rn2cxzw2kq3ih7l515cy32d-font-gnu-freefont-ttf-20120503
> > font-inconsolata	0.80	out	/gnu/store/pd23zma09d50ssdww2a3v5xjaafxc8pm-font-inconsolata-0.80
> > font-liberation	2.00.1	out	/gnu/store/2wp4n6nvzhs9i6cj5c760x3s4xk3lhrk-font-liberation-2.00.1
> > font-adobe-source-han-sans	1.004	out	/gnu/store/44kyy0nlm2jap3z60gh1bq9s4gpkq3mi-font-adobe-source-han-sans-1.004
> > font-terminus	4.40	out	/gnu/store/l59m8b44dyiydgf6i3ckgwafdxi2zllw-font-terminus-4.40
> > font-dejavu	2.37	out	/gnu/store/bs8ky224vljlclrv547k4alz7386lawi-font-dejavu-2.37
> > gs-fonts	8.11	out	/gnu/store/z0as6gp6grsqs4a8knbxkcwbyxriqmgc-gs-fonts-8.11
> > --8<---------------cut here---------------end--------------->8---
> > 
> > I see that I am not using the "jp" output of font-adobe-source-han-sans;
> > perhaps you can try again using the "out" output?
> > 
> > -- 
> > Chris
> 
> 
> 
> 
> 
> 
> -- 
> https://pragmatique.xyz
> PGP: https://people.pragmatique.xyz/ng0/

-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/

[-- Attachment #2: libreoffice-bad-fonts.png --]
[-- Type: image/png, Size: 74810 bytes --]

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-04-30 22:18               ` ng0
@ 2017-04-30 22:28                 ` ng0
  2017-04-30 22:58                   ` ng0
  2017-05-08 17:22                   ` Adonay Felipe Nogueira
  0 siblings, 2 replies; 15+ messages in thread
From: ng0 @ 2017-04-30 22:28 UTC (permalink / raw)
  To: Chris Marusich, Maxim Cournoyer, 26659

I have run 'fc-cache -rfv' and now at least the following happened:

* libreoffice has visible text again
* xfce4-terminal can select every installed font (but does not display every preview of it correct)
* icecat is unchanged

I'm waiting for the profile software update and will look into more effects tomorrow.

ng0 transcribed 102K bytes:
> Well it is worse than icecat now that I have removed every WM/DM but Xfce4.
> 
> Most applications still display text, but libreoffice can be seen in the appended screenshot.
> ng0 transcribed 3.4K bytes:
> > Chris Marusich transcribed 237K bytes:
> > > ng0 <contact.ng0@cryptolab.net> writes:
> > > 
> > > > Here is a visual display of some fonts: https://ptpb.pw/EQfV.png
> > > >
> > > > This is either related to icecat changes or to changes with font
> > > > related packages.
> > > 
> > > The same page (presumably http://www.bbc.com/) renders fine for me; no
> > > boxes, all glyphs appear to be rendered correctly.  In addition, system
> > > fonts appear to be selectable for me in icecat.  See attached files for
> > > screenshots.
> > 
> > Well this is odd. And you run GuixSD I assume? I wonder where the source for
> > fonts being suddenly AWOL lies.
> > I remember that they used to work.
> > 
> > > I have not run 'guix pull' in the last week or two.  Would you like me
> > > to tell you anything about my system's configuration that might shed
> > > light on the issue?  I'm going to update my system later today, so if
> > > there are any problems (or not), I'll let you know.
> > 
> > Yes, that would be useful.
> > 
> > > Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> > > 
> > > > On Wed, Apr 26, 2017 at 2:05 PM, ng0 <contact.ng0@cryptolab.net> wrote:
> > > > [...]
> > > >>> >ng0 transcribed 1.1K bytes:
> > > >>> >> Were you (or someone else) able to reproduce this?
> > > >>>
> > > >>> I never got the Japanese fonts working on GuixSD by following our info manual, and this was before those updates.
> > > >>
> > > >> Can you tell me exactly or roughly what you tried and what errors (not specific, in general) you
> > > >> see in the current functioning system? It would be useful to get a clear view on
> > > >> languages / localization specific issues to improve the system.
> > > >
> > > > I don't recall seeing any particular errors, I had simply followed
> > > > section 2.6.3 X11 Fonts [1] and installed the suggested fonts using:
> > > > "guix package -i font-adobe-source-han-sans:jp".
> > > >
> > > > Japanese characters were still displayed as boxes (with unicode? in
> > > > them) in any software I tried following a system reboot (gnucash,
> > > > icecat, etc.).
> > > >
> > > > [1]: https://www.gnu.org/software/guix/manual/guix.html
> > > 
> > > FWIW, Japanese fonts work for me in all applications I have tried so
> > > far, which includes Icecat, GNOME terminal, graphical emacs, and Gedit,
> > > all on GNOME.  I don't recall doing anything that wasn't described in
> > > the manual.
> > > 
> > > If you're interested in troubleshooting it, I'd like to help you get
> > > Japanese fonts working.  For starters, maybe this information will help:
> > > 
> > > --8<---------------cut here---------------start------------->8---
> > > $ guix package --list-installed | grep font
> > > font-gnu-freefont-ttf	20120503	out	/gnu/store/4yk3w5yk8rn2cxzw2kq3ih7l515cy32d-font-gnu-freefont-ttf-20120503
> > > font-inconsolata	0.80	out	/gnu/store/pd23zma09d50ssdww2a3v5xjaafxc8pm-font-inconsolata-0.80
> > > font-liberation	2.00.1	out	/gnu/store/2wp4n6nvzhs9i6cj5c760x3s4xk3lhrk-font-liberation-2.00.1
> > > font-adobe-source-han-sans	1.004	out	/gnu/store/44kyy0nlm2jap3z60gh1bq9s4gpkq3mi-font-adobe-source-han-sans-1.004
> > > font-terminus	4.40	out	/gnu/store/l59m8b44dyiydgf6i3ckgwafdxi2zllw-font-terminus-4.40
> > > font-dejavu	2.37	out	/gnu/store/bs8ky224vljlclrv547k4alz7386lawi-font-dejavu-2.37
> > > gs-fonts	8.11	out	/gnu/store/z0as6gp6grsqs4a8knbxkcwbyxriqmgc-gs-fonts-8.11
> > > --8<---------------cut here---------------end--------------->8---
> > > 
> > > I see that I am not using the "jp" output of font-adobe-source-han-sans;
> > > perhaps you can try again using the "out" output?
> > > 
> > > -- 
> > > Chris
> > 
> > 
> > 
> > 
> > 
> > 
> > -- 
> > https://pragmatique.xyz
> > PGP: https://people.pragmatique.xyz/ng0/
> 
> -- 
> https://pragmatique.xyz
> PGP: https://people.pragmatique.xyz/ng0/



-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-04-30 22:28                 ` ng0
@ 2017-04-30 22:58                   ` ng0
  2017-05-08 17:22                   ` Adonay Felipe Nogueira
  1 sibling, 0 replies; 15+ messages in thread
From: ng0 @ 2017-04-30 22:58 UTC (permalink / raw)
  To: Chris Marusich, Maxim Cournoyer, 26659-done

I am closing this bugreport as the fonts in Icecat are all visible and selectable now.
jp.wikipedia.org has no problems and this page http://www.alanwood.net/unicode/unicode_samples.html
used to be 95% unicode "boxes", now it displays 100% correcly (if you exclude CJK Unified
Ideographs Extension B, C and some private Area stuff).

Most operating systems have a "post-install" hook which runs fc-cache and other things.
I forget about this, to be reminded of things you used to do years ago is good.

Maybe I should just set a user-cronjob with this and forget about it again.
ng0 transcribed 4.4K bytes:
> I have run 'fc-cache -rfv' and now at least the following happened:
> 
> * libreoffice has visible text again
> * xfce4-terminal can select every installed font (but does not display every preview of it correct)
> * icecat is unchanged
> 
> I'm waiting for the profile software update and will look into more effects tomorrow.
> 
> ng0 transcribed 102K bytes:
> > Well it is worse than icecat now that I have removed every WM/DM but Xfce4.
> > 
> > Most applications still display text, but libreoffice can be seen in the appended screenshot.
> > ng0 transcribed 3.4K bytes:
> > > Chris Marusich transcribed 237K bytes:
> > > > ng0 <contact.ng0@cryptolab.net> writes:
> > > > 
> > > > > Here is a visual display of some fonts: https://ptpb.pw/EQfV.png
> > > > >
> > > > > This is either related to icecat changes or to changes with font
> > > > > related packages.
> > > > 
> > > > The same page (presumably http://www.bbc.com/) renders fine for me; no
> > > > boxes, all glyphs appear to be rendered correctly.  In addition, system
> > > > fonts appear to be selectable for me in icecat.  See attached files for
> > > > screenshots.
> > > 
> > > Well this is odd. And you run GuixSD I assume? I wonder where the source for
> > > fonts being suddenly AWOL lies.
> > > I remember that they used to work.
> > > 
> > > > I have not run 'guix pull' in the last week or two.  Would you like me
> > > > to tell you anything about my system's configuration that might shed
> > > > light on the issue?  I'm going to update my system later today, so if
> > > > there are any problems (or not), I'll let you know.
> > > 
> > > Yes, that would be useful.
> > > 
> > > > Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> > > > 
> > > > > On Wed, Apr 26, 2017 at 2:05 PM, ng0 <contact.ng0@cryptolab.net> wrote:
> > > > > [...]
> > > > >>> >ng0 transcribed 1.1K bytes:
> > > > >>> >> Were you (or someone else) able to reproduce this?
> > > > >>>
> > > > >>> I never got the Japanese fonts working on GuixSD by following our info manual, and this was before those updates.
> > > > >>
> > > > >> Can you tell me exactly or roughly what you tried and what errors (not specific, in general) you
> > > > >> see in the current functioning system? It would be useful to get a clear view on
> > > > >> languages / localization specific issues to improve the system.
> > > > >
> > > > > I don't recall seeing any particular errors, I had simply followed
> > > > > section 2.6.3 X11 Fonts [1] and installed the suggested fonts using:
> > > > > "guix package -i font-adobe-source-han-sans:jp".
> > > > >
> > > > > Japanese characters were still displayed as boxes (with unicode? in
> > > > > them) in any software I tried following a system reboot (gnucash,
> > > > > icecat, etc.).
> > > > >
> > > > > [1]: https://www.gnu.org/software/guix/manual/guix.html
> > > > 
> > > > FWIW, Japanese fonts work for me in all applications I have tried so
> > > > far, which includes Icecat, GNOME terminal, graphical emacs, and Gedit,
> > > > all on GNOME.  I don't recall doing anything that wasn't described in
> > > > the manual.
> > > > 
> > > > If you're interested in troubleshooting it, I'd like to help you get
> > > > Japanese fonts working.  For starters, maybe this information will help:
> > > > 
> > > > --8<---------------cut here---------------start------------->8---
> > > > $ guix package --list-installed | grep font
> > > > font-gnu-freefont-ttf	20120503	out	/gnu/store/4yk3w5yk8rn2cxzw2kq3ih7l515cy32d-font-gnu-freefont-ttf-20120503
> > > > font-inconsolata	0.80	out	/gnu/store/pd23zma09d50ssdww2a3v5xjaafxc8pm-font-inconsolata-0.80
> > > > font-liberation	2.00.1	out	/gnu/store/2wp4n6nvzhs9i6cj5c760x3s4xk3lhrk-font-liberation-2.00.1
> > > > font-adobe-source-han-sans	1.004	out	/gnu/store/44kyy0nlm2jap3z60gh1bq9s4gpkq3mi-font-adobe-source-han-sans-1.004
> > > > font-terminus	4.40	out	/gnu/store/l59m8b44dyiydgf6i3ckgwafdxi2zllw-font-terminus-4.40
> > > > font-dejavu	2.37	out	/gnu/store/bs8ky224vljlclrv547k4alz7386lawi-font-dejavu-2.37
> > > > gs-fonts	8.11	out	/gnu/store/z0as6gp6grsqs4a8knbxkcwbyxriqmgc-gs-fonts-8.11
> > > > --8<---------------cut here---------------end--------------->8---
> > > > 
> > > > I see that I am not using the "jp" output of font-adobe-source-han-sans;
> > > > perhaps you can try again using the "out" output?
> > > > 
> > > > -- 
> > > > Chris
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > -- 
> > > https://pragmatique.xyz
> > > PGP: https://people.pragmatique.xyz/ng0/
> > 
> > -- 
> > https://pragmatique.xyz
> > PGP: https://people.pragmatique.xyz/ng0/
> 
> 
> 
> -- 
> https://pragmatique.xyz
> PGP: https://people.pragmatique.xyz/ng0/
> 
> 
> 

-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-04-30 22:28                 ` ng0
  2017-04-30 22:58                   ` ng0
@ 2017-05-08 17:22                   ` Adonay Felipe Nogueira
  2017-05-08 18:29                     ` Adonay Felipe Nogueira
  1 sibling, 1 reply; 15+ messages in thread
From: Adonay Felipe Nogueira @ 2017-05-08 17:22 UTC (permalink / raw)
  To: 26659

Another report made by me which might be related to this issue:

I noticed that the copy of Inkscape that I installed through Guix
doesn't include the fonts that are provided by the foreign distro
(Trisquel 7) so far, although it does include the fonts that are inside
"$XDG_DATA_HOME/fonts" (and children).

What I did to work around the issue is this:

1. Install fontconfig through Guix.

2. Make the file "$XDG_CONFIG_HOME/fontconfig/fonts.conf" with contents:

# Begin of file
<fontconfig>
        <dir>/usr/share/fonts</dir>
        <dir>/usr/local/share/fonts</dir>
</fontconfig>
# End of file

3. Do:

$ fc-cache -rfv

The true issue seems to be, however, that the Guix recipe for fontconfig
seems to be providing the "system-wide" fonts.conf file, which confuses
some applications installed through Guix. Guix's fontconfig system-wide
fontconfig configurations are found at ".guix-profile/fonts" (and
children).

However, this doesn't seem to affect software installed through other
means like the foreign distro's package manager, as I can see with the
copy of LibreOffice I have installed through Trisquel 7's default
repositories. I haven't tried installing "unique" fonts available
through Guix only, but I can see that all the foreign system's fonts are
recoginized by LibreOffice (according to my tests).

-- 
- [[https://libreplanet.org/wiki/User:Adfeno]]
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre, por isso não uso. Iguais a ele prefiro
  GNU Ring, ou Tox. Quer outras formas de contato? Adicione o vCard
  que está no endereço acima aos teus contatos.
- Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu
  aceito, mas não repasso. Entrego apenas em formatos favoráveis ao
  /software/ livre. Favor entrar em contato em caso de dúvida.

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-05-08 17:22                   ` Adonay Felipe Nogueira
@ 2017-05-08 18:29                     ` Adonay Felipe Nogueira
  2017-05-08 18:34                       ` Adonay Felipe Nogueira
  0 siblings, 1 reply; 15+ messages in thread
From: Adonay Felipe Nogueira @ 2017-05-08 18:29 UTC (permalink / raw)
  To: 26659

Or you can do "the inverse", by doing this:

1. *Do not* install fontconfig from Guix, but make sure to have fontcofig
installed in your foreign distro.

2. Make the file "$XDG_CONFIG_HOME/fontconfig/fonts.conf" with contents:

# Begin of file
<fontconfig>
        <dir>~/.guix-profile/share/fonts</dir>
</fontconfig>
# End of file

3. Do:

$ fc-cache -rfv

So, the way I see it is that we have to tell the user that he must make
such "$XDG_CONFIG_HOME/fontconfig/fonts.conf" and choose whether he'll
be using the foreign distro's fontconfig or the fontconfig from Guix,
and chnage this "fonts.conf" file I just mentioned accordingly. If
people agree on, I can contribute with this documentation.

For those willing to explore the issue more: I read the user
documentation for Fontconfig, and it has a variable called
FONTCONFIG_PATH, but it doesn't accept multiple values separated by
colon, it only picks the first value and ignores the rest (I tested it
with `FONTCONFIG_PATH="/etc/fonts:$GUIX_PROFILE/etc/fonts" fc-cache
-rfv` and with `FONTCONFIG_PATH="$GUIX_PROFILE/etc/fonts:/etc/fonts"
fc-cache -rfv` and they resulted differently, but the only common point
was the fonts found inside "$XDG_DATA_HOME/fonts" because both places
referenced in FONTCONFIG_PATH paths have a "fonts.conf" file that has a
part similar to "<dir prefix="xdg">fonts</dir>").

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-05-08 18:29                     ` Adonay Felipe Nogueira
@ 2017-05-08 18:34                       ` Adonay Felipe Nogueira
  2017-05-09  8:46                         ` ng0
  0 siblings, 1 reply; 15+ messages in thread
From: Adonay Felipe Nogueira @ 2017-05-08 18:34 UTC (permalink / raw)
  To: 26659

Forget about "the inverse" (where you depend on the foreign distro's
fontconfig), it doesn't work well with software installed through Guix
(tested with Inkscape), because these can't see the foreign distro's
fonts.

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

* bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?]
  2017-05-08 18:34                       ` Adonay Felipe Nogueira
@ 2017-05-09  8:46                         ` ng0
  0 siblings, 0 replies; 15+ messages in thread
From: ng0 @ 2017-05-09  8:46 UTC (permalink / raw)
  To: Adonay Felipe Nogueira; +Cc: 26659

Adonay Felipe Nogueira transcribed 0.2K bytes:
> Forget about "the inverse" (where you depend on the foreign distro's
> fontconfig), it doesn't work well with software installed through Guix
> (tested with Inkscape), because these can't see the foreign distro's
> fonts.
> 

Yep, that's why we think of GuixSD and Guix on other systems when
solutions are thought of.
We need some post-install hook (even if it's just a service or mcron
job as a service) which runs the fontcache rfv, comparable to what
other systems such as Gentoo do.
-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/

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

end of thread, other threads:[~2017-05-09  8:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-25 20:18 bug#26659: [contact.ng0@cryptolab.net: Re: fonts bug in icecat?] Leo Famulari
2017-04-25 20:52 ` ng0
2017-04-26  8:54   ` ng0
2017-04-26 17:17     ` Maxim Cournoyer
2017-04-26 21:05       ` ng0
2017-04-26 21:29         ` Maxim Cournoyer
2017-04-30 20:37           ` Chris Marusich
2017-04-30 20:47             ` ng0
2017-04-30 22:18               ` ng0
2017-04-30 22:28                 ` ng0
2017-04-30 22:58                   ` ng0
2017-05-08 17:22                   ` Adonay Felipe Nogueira
2017-05-08 18:29                     ` Adonay Felipe Nogueira
2017-05-08 18:34                       ` Adonay Felipe Nogueira
2017-05-09  8:46                         ` ng0

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