You are not logged in.

#1 2005-02-01 01:04:36

MillTek
Member
Registered: 2005-01-30
Posts: 442

Problem with Gimp

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

#2 2005-02-01 11:51:04

Pajaro
Member
Registered: 2004-04-21
Posts: 878

Re: Problem with Gimp

open the program from the console and post here what the program outputs.

Offline

#3 2005-02-01 14:03:07

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Problem with Gimp

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

#4 2005-02-01 19:31:51

Pajaro
Member
Registered: 2004-04-21
Posts: 878

Re: Problem with Gimp

i think that you'll be missing a font-package. try installing all packages which name matches ttf or font. (all font packages)

Offline

#5 2005-02-01 19:35:12

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Problem with Gimp

add

</fontconfig>

to the last line of local.conf

Offline

#6 2005-02-01 20:00:50

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Problem with Gimp

..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

#7 2005-02-01 20:10:02

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Problem with Gimp

xerxes2 wrote:

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

#8 2005-02-01 21:16:28

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Problem with Gimp

:oops:


arch + gentoo + initng + python = enlisy

Offline

#9 2005-02-01 21:58:24

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Problem with Gimp

lol

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

#10 2005-02-01 22:43:08

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Problem with Gimp

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

#11 2005-02-02 01:35:13

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Problem with Gimp

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

#12 2005-02-02 18:10:48

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Problem with Gimp

I meant 85 dpi from /etc/fonts/local.conf ,
you should put in your monitors value instead,


arch + gentoo + initng + python = enlisy

Offline

Board footer

Powered by FluxBB