GNU bug report logs -
#40390
Rendering problems when using fonts from Guix on foreign distro
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40390 in the body.
You can then email your comments to 40390 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#40390
; Package
guix
.
(Thu, 02 Apr 2020 17:37:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Evan Straw <evan.straw99 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 02 Apr 2020 17:37:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello all,
I have Guix installed on a foreign distro (Ubuntu 19.10) as a package
manager, and I am attempting to use fonts installed through Guix for
applications installed from Guix, such as Emacs and keepassxc. I have
installed fontconfig and a few font packages. However, I am noticing
that these fonts seem to be interfering with fonts installed via the
system's package manager (APT) and are causing rendering problems in
non-Guix applications such as evince.
The font packages I have installed from Guix are as follows:
--8<---------------cut here---------------start------------->8---
evan <at> virtualplaza:~$ guix package --list-installed | grep font
font-ubuntu 0.83 out /gnu/store/6ydn8a96n2zmmrhjckqklfmg83frwl9w-font-ubuntu-0.83
font-gnu-freefont-ttf 20120503 out /gnu/store/bp0hagiy6j8r0x11r4arsyv7k61lyqfk-font-gnu-freefont-ttf-20120503
font-dejavu 2.37 out /gnu/store/yr42nyxrqkh89fanvii82br6qil4zcbx-font-dejavu-2.37
gs-fonts 8.11 out /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11
font-adobe-source-han-sans 1.004 jp /gnu/store/z9mgamhzwnh73w3y7q9flg54gmzr9kx7-font-adobe-source-han-sans-1.004-jp
fontconfig 2.13.1 out /gnu/store/rkq6ipys8hf5hw66jkzzw4nfr6ncq96a-fontconfig-2.13.1
font-abattis-cantarell 0.111 out /gnu/store/l0h8n4jn0xhj942gdh28i3rvbbywi613-font-abattis-cantarell-0.111
--8<---------------cut here---------------end--------------->8---
However, when I open a document in evince, the terminal spits out the
following errors about "cairo scaled fonts":
--8<---------------cut here---------------start------------->8---
(evince:19449): Pango-WARNING **: 10:28:58.135: failed to create cairo scaled font, expect ugly output. the offending font is 'Ubuntu 11'
(evince:19449): Pango-WARNING **: 10:28:58.135: font_face status is: <unknown error status>
(evince:19449): Pango-WARNING **: 10:28:58.135: scaled_font status is: out of memory
(evince:19449): Pango-WARNING **: 10:28:58.135: shaping failure, expect ugly output. shape-engine='PangoFcShapeEngine', font='Ubuntu 11', text='●'
(evince:19449): Pango-WARNING **: 10:28:58.142: failed to create cairo scaled font, expect ugly output. the offending font is 'Ubuntu 10.5595703125'
(evince:19449): Pango-WARNING **: 10:28:58.142: font_face status is: <unknown error status>
(evince:19449): Pango-WARNING **: 10:28:58.142: scaled_font status is: out of memory
(evince:19449): Pango-WARNING **: 10:28:58.142: shaping failure, expect ugly output. shape-engine='PangoFcShapeEngine', font='Ubuntu 10.5595703125', text='The quick brown fox jumps over the lazy dog.'
(evince:19449): Pango-WARNING **: 10:28:58.408: failed to create cairo scaled font, expect ugly output. the offending font is 'Ubuntu Italic 11'
(evince:19449): Pango-WARNING **: 10:28:58.408: font_face status is: <unknown error status>
(evince:19449): Pango-WARNING **: 10:28:58.408: scaled_font status is: out of memory
(evince:19449): Pango-WARNING **: 10:28:58.408: shaping failure, expect ugly output. shape-engine='PangoFcShapeEngine', font='Ubuntu Italic 11', text='3'
(evince:19449): Pango-WARNING **: 10:28:58.414: failed to create cairo scaled font, expect ugly output. the offending font is 'Ubuntu Italic 13.1982421875'
(evince:19449): Pango-WARNING **: 10:28:58.414: font_face status is: <unknown error status>
(evince:19449): Pango-WARNING **: 10:28:58.414: scaled_font status is: out of memory
(evince:19449): Pango-WARNING **: 10:28:58.414: shaping failure, expect ugly output. shape-engine='PangoFcShapeEngine', font='Ubuntu Italic 13.1982421875', text='Document contains no annotations'
--8<---------------cut here---------------end--------------->8---
When viewing the application window, all text is replaced by empty white
boxes, as shown in the attached screenshot.
[Screenshot from 2020-04-02 10-31-31.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
Is this a bug, or am I simply doing something wrong here? Is there any
additional configuration I need to do to get fonts from the system and
Guix to cooperate with each other?
Any help would be appreciated. Please also let me know if there's any
needed but missing information and I'll be happy to provide it.
Thanks,
-- Evan <evan.straw99 <at> gmail.com>
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40390
; Package
guix
.
(Mon, 06 Apr 2020 08:06:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 40390 <at> debbugs.gnu.org (full text, mbox):
Hi Evan,
Evan Straw <evan.straw99 <at> gmail.com> skribis:
> I have Guix installed on a foreign distro (Ubuntu 19.10) as a package
> manager, and I am attempting to use fonts installed through Guix for
> applications installed from Guix, such as Emacs and keepassxc. I have
> installed fontconfig and a few font packages. However, I am noticing
> that these fonts seem to be interfering with fonts installed via the
> system's package manager (APT) and are causing rendering problems in
> non-Guix applications such as evince.
>
> The font packages I have installed from Guix are as follows:
>
> evan <at> virtualplaza:~$ guix package --list-installed | grep font
> font-ubuntu 0.83 out /gnu/store/6ydn8a96n2zmmrhjckqklfmg83frwl9w-font-ubuntu-0.83
> font-gnu-freefont-ttf 20120503 out /gnu/store/bp0hagiy6j8r0x11r4arsyv7k61lyqfk-font-gnu-freefont-ttf-20120503
> font-dejavu 2.37 out /gnu/store/yr42nyxrqkh89fanvii82br6qil4zcbx-font-dejavu-2.37
> gs-fonts 8.11 out /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11
> font-adobe-source-han-sans 1.004 jp /gnu/store/z9mgamhzwnh73w3y7q9flg54gmzr9kx7-font-adobe-source-han-sans-1.004-jp
> fontconfig 2.13.1 out /gnu/store/rkq6ipys8hf5hw66jkzzw4nfr6ncq96a-fontconfig-2.13.1
> font-abattis-cantarell 0.111 out /gnu/store/l0h8n4jn0xhj942gdh28i3rvbbywi613-font-abattis-cantarell-0.111
>
>
> However, when I open a document in evince, the terminal spits out the
> following errors about "cairo scaled fonts":
>
> (evince:19449): Pango-WARNING **: 10:28:58.135: failed to create cairo scaled font, expect ugly output. the offending font is 'Ubuntu 11'
You may need to update the Fontconfig font cache by running:
fc-cache -fv
(See
<https://guix.gnu.org/manual/en/html_node/Application-Setup.html#X11-Fonts>.)
Does that help?
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40390
; Package
guix
.
(Wed, 22 Apr 2020 19:31:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 40390 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> Hi Evan,
>
> Evan Straw <evan.straw99 <at> gmail.com> skribis:
>
>> I have Guix installed on a foreign distro (Ubuntu 19.10) as a package
>> manager, and I am attempting to use fonts installed through Guix for
>> applications installed from Guix, such as Emacs and keepassxc. I have
>> installed fontconfig and a few font packages. However, I am noticing
>> that these fonts seem to be interfering with fonts installed via the
>> system's package manager (APT) and are causing rendering problems in
>> non-Guix applications such as evince.
>>
>> The font packages I have installed from Guix are as follows:
>>
>> evan <at> virtualplaza:~$ guix package --list-installed | grep font
>> font-ubuntu 0.83 out /gnu/store/6ydn8a96n2zmmrhjckqklfmg83frwl9w-font-ubuntu-0.83
>> font-gnu-freefont-ttf 20120503 out /gnu/store/bp0hagiy6j8r0x11r4arsyv7k61lyqfk-font-gnu-freefont-ttf-20120503
>> font-dejavu 2.37 out /gnu/store/yr42nyxrqkh89fanvii82br6qil4zcbx-font-dejavu-2.37
>> gs-fonts 8.11 out /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8.11
>> font-adobe-source-han-sans 1.004 jp /gnu/store/z9mgamhzwnh73w3y7q9flg54gmzr9kx7-font-adobe-source-han-sans-1.004-jp
>> fontconfig 2.13.1 out /gnu/store/rkq6ipys8hf5hw66jkzzw4nfr6ncq96a-fontconfig-2.13.1
>> font-abattis-cantarell 0.111 out /gnu/store/l0h8n4jn0xhj942gdh28i3rvbbywi613-font-abattis-cantarell-0.111
>>
>>
>> However, when I open a document in evince, the terminal spits out the
>> following errors about "cairo scaled fonts":
>>
>> (evince:19449): Pango-WARNING **: 10:28:58.135: failed to create cairo scaled font, expect ugly output. the offending font is 'Ubuntu 11'
>
> You may need to update the Fontconfig font cache by running:
>
> fc-cache -fv
>
> (See
> <https://guix.gnu.org/manual/en/html_node/Application-Setup.html#X11-Fonts>.)
>
> Does that help?
>
> Thanks,
> Ludo’.
Hello! My apologies for leaving this hanging for so long.
It appears I had a fontconfig configuration file left over from a long
time ago that was intended to manually add the path for Guix fonts to
the fontconfig paths, so that I could use Ubuntu's fontconfig rather
than use fontconfig from Guix. I had forgotten it was even
there. Getting rid of it and re-caching the fonts like you said has
fixed the issue.
Not sure why I thought that was a good idea...
Thank you for your help!
-- Evan <evan.straw99 <at> gmail.com>
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Leo Famulari <leo <at> famulari.name>
:
You have taken responsibility.
(Wed, 22 Apr 2020 19:54:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Evan Straw <evan.straw99 <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 22 Apr 2020 19:54:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 40390-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, Apr 22, 2020 at 12:29:50PM -0700, Evan Straw wrote:
> Hello! My apologies for leaving this hanging for so long.
>
> It appears I had a fontconfig configuration file left over from a long
> time ago that was intended to manually add the path for Guix fonts to
> the fontconfig paths, so that I could use Ubuntu's fontconfig rather
> than use fontconfig from Guix. I had forgotten it was even
> there. Getting rid of it and re-caching the fonts like you said has
> fixed the issue.
I'm glad to hear it! Closing the bug...
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40390
; Package
guix
.
(Wed, 22 Apr 2020 19:54:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 40390-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Evan Straw <evan.straw99 <at> gmail.com> skribis:
> It appears I had a fontconfig configuration file left over from a long
> time ago that was intended to manually add the path for Guix fonts to
> the fontconfig paths, so that I could use Ubuntu's fontconfig rather
> than use fontconfig from Guix. I had forgotten it was even
> there. Getting rid of it and re-caching the fonts like you said has
> fixed the issue.
Good that you found out, closing!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 21 May 2020 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 25 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.