View previous topic :: View next topic |
Author |
Message |
x264hack n00b
Joined: 20 Nov 2007 Posts: 3
|
Posted: Fri Apr 18, 2008 1:32 am Post subject: Pango problem, 32/64bit (solved) |
|
|
The first symptom of the problem was that after upgrading Acrobat Reader (acroread), all text in the user interface (menu bar, menus, dialogs) displays as little boxes, not as letters. The debug output from acroread says,
Code: |
(acroread:9368): Pango-WARNING **: No builtin or dynamically
loaded modules were found. Pango will not work correctly.
This probably means there was an error in the creation of:
'/etc/pango/pango.modules'
You should create this file by running pango-querymodules.
(acroread:9368): Pango-WARNING **: pango_shape called with bad font, expect ugly output
(acroread:9368): Pango-WARNING **: pango_font_get_glyph_extents called with bad font, expect ugly output
(acroread:9368): Pango-WARNING **: _pango_cairo_font_install called with bad font, expect ugly output
(acroread:9368): Pango-WARNING **: pango_font_get_metrics called with bad font, expect ugly output
|
So this is a pango problem, ok.
The file /etc/pango/pango.modules is present, and looks ok. The modules actually exist at the paths indicated. Tried regenerating this with:
Code: | pango-querymodules > /etc/pango/pango.modules |
No effect. Ok, digging some more... acroread should be looking for the 32bit pango modules, and the paths in that file point to the /usr/lib64/pango/1.6.0/modules/, wtf? This is probably why pango says it couldn't find any modules? (This on an amd64 gentoo install)
Hmm, hey wait, there is a /etc/pango/i686-pc-linux-gnu/pango.modules, what is that for? And it's empty, except for saying "ModulesPath = /emul/linux/x86/usr/lib/pango/1.5.0/modules" ? And that dir doesn't exist?
Finally, after much digging... THE SOLUTION: the 32bit pango is in app-emulation/emul-linux-x86-gtklibs. Make sure you have that installed, and then run:
Code: |
pango-querymodules32 > /etc/pango/i686-pc-linux-gnu/pango.modules
|
Everything works, hooray.
P.S. Installed versions:
app-emulation/emul-linux-x86-gtklibs-10.0-r1
x11-libs/pango-1.18.3
app-text/acroread-8.1.2-r2 |
|
Back to top |
|
|
motosauro Tux's lil' helper
Joined: 23 Nov 2005 Posts: 83 Location: Verona, Italy
|
Posted: Mon Jul 14, 2008 5:54 pm Post subject: Re: Pango problem, 32/64bit (solved) |
|
|
x264hack wrote: | ... THE SOLUTION... |
Same problem, same fix
Thx mate _________________ Per aspera ad astra |
|
Back to top |
|
|
qkita n00b
Joined: 15 Apr 2011 Posts: 1
|
Posted: Fri Apr 15, 2011 7:42 pm Post subject: Re: Pango problem, 32/64bit (solved) |
|
|
Same problem, same fix !!!!! too!!
Thank you very much!!!!!!!!!!
I'm runnig:
acroread 9.4.2
/emul-linux-x86-gtklibs-20110129
pango 1.28.3-r1 |
|
Back to top |
|
|
Erlend Guru
Joined: 26 Dec 2004 Posts: 493
|
|
Back to top |
|
|
lkraav Tux's lil' helper
Joined: 13 Oct 2004 Posts: 129 Location: Estonia
|
Posted: Wed Oct 16, 2013 7:18 pm Post subject: |
|
|
Thanks dude, this worked.
I wonder if /etc/pango/pango.modules is used at all on multilib system? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|