Solucionando problemas de visualização do Adobe Reader no FC6
Instalação • Uso • Questões sobre PDF • Outros |
Certifique-se de instalar a útlima versão estável do Scribus antes de continuar.
Impressão
A impressão diretamente através do Scribus pode não funcionar no Fedora Core 6 se o mesmo método e configurações do Fedora Core 5 forem utilizados. Aparentemente, um mesnagem de erro é gerada e não há a impressão.
Para corrigir isso, marque a caixa Comando alternativo de impressão e entre com o seguinte texto na caixa Comando:
lp -dnome-da-sua-impressora
Por exemplo, minha impressora chama-se Laser, então:
lp -dlaser
Adobe Reader
If you use either the tar.gz or .rpm files for Adobe Reader 7.08, it will not work. The fix for this is to open /usr/bin/acroread as root (or with sudo) into a text editor (this will be a link to the "real" file, but nonetheless you will be editing the real one). There are two lines that need to be edited.
Look for this line, at about line number 418:
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
and change to:
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
Note: you are adding an asterix in about the middle
The other line is at about line number 643:
MIN_GTK_VERSION="240"
which needs to be changed to:
MIN_GTK_VERSION="2040"
Save the file, and you're done.
You might also try, instead of the last change, changing the line (number should be about 644)
check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION"
to
#check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION"
so that you don't even check the Gtk version.
If none of these work, try this -- in the CLI type:
export GTK_IM_MODULE=xim acroread
If that helps, you can then modify the acroread script by adding
# "SCIM hack" # check if we have a scim GTK module load, and overwrite it to avoid crash if [ $GTK_IM_MODULE = "scim" ]; then export GTK_IM_MODULE=xim fi
Just before these lines, which are at about line 648:
# # Setup configuration specific environment variables #