Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fonts not available in text Tool
#1
Hello, I have installed gimp 2.10.12 (I have the same problem for 2.10.14) on Linux (Kiss Linux). When
I try to add some text on a picture, I get:


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


So I can't add text on a picture. On my system I have the following fonts:
  • dejavu
  • liberation
I have run fc-cache, but it didn't help. Fontconfig is installed. I have the following in /var/cache/fontconfig:


Code:
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


With fc-list I get:

Code:
/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


In Kiss Linux, each package is built from source. Because it isn't packaged, I have created a package. I compiled
gimp with the following:

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

make


In Kiss Linux, intltool isn't packaged, so I had to remove everything concerning internationalization from code. My build compiled, but perhaps I removed something
which is needed to add text. I applied the following patches:

- patch to remove intltool dependency
- patch to remove translation directory

As I understand, the dependency glib-networking is only used for documentation. I also remove this dependency.

- patch to remove glib-networking

At start, gimp is a little slow, but all tools I have tested until now works. Perhaps there is a better way to remove internationalization. I have tested other "paint" software, for example
imagemagick and I can add text on a picture without problems. Do somebody has an idea what to check and what could be wrong ?
Thank you!
Reply


Messages In This Thread
Fonts not available in text Tool - by Rocket - 01-02-2020, 09:05 AM
RE: Fonts not available in text Tool - by Ofnuts - 01-02-2020, 11:08 AM
RE: Fonts not available in text Tool - by Rocket - 01-02-2020, 05:52 PM
RE: Fonts not available in text Tool - by Rocket - 01-02-2020, 10:52 PM

Forum Jump: