Gnome/Gimp question
![](https://seccdn.libravatar.org/avatar/b375b37f63dd0c2f8ab9d682d899a822.jpg?s=120&d=mm&r=g)
Hello, I have installed fonts into my system and OO and KDE see the new truetype fonts that are installed but GNOME apps like GIMP and Abiword do not see them. Is there any way to get the apps to see the new fonts? Thanks List! Marshall "Nothing is impossible, We just do not have all the anwsers to make the impossible, possible."
![](https://seccdn.libravatar.org/avatar/51fb4a098b63d7e49f2a0c96505d8c5a.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Lundi 18 Novembre 2002 12:55, Marshall Heartley a écrit :
I have installed fonts into my system and OO and KDE see the new truetype fonts that are installed but GNOME apps like GIMP and Abiword do not see them. Is there any way to get the apps to see the new fonts?
If you're taking about Gnome1 and stable versions of Gimp or Abiword (in fact, anything based on Gtk1), be aware that they can't render anti-aliased truetype fonts. Only Qt2, Qt3 or Gtk2 can do that (unless you patch Gtk1, but I don't recommend it). But you seem not to be able to see them at all, anti-aliased or not. How did you install them? - -- Thibaut Cousin E-mail : cousin@in2p3.fr Web : http://clrwww.in2p3.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE92OHwv1vqsTa1E4oRAp6iAJ44hZVdS/YMClNuk5I0qAQf0xT/FACggbIZ V9FvdzjLCjEpkOdehIC/7y4= =J6IB -----END PGP SIGNATURE-----
![](https://seccdn.libravatar.org/avatar/b375b37f63dd0c2f8ab9d682d899a822.jpg?s=120&d=mm&r=g)
On Mon, 2002-11-18 at 07:49, Thibaut Cousin wrote:
If you're taking about Gnome1 and stable versions of Gimp or Abiword (in fact, anything based on Gtk1), be aware that they can't render anti-aliased truetype fonts. Only Qt2, Qt3 or Gtk2 can do that (unless you patch Gtk1, but I don't recommend it). But you seem not to be able to see them at all, anti-aliased or not. How did you install them?
Hello, I asm using the GNOME desktop that comes with SuSE 8.1 which is Gnome2. I installed them by doing it by hand. I used the same directions that come in the Administration manual. The set that tells you to copy the fonts into a directory, and do the ttmkfdir with sed. But I did the procedure in the manual. Did I forget to do something? I am using the stable versions of GIMP and Abiword. Marshall "Nothing is impossible, We just do not have all the anwsers to make the impossible, possible."
![](https://seccdn.libravatar.org/avatar/51fb4a098b63d7e49f2a0c96505d8c5a.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Lundi 18 Novembre 2002 16:19, Marshall Heartley a écrit :
I asm using the GNOME desktop that comes with SuSE 8.1 which is Gnome2. I installed them by doing it by hand. I used the same directions that come in the Administration manual. The set that tells you to copy the fonts into a directory, and do the ttmkfdir with sed. But I did the procedure in the manual. Did I forget to do something? I am using the stable versions of GIMP and Abiword.
Gimp is still based on Gtk1, whatever Gnome version you use. Anyway, you must copy the fonts in /usr/X11R6/lib/X11/fonts/truetype. If you copy them to any other directory, you must declare it in /etc/X11/XF86Config (look for "FontPath" in the file). So I suggest you use the default location. Once this is done, you indeed must run a complicated line with sed and ttmkfdir. I seem to remember there is one more command to run, I'll be able to give it to you tomorrow if no one is quicker than me. Sorry if I can't remember. I install the TTF fonts with a RPM package so I no longer remembers the commands... Speak of being lazy. ;-) - -- Thibaut Cousin E-mail : cousin@in2p3.fr Web : http://clrwww.in2p3.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE92QZvv1vqsTa1E4oRAkXQAJ43ipqro/mejc8/7uKm3Iwt2WFfjQCfdcQL Lb8EhEZIky0PxJYgqOiAIrg= =m9hv -----END PGP SIGNATURE-----
![](https://seccdn.libravatar.org/avatar/b375b37f63dd0c2f8ab9d682d899a822.jpg?s=120&d=mm&r=g)
Gimp is still based on Gtk1, whatever Gnome version you use. Anyway, you must copy the fonts in /usr/X11R6/lib/X11/fonts/truetype. If you copy them to any other directory, you must declare it in /etc/X11/XF86Config (look for "FontPath" in the file). So I suggest you use the default location. Once this is done, you indeed must run a complicated line with sed and ttmkfdir. I seem to remember there is one more command to run, I'll be able to give it to you tomorrow if no one is quicker than me. Sorry if I can't remember. I install the TTF fonts with a RPM package so I no longer remembers the commands... Speak of being lazy. ;-)
Hello, I did all that and I did put the fonts into a different directory but I told the X server where they were. Like I said, OO and KDE can see them but not GNOME. So I do not know what the issue is. I wished that I was able to install my fonts with rpm. :-) Marshall "Nothing is impossible, We just do not have all the anwsers to make the impossible, possible."
![](https://seccdn.libravatar.org/avatar/51fb4a098b63d7e49f2a0c96505d8c5a.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Lundi 18 Novembre 2002 16:42, Marshall Heartley a écrit :
Hello,
I did all that and I did put the fonts into a different directory but I told the X server where they were. Like I said, OO and KDE can see them but not GNOME. So I do not know what the issue is. I wished that I was able to install my fonts with rpm. :-)
There's no magic with installing the fonts with RPM. All I need are the m$ fonts (in the past you could download them with a script called fetchmsttfonts) and there is very good RPM package for them. Thanks to m$ license, it is forbidden to distribute a binary RPM with the fonts, but it is allowed to distribute them exactly as m$ packed them... So you can't find the RPM package itself on the web. I can send you the package if you want. If you want other fonts, I can send you just the spec file to build your own RPM. It shouldn't be too hard to modify to add your own fonts. The website for this is http://corefonts.sourceforge.net. It is not SuSE-specific and in fact their spec file is incomplete for SuSE (it is only for Redhat and Mandrake, which use XFS). I made a spec file compatible with SuSE and will send it you if you want. - -- Thibaut Cousin E-mail : cousin@in2p3.fr Web : http://clrwww.in2p3.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE92Qvbv1vqsTa1E4oRAuJYAJ9LoHijFkEtCJpxfGPCHUCOH/BfigCfRjcF TR8Oxh4Vny6wADEzHLTkRrg= =sdUO -----END PGP SIGNATURE-----
![](https://seccdn.libravatar.org/avatar/9eaec8ef6e1bb27da5ae2c86af89e1d9.jpg?s=120&d=mm&r=g)
On Mon, 18 Nov 2002 11:49 pm, Thibaut Cousin wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le Lundi 18 Novembre 2002 12:55, Marshall Heartley a écrit :
I have installed fonts into my system and OO and KDE see the new truetype fonts that are installed but GNOME apps like GIMP and Abiword do not see them. Is there any way to get the apps to see the new fonts?
If you're taking about Gnome1 and stable versions of Gimp or Abiword (in fact, anything based on Gtk1), be aware that they can't render anti-aliased truetype fonts. Only Qt2, Qt3 or Gtk2 can do that (unless you patch Gtk1, but I don't recommend it). But you seem not to be able to see them at all, anti-aliased or not. How did you install them?
Hi, The problem is that the TTF fonts are not running in the Xserver. Somehow KDE has a way of installing and using the TTF fonts without them being available in the Xserver. To prove this run 'xfontsel' and I doubt there will be any TTF's shown. Don't ask why , but I spent about a week trying to nut it out about two months ago and posted my little howto here. All commands must be run as root. 1) Change to where the fonts are. cd /usr/X11R6/lib/X11/fonts/truetype 2) Determine if there are any files been created for the scaling of the ttf's. ls -l fonts.s* 3) Remove all these files. rm fonts.s* 4) Create a new font scale file. ttmkfdir | sed s/^[0-9]*// > fonts.scale.myfonts 5) Now run SuSEconfig.fonts /sbin/conf.d/SuSEconfig.fonts 6) Run xset to reread the font paths xset fp rehash You should be able to see the fonts with xfontsel -- Regards, Graham Smith ---------------------------------------------------------
![](https://seccdn.libravatar.org/avatar/51fb4a098b63d7e49f2a0c96505d8c5a.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Lundi 18 Novembre 2002 17:49, Graham Smith a écrit :
The problem is that the TTF fonts are not running in the Xserver. Somehow KDE has a way of installing and using the TTF fonts without them being available in the Xserver. To prove this run 'xfontsel' and I doubt there will be any TTF's shown. Don't ask why , but I spent about a week trying to nut it out about two months ago and posted my little howto here.
??? I can see all my fonts with xfontsel, truetypes included... I will check how I installed them in the RPM package tonight and tell you more about it tomorrow. - -- Thibaut Cousin E-mail : cousin@in2p3.fr Web : http://clrwww.in2p3.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE92Rx6v1vqsTa1E4oRApusAKC4JdhNUgxaccjKTSwCPZbR4arMwgCggE4x whJ/6dfF1mul3PE46QeGhz8= =x0Lw -----END PGP SIGNATURE-----
![](https://seccdn.libravatar.org/avatar/b375b37f63dd0c2f8ab9d682d899a822.jpg?s=120&d=mm&r=g)
Hi,
The problem is that the TTF fonts are not running in the Xserver. Somehow KDE has a way of installing and using the TTF fonts without them being available in the Xserver. To prove this run 'xfontsel' and I doubt there will be any TTF's shown. Don't ask why , but I spent about a week trying to nut it out about two months ago and posted my little howto here.
All commands must be run as root.
1) Change to where the fonts are. cd /usr/X11R6/lib/X11/fonts/truetype
2) Determine if there are any files been created for the scaling of the ttf's. ls -l fonts.s*
3) Remove all these files. rm fonts.s*
4) Create a new font scale file. ttmkfdir | sed s/^[0-9]*// > fonts.scale.myfonts
5) Now run SuSEconfig.fonts /sbin/conf.d/SuSEconfig.fonts
6) Run xset to reread the font paths xset fp rehash
You should be able to see the fonts with xfontsel
Hi, All I did was move the fonts to the truetype directory and redid the .scale file. Then the fonts worked. This is silly!!! I was able to make a directory and put the fonts there and make the scale file. Then edit the XF86Config to point to that directory. Weird. It worked in 8.0 this way. Oh well, I now have my fonts! :-) Thanks all who helped me with this! Marshall "Nothing is impossible, We just do not have all the anwsers to make the impossible, possible."
![](https://seccdn.libravatar.org/avatar/51fb4a098b63d7e49f2a0c96505d8c5a.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Lundi 18 Novembre 2002 17:49, Graham Smith a écrit :
The problem is that the TTF fonts are not running in the Xserver. Somehow KDE has a way of installing and using the TTF fonts without them being available in the Xserver. To prove this run 'xfontsel' and I doubt there will be any TTF's shown. Don't ask why , but I spent about a week trying to nut it out about two months ago and posted my little howto here.
Here is the commands I ran to have my truetype fonts running. They just come from the fetchmsttfonts in SuSE 7.2 or 7.3. Run them after the fonts have been copied in /usr/X11R6/lib/X11/fonts/truetype: cd /usr/X11R6/lib/X11/fonts/truetype /usr/X11R6/bin/ttmkfdir|sed s/^[0-9]*// > fonts.scale.msttfonts echo 0 > fonts.scale ls fonts.scale.* &> /dev/null && cat fonts.scale.* >> fonts.scale /usr/X11R6/bin/mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings/large -e /usr/X11R6/lib/X11/fonts/encodings /sbin/conf.d/SuSEconfig.fonts Maybe it is not optimized, but I've never had any problem with those. - -- Thibaut Cousin E-mail : cousin@in2p3.fr Web : http://clrwww.in2p3.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE92fkWv1vqsTa1E4oRApuJAJsFo+M3f9dYHpYEH6AMttTmqMW9kgCglR4y hx/q0ms5eR2j+QDUb0ghZ6s= =ZtIl -----END PGP SIGNATURE-----
![](https://seccdn.libravatar.org/avatar/fc5f29eb6d386a4cf7460871342983b5.jpg?s=120&d=mm&r=g)
On Tuesday 19 November 2002 08:40 am, Thibaut Cousin wrote:
Here is the commands I ran to have my truetype fonts running. They just come from the fetchmsttfonts in SuSE 7.2 or 7.3. Run them after the fonts have been copied in /usr/X11R6/lib/X11/fonts/truetype:
cd /usr/X11R6/lib/X11/fonts/truetype
/usr/X11R6/bin/ttmkfdir|sed s/^[0-9]*// > fonts.scale.msttfonts
echo 0 > fonts.scale
ls fonts.scale.* &> /dev/null && cat fonts.scale.* >> fonts.scale
/usr/X11R6/bin/mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings/large -e /usr/X11R6/lib/X11/fonts/encodings
/sbin/conf.d/SuSEconfig.fonts
Maybe it is not optimized, but I've never had any problem with those.
- -- Thibaut Cousin
This works terrific ~ thank you so much, Thibaut -- best wishes ____________ sent on Linux ____________
participants (4)
-
Graham Smith
-
Marshall Heartley
-
tabanna
-
Thibaut Cousin