[Gimp-user] Fonts not available in text Tool



Hello,

I have packaged gimp for a linux distribution and when using gimp I get the
following:

 Due to lack of any fonts, text functionality is not available.

If I try to use the text tool, I can't write, because no fonts are available. 

On my system I have: dejavu, liberation. As I have seen, I need to run fc-cache
such that the fonts will be found. The must be available in
/var/cache/fontconfig. There, I have the following:

ls -l /var/cache/fontconfig/
total 80
-rw-r--r--    1 root     root         48208 Nov 22 23:35
2c204173d3592afc30a350ed81f64c67-le64.cache-7
-rw-r--r--    1 root     root           168 Nov 22 23:35
3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7
-rw-r--r--    1 root     root           200 Dec 18 20:34 CACHEDIR.TAG
-rw-r--r--    1 root     root           144 Nov 22 23:35
c855463f699352c367813e37f3f70ea7-le64.cache-7
-rw-r--r--    1 root     root         20064 Nov 22 23:35
f6b893a7224233d96cb72fd88691c0b4-le64.cache-7

I have run fc-cache, it didn't help.

I had to compile gimp and build it from source. I compiled it with the
following:

-------------------------
./configure \
    --prefix=/usr \
    --libexecdir=/usr/bin \
    --disable-altivec \
    --disable-static \
    --disable-python \
    --disable-nls \
    --without-lcms \
    --without-webkit

make
-------------------------

Fontconfig is installed, with fc-list I get:

--------------
/usr/share/fonts/X11/TTF/DejaVuSerif-Italic.ttf: DejaVu Serif:style=Italic
/usr/share/fonts/X11/TTF/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book
/usr/share/fonts/X11/TTF/DejaVuSansCondensed-Bold.ttf: DejaVu Sans,DejaVu Sans
Condensed:style=Condensed Bold,Bold
/usr/share/fonts/TTF/LiberationSans-Italic.ttf: Liberation Sans:style=Italic
/usr/share/fonts/X11/TTF/DejaVuSans-Bold.ttf: DejaVu Sans:style=Bold
/usr/share/fonts/TTF/LiberationMono-Regular.ttf: Liberation Mono:style=Regular
/usr/share/fonts/X11/TTF/DejaVuSerif-BoldItalic.ttf: DejaVu Serif:style=Bold
Italic
/usr/share/fonts/X11/TTF/DejaVuSansCondensed-Oblique.ttf: DejaVu Sans,DejaVu
Sans Condensed:style=Condensed Oblique,Oblique
/usr/share/fonts/TTF/LiberationSans-Bold.ttf: Liberation Sans:style=Bold
/usr/share/fonts/TTF/LiberationMono-BoldItalic.ttf: Liberation Mono:style=Bold
Italic
/usr/share/fonts/TTF/LiberationSans-Regular.ttf: Liberation Sans:style=Regular
/usr/share/fonts/TTF/LiberationSerif-Bold.ttf: Liberation Serif:style=Bold
/usr/share/fonts/X11/TTF/DejaVuSerifCondensed-BoldItalic.ttf: DejaVu
Serif,DejaVu Serif Condensed:style=Condensed Bold Italic,Bold Italic
/usr/share/fonts/X11/TTF/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold
/usr/share/fonts/X11/TTF/DejaVuSerifCondensed.ttf: DejaVu Serif,DejaVu Serif
Condensed:style=Condensed,Book
/usr/share/fonts/TTF/LiberationMono-Italic.ttf: Liberation Mono:style=Italic
/usr/share/fonts/X11/TTF/DejaVuSerif.ttf: DejaVu Serif:style=Book
/usr/share/fonts/TTF/LiberationSerif-Italic.ttf: Liberation Serif:style=Italic
/usr/share/fonts/X11/TTF/DejaVuMathTeXGyre.ttf: DejaVu Math TeX
Gyre:style=Regular
/usr/share/fonts/TTF/LiberationSans-BoldItalic.ttf: Liberation Sans:style=Bold
Italic
/usr/share/fonts/TTF/LiberationSerif-BoldItalic.ttf: Liberation Serif:style=Bold
Italic
/usr/share/fonts/X11/TTF/DejaVuSans.ttf: DejaVu Sans:style=Book
/usr/share/fonts/TTF/LiberationSerif-Regular.ttf: Liberation Serif:style=Regular
/usr/share/fonts/X11/TTF/DejaVuSans-Oblique.ttf: DejaVu Sans:style=Oblique
/usr/share/fonts/X11/TTF/DejaVuSerifCondensed-Italic.ttf: DejaVu Serif,DejaVu
Serif Condensed:style=Condensed Italic,Italic
/usr/share/fonts/X11/TTF/DejaVuSansMono-Oblique.ttf: DejaVu Sans
Mono:style=Oblique
/usr/share/fonts/X11/TTF/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans
Mono:style=Bold Oblique
/usr/share/fonts/X11/TTF/DejaVuSansCondensed-BoldOblique.ttf: DejaVu Sans,DejaVu
Sans Condensed:style=Condensed Bold Oblique,Bold Oblique
/usr/share/fonts/X11/TTF/DejaVuSansCondensed.ttf: DejaVu Sans,DejaVu Sans
Condensed:style=Condensed,Book
/usr/share/fonts/X11/TTF/DejaVuSans-ExtraLight.ttf: DejaVu Sans,DejaVu Sans
Light:style=ExtraLight
/usr/share/fonts/TTF/LiberationMono-Bold.ttf: Liberation Mono:style=Bold
/usr/share/fonts/X11/TTF/DejaVuSerif-Bold.ttf: DejaVu Serif:style=Bold
/usr/share/fonts/X11/TTF/DejaVuSerifCondensed-Bold.ttf: DejaVu Serif,DejaVu
Serif Condensed:style=Condensed Bold,Bold
/usr/share/fonts/X11/TTF/DejaVuSans-BoldOblique.ttf: DejaVu Sans:style=Bold
Oblique
---------------------

So I have no idea why I can't write text on a picture in gimp. 

Does somebody have an idea ? Thank you!

-- 
Rocket (via www.gimpusers.com/forums)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]