Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pango problem, 32/64bit (solved)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
x264hack
n00b
n00b


Joined: 20 Nov 2007
Posts: 3

PostPosted: Fri Apr 18, 2008 1:32 am    Post subject: Pango problem, 32/64bit (solved) Reply with quote

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
View user's profile Send private message
motosauro
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2005
Posts: 83
Location: Verona, Italy

PostPosted: Mon Jul 14, 2008 5:54 pm    Post subject: Re: Pango problem, 32/64bit (solved) Reply with quote

x264hack wrote:
... THE SOLUTION...

Same problem, same fix :)
Thx mate
_________________
Per aspera ad astra
Back to top
View user's profile Send private message
qkita
n00b
n00b


Joined: 15 Apr 2011
Posts: 1

PostPosted: Fri Apr 15, 2011 7:42 pm    Post subject: Re: Pango problem, 32/64bit (solved) Reply with quote

Same problem, same fix !!!!! too!!
Thank you very much!!!!!!!!!! :D

I'm runnig:
acroread 9.4.2
/emul-linux-x86-gtklibs-20110129
pango 1.28.3-r1
Back to top
View user's profile Send private message
Erlend
Guru
Guru


Joined: 26 Dec 2004
Posts: 493

PostPosted: Tue May 10, 2011 6:25 pm    Post subject: Reply with quote

This was very helpful for me also - thank you very much.

Funny though that I got this error on only one of two amd64 Gentoo machines I installed recently.
_________________
Thunar-thumbnailers
Raw-thumbnailer
http://brainstorm.ubuntu.com/idea/6878/image/1/
Back to top
View user's profile Send private message
lkraav
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2004
Posts: 129
Location: Estonia

PostPosted: Wed Oct 16, 2013 7:18 pm    Post subject: Reply with quote

Thanks dude, this worked.

I wonder if /etc/pango/pango.modules is used at all on multilib system?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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