Red Hat Bugzilla – Bug 74670
gimp tries to load wrong font size
Last modified: 2007-04-18 12:46:55 EDT
Description of Problem:
For certain fonts (e.g. lucida, adobe helvetica) the font size you select
is not the one that it tries to use when you actually go to paste the text
into image, resulting in a "font not found error".
Version-Release number of selected component (if applicable):
Red Hat Linux 7.3, Gimp 1.2.3
Steps to Reproduce:
1. Create a new image (File/New)
2. Use the "Text" too (right mouse, Tools/Text)
3. Click a location in the image where the text will be placed.
4. In the text tool dialog, select: helvetica (adobe), medium, metric:
pixels, 24 pixels
5. Click "OK" in the text tool dialog.
Error message pops up: "Font
'-adobe-helvetica-medium-r-normal-*-72-*-*-*-p-*-iso10646-1' not found."
Note that it seems to be trying to use a 72 pixel font when we selected 24
pixels. The error message occurs because there is no 72 pixel font.
Similarly, if we had chosen 10 pixel adobe helvetica, we would have gotten
an error message indicating that it was missing a 30 pixel font. Note that
the font displays just fine in the text tool dialog itself, and if we click
on the "Font Information" tab in the text tool dialog the font name listed
has the correct size. It is only when we click "OK" in the text tool
dialog and try to use the font that things go wrong. I have no problem
displaying the font with xfontsel.
RHL7.3 is end-of-life, I guess current gimp doesn't have that problem,
please reopen if not.