Hi People, I have been trying to install fonts from my Windows partition using KDE Control Center (I had done it before but then had to remove linux for some reason) but I get the message "ERROR: Could not open font" What may be the reason? thx alot -- Baris Erbas p.s. what is the easiest way of reinstalling all the fonts?
Baris Erbas wrote:
Hi People, I have been trying to install fonts from my Windows partition using KDE Control Center (I had done it before but then had to remove linux for some reason) but I get the message "ERROR: Could not open font" What may be the reason? thx alot
-- Baris Erbas
p.s. what is the easiest way of reinstalling all the fonts?
Rather than use the Control Centre go to the SuSE database at their site and you will find an article on how to install the fonts. It's all simply explained in the article. (Have a look in the HELP in your SuSE installation - perhaps that article is already installed on your system; do a search on "fonts".) Cheers. -- In a period of great joy and pleasure you are comforted by the thought that tragedy is just around the corner.
On Wed, 2 Oct 2002 22:58, Baris Erbas wrote:
Hi People, I have been trying to install fonts from my Windows partition using KDE Control Center (I had done it before but then had to remove linux for some reason) but I get the message "ERROR: Could not open font" What may be the reason? thx alot
Hi Baris, Firstly all the ttf's should be lowercase only from the material I have read. When you copy them from a MS Windows system they are generally end as uppercase. To reinitialise all your truetypes please follow these steps. 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 The other thing to check if you are using SuSE 8.0 is to see if xfs (X Font Server) is running. YAST --->System---->Runlevel editor----->runlevel properties -- Regards, Graham Smith ---------------------------------------------------------
On Thursday 03 October 2002 11:41, Graham Smith wrote: To someone else and I listened in:
Firstly all the ttf's should be lowercase only from the material I have read. When you copy them from a MS Windows system they are generally end as uppercase.
To reinitialise all your truetypes please follow these steps.
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
Graham or others :-} I am not the original poster but I filed the message away for future use. Followed the above directions. Whn I do the "xset fp rehash" I get the following from the console: linux:/usr/X11R6/lib/X11/fonts/truetype # xset fp rehash Xlib: connection to ":0.0" refused by server Xlib: No protocol specified xset: unable to open display ":0.0"
You should be able to see the fonts with xfontsel
And now I can't see fonts in xfontsel
The other thing to check if you are using SuSE 8.0 is to see if xfs (X Font Server) is running. YAST --->System---->Runlevel editor----->runlevel properties
Please help... OH ! Suse 8.0 KDE 3.04 Bob S.
On Wednesday 27 November 2002 4:49 am, Bob S. wrote:
I am not the original poster but I filed the message away for future use. Followed the above directions. Whn I do the "xset fp rehash" I get the following from the console:
linux:/usr/X11R6/lib/X11/fonts/truetype # xset fp rehash Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
xset: unable to open display ":0.0"
This usually means you are doing something as root, and unless you loosen permissions root does not have access to the user's Xserver, and therefore cannot run a graphical program. Try using sux instead of su. HTH Kevin
participants (5)
-
Baris Erbas
-
Basil Chupin
-
Bob S.
-
Graham Smith
-
Kevin Donnelly