Fonts not available in text Tool
This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
Fonts not available in text Tool | Rocket | 27 Dec 13:23 |
Fonts not available in text Tool | Rocket | 27 Dec 13:34 |
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)
Fonts not available in text Tool
Sorry, it's the first time I post here. Again the console output with a better layout:
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-webkitmake
-------------------------Fontconfig is installed, with fc-list I get:
-------------- /usr/share/fonts/X11/TTF/DejaVuSerif-Italic.ttf: DejaVuSerif:style=Italic /usr/share/fonts/X11/TTF/DejaVuSansMono.ttf: DejaVu SansMono:style=Book /usr/share/fonts/X11/TTF/DejaVuSansCondensed-Bold.ttf: DejaVu>Sans,DejaVu
SansCondensed:style=Condensed Bold,Bold
/usr/share/fonts/TTF/LiberationSans-Italic.ttf: LiberationSans:style=Italic /usr/share/fonts/X11/TTF/DejaVuSans-Bold.ttf: DejaVu Sans:style=Bold
/usr/share/fonts/TTF/LiberationMono-Regular.ttf: LiberationMono:style=Regular
/usr/share/fonts/X11/TTF/DejaVuSerif-BoldItalic.ttf:
DejaVuSerif:style=BoldItalic
/usr/share/fonts/X11/TTF/DejaVuSansCondensed-Oblique.ttf: DejaVuSans,DejaVuSans
Condensed:style=Condensed blique,Oblique
/usr/share/fonts/TTF/LiberationSans-Bold.ttf: LiberationSans:style=Bold
/usr/share/fonts/TTF/LiberationMono-BoldItalic.ttf: LiberationMono:style=BoldItalic
/usr/share/fonts/TTF/LiberationSans-Regular.ttf: LiberationSans:style=Regular /usr/share/fonts/TTF/LiberationSerif-Bold.ttf: LiberationSerif:style=Bold /usr/share/fonts/X11/TTF/DejaVuSerifCondensed-BoldItalic.ttf:
DejaVuSerif,DejaVu Serif Condensed:style=Condensed Bold Italic,Bold Italic
/usr/share/fonts/X11/TTF/DejaVuSansMono-Bold.ttf: DejaVu SansMono:style=Bold /usr/share/fonts/X11/TTF/DejaVuSerifCondensed.ttf: DejaVu
Serif,DejaVuSerifCondensed:style=Condensed,Book
/usr/share/fonts/TTF/LiberationMono-Italic.ttf: LiberationMono:style=Italic /usr/share/fonts/X11/TTF/DejaVuSerif.ttf: DejaVu Serif:style=Book /usr/share/fonts/TTF/LiberationSerif-Italic.ttf: LiberationSerif:style=Italic /usr/share/fonts/X11/TTF/DejaVuMathTeXGyre.ttf: DejaVu Math
TeXGyre:style=Regular
/usr/share/fonts/TTF/LiberationSans-BoldItalic.ttf:
LiberationSans:style=BoldItalic
/usr/share/fonts/TTF/LiberationSerif-BoldItalic.ttf:
LiberationSerif:style=BoldItalic
/usr/share/fonts/X11/TTF/DejaVuSans.ttf: DejaVu Sans:style=Book /usr/share/fonts/TTF/LiberationSerif-Regular.ttf: LiberationSerif:style=Regular /usr/share/fonts/X11/TTF/DejaVuSans-Oblique.ttf: DejaVuSans:style=Oblique /usr/share/fonts/X11/TTF/DejaVuSerifCondensed-Italic.ttf:
DejaVuSerif,DejaVuSerif Condensed:style=Condensed Italic,Italic
/usr/share/fonts/X11/TTF/DejaVuSansMono-Oblique.ttf: DejaVu
SansMono:style=Oblique
/usr/share/fonts/X11/TTF/DejaVuSansMono-BoldOblique.ttf: DejaVu
SansMono:style=Bold Oblique
/usr/share/fonts/X11/TTF/DejaVuSansCondensed-BoldOblique.ttf:
DejaVuSans,DejaVuSans Condensed:style=Condensed Bold Oblique,Bold Oblique
/usr/share/fonts/X11/TTF/DejaVuSansCondensed.ttf: DejaVu
Sans,DejaVuSansCondensed:style=Condensed,Book
/usr/share/fonts/X11/TTF/DejaVuSans-ExtraLight.ttf: DejaVu
Sans,DejaVuSansLight:style=ExtraLight
/usr/share/fonts/TTF/LiberationMono-Bold.ttf: LiberationMono:style=Bold /usr/share/fonts/X11/TTF/DejaVuSerif-Bold.ttf: DejaVu Serif:style=Bold /usr/share/fonts/X11/TTF/DejaVuSerifCondensed-Bold.ttf: DejaVuSerif,DejaVuSerif
Condensed:style=Condensed Bold,Bold
/usr/share/fonts/X11/TTF/DejaVuSans-BoldOblique.ttf:
DejaVuSans:style=BoldOblique
---------------------
Rocket (via www.gimpusers.com/forums)