[Bug 1639513] [NEW] Pango-WARNING **: shaping failure, expect ugly output
Tong Sun
1639513 at bugs.launchpad.net
Sat Nov 5 21:38:15 UTC 2016
Public bug reported:
Exactly as reported in
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1396048, which was
marked as "Invalid" because it is reporting to the wrong package.
The problem from that post:
Console:
$ evince
(evince:8959): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Ubuntu 11'
(evince:8959): Pango-WARNING **: font_face status is: out of memory
(evince:8959): Pango-WARNING **: scaled_font status is: out of memory
(evince:8959): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Ubuntu 11', text='●'
As for mine, it is basically the same:
(process:13924): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is '微软雅黑 9'
(process:13924): Pango-WARNING **: font_face status is: file not found
(process:13924): Pango-WARNING **: scaled_font status is: file not found
(process:13924): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='PangoFcShapeEngine', font='微软雅黑 9', text='Ayg'
As the result,
For the original reported, "some font and only displays squares in
menus, text is displayed okay,", but for me, everything are displays as
squares in menus, including English texts.
However, my rxvt-unicode, which uses the 微软雅黑 font, display correctly
without any problem.
The cause of the problem, is also exactly as described in the original
post:
It happens because of symlinks from /usr/share/fonts to a different
partition. For the original reporter, some fonts are symlinked, and for
me 微软雅黑 is symlinked to a different partition. Thus his is missing some
text, while I'm missing everything.
symlinking fonts to a different partition is quite harmless in my view,
and Pango should not treat them any differently.
This only happens since Ubuntu 16.04. In Ubuntu 15.10, it was OK.
My current Pango related packages that exhibit such problem:
gir1.2-pango-1.0:amd64_1.38.1-1
libcogl-pango20:amd64_1.22.0-2
libpango-1.0-0:amd64_1.38.1-1
libpango-perl_1.227-1
libpango1.0-0:amd64_1.38.1-1
libpangocairo-1.0-0:amd64_1.38.1-1
libpangoft2-1.0-0:amd64_1.38.1-1
libpangomm-1.4-1v5:amd64_2.38.1-1
libpangox-1.0-0:amd64_0.0.2-5
libpangoxft-1.0-0:amd64_1.38.1-1
Please look into it. Thx.
** Affects: pango1.0 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pango1.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1639513
Title:
Pango-WARNING **: shaping failure, expect ugly output
Status in pango1.0 package in Ubuntu:
New
Bug description:
Exactly as reported in
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1396048, which
was marked as "Invalid" because it is reporting to the wrong package.
The problem from that post:
Console:
$ evince
(evince:8959): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Ubuntu 11'
(evince:8959): Pango-WARNING **: font_face status is: out of memory
(evince:8959): Pango-WARNING **: scaled_font status is: out of memory
(evince:8959): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Ubuntu 11', text='●'
As for mine, it is basically the same:
(process:13924): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is '微软雅黑 9'
(process:13924): Pango-WARNING **: font_face status is: file not found
(process:13924): Pango-WARNING **: scaled_font status is: file not found
(process:13924): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='PangoFcShapeEngine', font='微软雅黑 9', text='Ayg'
As the result,
For the original reported, "some font and only displays squares in
menus, text is displayed okay,", but for me, everything are displays
as squares in menus, including English texts.
However, my rxvt-unicode, which uses the 微软雅黑 font, display correctly
without any problem.
The cause of the problem, is also exactly as described in the original
post:
It happens because of symlinks from /usr/share/fonts to a different
partition. For the original reporter, some fonts are symlinked, and
for me 微软雅黑 is symlinked to a different partition. Thus his is missing
some text, while I'm missing everything.
symlinking fonts to a different partition is quite harmless in my
view, and Pango should not treat them any differently.
This only happens since Ubuntu 16.04. In Ubuntu 15.10, it was OK.
My current Pango related packages that exhibit such problem:
gir1.2-pango-1.0:amd64_1.38.1-1
libcogl-pango20:amd64_1.22.0-2
libpango-1.0-0:amd64_1.38.1-1
libpango-perl_1.227-1
libpango1.0-0:amd64_1.38.1-1
libpangocairo-1.0-0:amd64_1.38.1-1
libpangoft2-1.0-0:amd64_1.38.1-1
libpangomm-1.4-1v5:amd64_2.38.1-1
libpangox-1.0-0:amd64_0.0.2-5
libpangoxft-1.0-0:amd64_1.38.1-1
Please look into it. Thx.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pango1.0/+bug/1639513/+subscriptions
More information about the foundations-bugs
mailing list