Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459374 - x11-libs/pango-1.32.5 - Broken pango.modules file
Summary: x11-libs/pango-1.32.5 - Broken pango.modules file
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-26 22:26 UTC by preston banks
Modified: 2013-07-27 11:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pango.modules.patch (file_459374.txt,893 bytes, text/plain)
2013-02-27 14:43 UTC, Tom Wijsman (TomWij) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description preston banks 2013-02-26 22:26:57 UTC
pango.modules file is not valid, and causing rectangular characters in all the gtk apps that depend on it

Reproducible: Always

Steps to Reproduce:
1. install pango-1.32.5
2. open any gtk app or gnome app that depends on pango
3. try to read the text and cannot
Actual Results:  
Rectangle boxes for characters are displayed instead of text

Expected Results:  
Readable text with pre-selected default font

I created this patch to resolve the problem on my laptop

--- /etc/pango/x86_64-pc-linux-gnu/pango.modules  2013-02-26 17:20:24.626641287 -0500
+++ /home/pbanks/pango.modules        2013-02-26 17:01:00.267792505 -0500
@@ -2,7 +2,7 @@
 # Automatically generated file, do not edit
 #
 /usr/lib64/pango/1.8.0/modules/pango-arabic-lang.so ArabicScriptEngineLang PangoEngineLang PangoRenderNone arabic:*
-/usr/lib64/pango/1.8.0/modules/pango-basic-fc.so BasicScriptEngineFc PangoEngineShape PangoRenderFc common:
+/usr/lib64/pango/1.8.0/modules/pango-basic-fc.so BasicScriptEngineFc PangoEngineShape PangoRenderFc common:*
 /usr/lib64/pango/1.8.0/modules/pango-indic-lang.so devaIndicScriptEngineLang PangoEngineLang PangoRenderNone devanagari:*
 /usr/lib64/pango/1.8.0/modules/pango-indic-lang.so bengIndicScriptEngineLang PangoEngineLang PangoRenderNone bengali:*
 /usr/lib64/pango/1.8.0/modules/pango-indic-lang.so guruIndicScriptEngineLang PangoEngineLang PangoRenderNone gurmukhi:*
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-27 14:43:06 UTC
Created attachment 340340 [details]
pango.modules.patch

Attached the patch.
Comment 2 Paul Bredbury 2013-02-27 20:06:44 UTC
Fedora & Arch Linux compile pango with:

  --with-included-modules=basic-fc

That changes pango.modules a lot, and fixes this issue, I think.

From:
  http://koji.fedoraproject.org/koji/buildinfo?buildID=374053
  https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/pango
Comment 3 Paul Bredbury 2013-03-26 06:02:15 UTC
Also see alternate patch (which is in Ubuntu Raring) at:

https://bugs.freedesktop.org/show_bug.cgi?id=58496
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-04-30 19:11:07 UTC
(In reply to comment #0)
> pango.modules file is not valid, and causing rectangular characters in all
> the gtk apps that depend on it

I have never seen this issue and do not know how to reproduce it. Please attach the output of "emerge --info pango fontconfig libXft", explain what version of what desktop environment you are using, what default font you are using in gtk applications (dejavu, cantarell, something else?), whether you are using a non-English locale, etc.

If the application where you are seeing this problem generates error messages when you run it from the terminal, please attach them.

A screenshot would also help.
Comment 5 Pacho Ramos gentoo-dev 2013-07-27 11:48:59 UTC
Also try with 1.34.1