You are not logged in.
Pages: 1
Per the advice received in a post about fonts I installed Gimp. I used 'pacman -S Gimp'. It seemed to go OK. I can run it. However when I try to use the File > Open dialog, it displays the usual KDE-style browser for a split-second and then exits totally.
Any ideas?
Jim
Offline
open the program from the console and post here what the program outputs.
Offline
Hi Pajaro
OK. I tried a fix that dibblethewrecker suggested in a post here (for refreshing the fonts after attempts to fix them);
http://bbs.archlinux.org/viewtopic.php?t=9651
This helped and Gimp will now open a file from the File > Open dialog. However when I run it from a console as you suggest I get this (as it's starting up);
Fontconfig error: "local.conf", line 39: no element found
Fontconfig error: "local.conf", line 39: no element found
[root@BerettaJ ~]#
Here's my local.conf ;
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file to configure system font access -->
<fontconfig>
         <match target="font">
            <edit name="antialias" mode="assign"><bool>true</bool></edit>
             <edit name="autohinting" mode="assign"><bool>true</bool></edit>
         </match>
         <match target="pattern">
                 <edit name="dpi" mode="assign"><double>85</double></edit>
         </match>
         <!--  Dongs  -->
         <alias>
                 <family>serif</family>
                 <prefer>
                         <family>Bitstream Vera Serif</family>
                 </prefer>
         </alias>
         <alias>
                 <family>sans-serif</family>
                 <prefer>
                         <family>Bitstream Vera Sans</family>
                 </prefer>
         </alias>
         <alias>
                 <family>monospace</family>
                 <prefer>
                         <family>Bitstream Vera Sans Mono</family>
                 </prefer>
         </alias>
          <match target="font">
                <edit name="rgba" mode="assign">
                        <const>rgb</const>
                </edit>
   </match>
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/home/xerxes2/.config/fonts/texcm-ttf</dir>
Any ideas??
Jim
Offline
i think that you'll be missing a font-package. try installing all packages which name matches ttf or font. (all font packages)
Offline

Offline
..and take away my fonts dir, they are last in the file,
Edit: My fault I see, that tag was missing in the file I posted in the other thread,
arch + gentoo + initng + python = enlisy
Offline

My fault I see, that tag was missing in the file I posted in the other thread,
bad xerxes, bad! *smacks xerxes with a rolled up newspaper*
Offline
:oops:
arch + gentoo + initng + python = enlisy
Offline
 
 
You guys are hilarious.
I made the changes to local.conf that were suggested, opened a console and ran Gimp. It started (the previous "element" complaints are gone) ok. However, when I tried File > Open it crashed again and the console has this:
[root@BerettaJ ~]# gimp
Pango-ERROR **: file pangofc-fontmap.c: line 1288 (pango_fc_font_description_from_pattern): assertion failed: (res == FcResultMatch)
aborting...
gimp: terminated: Aborted
(script-fu:8513): LibGimpBase-WARNING **: script-fu: wire_read(): error
[root@BerettaJ ~]#
As I said, it tried to open the file slection/browser window and then vanished.
Any ideas?
Thanks
Jim
Offline
you have to set the "dpi" value so it match your own monitor,
85 is for a 15" flatscreen,
arch + gentoo + initng + python = enlisy
Offline
xerxes2,
I reset the monitor calibration and it still fails. I removed Gimp (using pacman) and re-installed and it still fails.  If the 85 you mentioned is from the line ;
(script-fu:8513): LibGimpBase-WARNING **: script-fu: wire_read(): error
It now produces :
(script-fu:11656): LibGimpBase-WARNING **: script-fu: wire_read(): error
The 116 part bears no relation to anything I can find.
Jim
Offline
I meant 85 dpi from /etc/fonts/local.conf , 
you should put in your monitors value instead,
arch + gentoo + initng + python = enlisy
Offline
Pages: 1