← Back to team overview

canonical-partner-dev team mailing list archive

[Bug 783207] Re: Fonts tab crashes app

 

Got it.

I believe it should only happen on 64 bit platform.  This is the result
of a failure in loading appropriate 32 bit libraries when running a 32
bit application.

Workaround

1) Become root and as root do

2) gtk-query-immodules-2.0 | sed 's"/usr/lib/"/usr/lib32/"g' >
/etc/gtk-2.0/gtk-immodules.loaders32

3) gdk-pixbuf-query-loaders | sed 's"/usr/lib/"/usr/lib32/"g' >
/etc/gtk-2.0/gdk-pixbuf.loaders32

4) Assure that both /etc/gtk-2.0/gtk-immodules.loaders32 and
/etc/gtk-2.0/gdk-pixbuf.loaders32 are readable by any user

5) edit /opt/Adobe/Reader9/bin/acroread and change the line

exec ${1+"$@"}

in the LaunchBinary() function into

GTK_IM_MODULE_FILE=/etc/gtk-2.0/gtk-immodules.loaders32
GDK_PIXBUF_MODULE_FILE=/etc/gtk-2.0/gdk-pixbuf.loaders32 exec ${1+"$@"}

6) exit root shell giving up superpowers and as a normal user try
acroread again

This should also get rid of many gtk errors.

-- 
You received this bug notification because you are a member of Canonical
Partner Developers, which is subscribed to acroread in Ubuntu.
https://bugs.launchpad.net/bugs/783207

Title:
  Fonts tab crashes app


References