Can anyone give me some pointers on getting GIMP to handle TTFonts under SuSE 7.3? Thanks, Eric Ps. Sorry if this has been hashed over already (I'm guessing it has). __________________________________________________ Do You Yahoo!? Got something to say? Say it better with Yahoo! Video Mail http://mail.yahoo.com
Eric Pierce <eric_suse@yahoo.com> writes:
Can anyone give me some pointers on getting GIMP to handle TTFonts under SuSE 7.3?
There seems to nothing special to do, for TTFonts it just works. There are problems with Bitmap fonts and some Type1 fonts, but I never encountered problems with TrueType fonts in Gimp. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
Can anyone give me some pointers on getting GIMP to handle TTFonts under SuSE 7.3?
There seems to nothing special to do, for TTFonts it just works. There are problems with Bitmap fonts and some Type1 fonts, but I never encountered problems with TrueType fonts in Gimp.
-- Mike Fabian <mfabian@suse.de>
Your (Mike Fabian's) site got me up to speed. www.suse.com/~mfabian/suse-cjk/installing-tt-fonts-X11.html I also removed spaces & made everything lowercase in the filenames as per this link... http://sdb.suse.de/en/sdb/html/jkoeke_truetype.html All the new TTFont names show up in GIMP. The TTFonts that work, work very well, but the majority of the fonts give me the following error when I try add text with the 'text' tool: Font '<font name>' not found. I've been searching the net for some clues... but I have yet to stumble upon an answer. Any one have this problem before? Thanks, Eric __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
On Tuesday 19 February 2002 06:29, Eric Pierce wrote: <snip>
All the new TTFont names show up in GIMP. The TTFonts that work, work very well, but the majority of the fonts give me the following error when I try add text with the 'text' tool: Font '<font name>' not found.
I've been searching the net for some clues... but I have yet to stumble upon an answer.
Any one have this problem before?
Yes, I am and some others are, too... I was told that somebody at SuSE was working on that... but it seems that nothing has happened so far, as there is no entry in the sdb yet... Hansen -- Powered by SuSE 7.3 - Linux 2.4.10-4GB KDE 2.2.1 - KMail 1.3.1
On Tuesday 19 February 2002 05:35, Eric wrote:
All the new TTFont names show up in GIMP. The TTFonts that work, work very well, but the majority of the fonts give me the following error when I try add text with the 'text' tool: Font '<font name>' not found.
Add me to the list. On my SuSE 7.3 system, probably 20 fonts are listed in the text tool. About 5 of them work. All the rest say "not found." What I'd like to know is, why are they in the list if they are "not found?" ************************************** Powered by Mandrake Linux 7.2 KDE 2.0 KMail 1.1.99 Bryan S. Tyson bryantyson@earthlink.net **************************************
On Tuesday 19 February 2002 17:15, Bryan S.Tyson wrote:
On Tuesday 19 February 2002 05:35, Eric wrote:
All the new TTFont names show up in GIMP. The TTFonts that work, work very well, but the majority of the fonts give me the following error when I try add text with the 'text' tool: Font '<font name>' not found.
Add me to the list. On my SuSE 7.3 system, probably 20 fonts are listed in the text tool. About 5 of them work. All the rest say "not found." What I'd like to know is, why are they in the list if they are "not found?"
If have asked that on several lists and never gotten an answer... I think it's really strange that they're listed and even displayed correctly in the text tool dialog, but still obviously broken... ??? Hansen -- Powered by SuSE 7.3 - Linux 2.4.10-4GB KDE 2.2.1 - KMail 1.3.1
Eric Pierce <eric_suse@yahoo.com> writes:
Can anyone give me some pointers on getting GIMP to handle TTFonts under SuSE 7.3?
There seems to nothing special to do, for TTFonts it just works. There are problems with Bitmap fonts and some Type1 fonts, but I never encountered problems with TrueType fonts in Gimp.
-- Mike Fabian <mfabian@suse.de>
Your (Mike Fabian's) site got me up to speed. www.suse.com/~mfabian/suse-cjk/installing-tt-fonts-X11.html
[...]
All the new TTFont names show up in GIMP. The TTFonts that work, work very well, but the majority of the fonts give me the following error when I try add text with the 'text' tool: Font '<font name>' not found.
I've been searching the net for some clues... but I have yet to stumble upon an answer.
First a description of the problem (Solution below): 1) Problems with scalable fonts: Although all TT fonts installed on my system worked for me, I heard problem reports from other people, therefore Holger Hetterich and me investigated the problem to day. It seems that a patch added by SuSEKorea which used gdk_fontset_load instead of gdk_font_load caused problems with some scalable fonts. All types of scalable fonts (TrueType, Type1, CID-keyed) seem to work fine without this patch, whereas there are problems with some fonts when this patch is applied. As far as I can see, this patch doesn't have *any* advantage, the selection in the text tool of Gimp returns a single font, not a font set, Korean fonts (and other Asian fonts) still work fine even without this patch. Therefore we removed this fontset patch. 2) Problems with Bitmap fonts: Almost all directories with Bitmap fonts currently have ":unscaled" added to the font path by default in SuSE Linux (See the font paths in /etc/X11/XF86config). The text tool of Gimp almost always tries to scale the fonts, even the bitmap fonts. When scaling of bitmap fonts is disabled because ":unscaled" has been added to a bitmap font directory, Gimp still requests a scaled bitmap font and fails. Removing the ":unscaled" would make it work for some bitmap fonts, but this is not a good solution. The ":unscaled" is there for a reason. For example, if scaling of bitmap fonts is allowed, the default setup of KDE becomes unbearably ugly on some display resolutions. And, even without ":unscaled", Gimp still fails to load many bitmap fonts, because Gimp often tries to request the fonts with a different resolution. For example, the GNU-Unicode bitmap font actually is available in the following size and resolution: -gnu-unifont-medium-r-normal--16-160-75-75-p-80-iso10646-1 After Removing the ":unscaled" from the /usr/X11R6/lib/X11/fonts/uni fontpath, the GNU-Unicode font is also available in the following pattern: -gnu-unifont-medium-r-normal--0-0-75-75-p-0-iso10646-1 The '0' can be replaced by any size and one will get a scaled bitmap font. I.e. the following font could be successfully requested: -gnu-unifont-medium-r-normal--21-0-75-75-p-0-iso10646-1 but scaling a 16 pixel bitmap font to 21 pixel gives a ugly result. Requesting a different resolution from '75' would not work, i.e. -gnu-unifont-medium-r-normal--21-0-72-72-p-0-iso10646-1 would not work. And Gimp tries to request a changed resolution for bitmap fonts most of the time, therefore bitmap fonts don't work most of the time. Holger and me fixed this by disabling scaling and antialiasing for bitmap fonts in Gimp completely. Scaling and antialiasing for bitmap fonts doesn't really make much sense anyway, if one wants to use scaling and antialiasing, one should use scalable fonts like TrueType, Type1 or CID-keyed fonts. Bitmap fonts look best in their original size. New gimp packages without the Korean fontset patch and with the patch disabling scaling and antialiasing for bitmap fonts are available here: ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-1.2.2-245.i386.rpm ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-1.2.2-245.src.rpm ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-devel-1.2.2-245.i386.rpm ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimphelp-1.2.2-245.i386.rpm Please test. We tested tons of scalable fonts and they all seem to work perfectly now. All bitmap fonts work as well, but as explained above they are used only in their native pixel size and not scaled. I believe it is better like that, scaled bitmap fonts are unbearably ugly and there are enough scalable fonts available to make scaled bitmap fonts superfluous. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
On Wednesday 20 February 2002 02:36, Mike Fabian wrote: <snipped a lot>
New gimp packages without the Korean fontset patch and with the patch disabling scaling and antialiasing for bitmap fonts are available here:
ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-1.2.2-245.i386.rpm ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-1.2.2-245.src.rpm ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-devel-1.2.2-245.i386.rp m ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimphelp-1.2.2-245.i386.rpm
Please test.
I did... installed the rpm and checked all the fonts I have on my system... they all work now... no more "Font 'xxx' not found" err msgs... thanx alot guys! Hansen -- Powered by SuSE 7.3 - Linux 2.4.10-4GB KDE 2.2.1 - KMail 1.3.1
New gimp packages without the Korean fontset patch and with the patch disabling scaling and antialiasing for bitmap fonts are available here:
ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-1.2.2-245.i386.rpm
ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-1.2.2-245.src.rpm
ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-devel-1.2.2-245.i386.rpm
ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimphelp-1.2.2-245.i386.rpm
Please test.
All the TTfonts seem to work now (yes!), but the nice smoothing (anti-alias like) effect applied to the edges of letters seems to have been disabled in the new builds... Could someone else verify if they're having this same problem? Thanks, Eric __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
On Thursday 21 February 2002 11:07, Eric Pierce wrote:
New gimp packages without the Korean fontset patch and with the patch disabling scaling and antialiasing for bitmap fonts are available here: <snip> Please test.
All the TTfonts seem to work now (yes!), but the nice smoothing (anti-alias like) effect applied to the edges of letters seems to have been disabled in the new builds...
Could someone else verify if they're having this same problem?
I guess I see the same here... but thought it must've been my mistake... obviously not? Hansen -- Powered by SuSE 7.3 - Linux 2.4.10-4GB KDE 2.2.1 - KMail 1.3.1
Eric Pierce <eric_suse@yahoo.com> writes:
New gimp packages without the Korean fontset patch and with the patch disabling scaling and antialiasing for bitmap fonts are available here:
ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-1.2.2-245.i386.rpm ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-1.2.2-245.src.rpm ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimp-devel-1.2.2-245.i386.rpm ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/gimphelp-1.2.2-245.i386.rpm
Please test.
All the TTfonts seem to work now (yes!), but the nice smoothing (anti-alias like) effect applied to the edges of letters seems to have been disabled in the new builds...
Could someone else verify if they're having this same problem?
Sorry, my mistake, wanted to disable antialiasing only for non-scalable fonts but accidentally I disabled it for for all fonts. I have fixed this now. New packages are here: ncftp /pub/people/mfabian > pwd ftp://ftp.suse.com/pub/people/mfabian/ ncftp /pub/people/mfabian > ls -l */gimp* -rw-r--r-- 1 suse suse 7800827 21 14:51 7.3-i386/gimp-1.2.2-245.i386.rpm -rw-r--r-- 1 suse suse 272717 21 14:51 7.3-i386/gimp-devel-1.2.2-245.i386.rpm -rw-r--r-- 1 suse suse 348418 21 14:51 7.3-i386/gimphelp-1.2.2-245.i386.rpm -rw-r--r-- 1 suse suse 9855919 21 14:53 7.3-src/gimp-1.2.2-245.src.rpm ncftp /pub/people/mfabian > The mirrors may need some time to sync, look for the timestamp of the files. You can now even use the bitmap fonts with antialiasing *if* you remove the ':unscaled' from the font directory. For example: ~$ xset fp- /usr/X11R6/lib/X11/fonts/misc:unscaled ~$ xset fp+ /usr/X11R6/lib/X11/fonts/misc ~$ xset fp rehash If you do that, the bitmap fonts in the 'misc' directory become scalable and can be antialiased like the 'real' scalable TrueType, Type1 or CID-keyed fonts. But of course it will be quite ugly for bitmap fonts and it may cause other applications to display very ugly, scaled bitmap fonts. Therefore I recommend to stay with the default and leave the ':unscaled' in place. Then bitmap fonts will be used without antialiasing and TrueType, Type1 and CID-keyed fonts can be used with antialiasing. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
All the TTfonts seem to work now (yes!), but the
smoothing (anti-alias like) effect applied to the edges of letters seems to have been disabled in
nice the
new builds...
Could someone else verify if they're having this same problem?
Sorry, my mistake, wanted to disable antialiasing only for non-scalable fonts but accidentally I disabled it for for all fonts. I have fixed this now.
New packages are here:
ncftp /pub/people/mfabian > pwd ftp://ftp.suse.com/pub/people/mfabian/ ncftp /pub/people/mfabian > ls -l */gimp* -rw-r--r-- 1 suse suse 7800827 21 14:51 7.3-i386/gimp-1.2.2-245.i386.rpm -rw-r--r-- 1 suse suse 272717 21 14:51 7.3-i386/gimp-devel-1.2.2-245.i386.rpm -rw-r--r-- 1 suse suse 348418 21 14:51 7.3-i386/gimphelp-1.2.2-245.i386.rpm -rw-r--r-- 1 suse suse 9855919 21 14:53 7.3-src/gimp-1.2.2-245.src.rpm ncftp /pub/people/mfabian >
Well, I see no problems after a few hours of doodling around... Thanks so much for tackling this one! Eric __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
Eric Pierce <eric_suse@yahoo.com> writes:
Sorry, my mistake, wanted to disable antialiasing only for non-scalable fonts but accidentally I disabled it for for all fonts. I have fixed this now.
New packages are here:
[...]
ncftp /pub/people/mfabian >
Well, I see no problems after a few hours of doodling around...
Thanks so much for tackling this one!
Thanks for confirming that it works well now. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
Eric Pierce <eric_suse@yahoo.com> writes:
I also removed spaces & made everything lowercase in the filenames as per this link... http://sdb.suse.de/en/sdb/html/jkoeke_truetype.html
Making TT font file names lowercase is not necessary. I have several TT file containing upper case letters in the file name and they work fine. This SDB article contains some other details which are not completely correct in my opinion: SDB article> ttmkfdir > fonts.dir useless, because mkfontdir will overwrite fonts.dir again SDB article> ttmkfdir > fonts.scale not such a good idea on recent SuSE Linux versions either, because SuSEconfig will merge all files called 'fonts.scale.<something>' into 'fonts.scale'. It will do this for all directories containing scalable fonts below /usr/X11R6/lib/X11/fonts. If you want to add your own entries, please add them to fonts.scale.private instead, i.e. ttmkfdir > fonts.scale.private (then maybe further edit fonts.scale.private by hand if the results by ttmkfdir are not yet perfect). Then a call SuSEconfig will merge your private entries into fonts.scale and call mkfontdir which will copy everything in fonts.scale to fonts.dir. (If you only want to execute the font part of SuSEconfig, it is enough to call 'SuSEconfig --module fonts'). SDB article> mkfontdir -e ../encodings SuSEconfig will already call 'mkfontdir' with these options, no need to do that manually. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
participants (4)
-
Bryan S.Tyson
-
Eric Pierce
-
Johannes Liedtke
-
Mike Fabian