After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 104364 - Does not start without TrueTypes
Does not start without TrueTypes
Status: RESOLVED INVALID
Product: GIMP
Classification: Other
Component: General
1.x
Other Linux
: Normal minor
: 2.0
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2003-01-24 20:24 UTC by Martin Weber
Modified: 2003-11-02 15:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Here is my font.conf (6.27 KB, text/plain)
2003-01-27 16:31 UTC, Martin Weber
Details

Description Martin Weber 2003-01-24 20:24:45 UTC
When I start gimp I get:

No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

My fonts.conf was all okay. I tracked it down and found that gimp only 
starts when at least one TrueType font is installed. I had several 
screenfonts and Type1 fonts installed, but gimp only starts with TrueType.
Comment 1 Sven Neumann 2003-01-25 12:03:23 UTC
The text tool needs at least one font configured for use by PangoFT2
and this does _not_ have to be a TrueType font.

Could you please attach the fonts.conf that you claim would be OK ?
Anyway, there is not much we can do about this since the error message
is from Pango and Pango also quits the application if not at least one
font is present.
Comment 2 Raphaël Quinet 2003-01-27 14:19:13 UTC
I think that the dependency on PangoFT2 for the text tool is an issue
that is worth a discussion on the developers mailing list.  I have a
large number of high-quality bitmap fonts on my Solaris box and I use
them frequently with gimp-1.2.x.  They are not scalable, but they look
very good at small point sizes.  I also have some Type1 scalable fonts
but no TrueType fonts.  I recently started using a remote font server
from a Linux box in order to be able to use some TrueType fonts, but I
found that some of these free fonts have bad mapping tables and are
not usable by PangoFT2, although they work fine in other programs (as
long as you stick to the ASCII chars and do not try other encodings).
As a result, gimp-1.2.x works fine and has a bit more than 480 unique
fonts available (more than 4000 in total, if the various sizes are
counted).  But gimp-1.3.x cannot start unless I use the remote font
server, and then it can only use about 10 fonts (the MS web fonts that
I saved before MS stopped distributing them).

A related problem is described in bug #101856 (PangoFT2 and Unicode
charmaps).
Comment 3 Sven Neumann 2003-01-27 15:07:30 UTC
You should be able to use almost all your fonts with PangoFT2. Only
those that are considerably broken won't work. Freetype renders Type1
fonts and I think it can also handle your bitmap fonts. The latter
might need some special handling in the text tool.
Comment 4 Martin Weber 2003-01-27 16:31:52 UTC
Created attachment 13852 [details]
Here is my font.conf
Comment 5 Martin Weber 2003-02-24 12:00:40 UTC
Did you analyse it?
Comment 6 Sven Neumann 2003-02-24 13:30:11 UTC
Your font configuration looks fine to me but I couldn't reprocude your
problem and I have no idea what could be causing it.
Comment 7 Sven Neumann 2003-03-07 17:13:17 UTC
I might be wrong but I think you need to run fc-cache as root in order
to generate the fontconfig cache files in your font directories.

Could you please check if that fixes your problem and report back ?
Comment 8 Martin Weber 2003-03-08 16:52:58 UTC
No that does not fix it. As soon as I remove all Truetype fonts it 
does not start and as soon as I add one it starts.
Comment 9 Sven Neumann 2003-05-05 16:44:28 UTC
Raphael, for your information: After Yosh's and my latest changes you
can now use bitmap fonts with PangoFT2 and GIMP.
Comment 10 Alan Horkan 2003-07-23 18:37:59 UTC
Changes at the request of Dave Neary on the developer mailing list.  
I am changing many of the bugzilla reports that have not specified a target
milestone to Future milestone.  Hope that is acceptable.  
Comment 11 Tomas Mraz 2003-07-24 14:49:10 UTC
This could be fixed in the pre 2.0 stage or in the future.

Comment 12 Sven Neumann 2003-11-02 15:23:05 UTC
This report is simply bogus. I verified that GIMP does indeed work w/o
any TrueType fonts. All it needs is at least one single font. The
problem with your fonts.conf is that you explicitely alias Sans to a
couple of TrueType fonts you don't install. If you remove these lines,
GIMP will work with nothing but Type1 fonts.