Installing fonts the SuSE way?
If I simply place fonts in a subdirectory under /etc/X11R6/lib/X11/fonts, and run SuSEconfig, the fonts are not loaded when the KDM is loaded. If I add the new path to the /etc/X11/xorg.conf, they will load. The problem with modifying the /etc/X11/xorg.conf is that it has a corresponding /etc/X11/xorg.conf.md5 which means YaST wants to control the file. When I copy the fonts to ~/.fonts, and add the following to the ~/.fonts.conf: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <dir>~/.fonts/wri/4.1/truetype</dir> <dir>~/.fonts/wri/4.1/Type1</dir> </fontconfig> X still fails to load the fonts. Putting the fonts in /usr/share/fonts/wri/4.1/truetype /usr/share/fonts/wri/4.1/Type1 likewise fails. I would rather not edit the /etc/X11/xorg.conf. Is there an alternative? Steven
If I simply place fonts in a subdirectory under /etc/X11R6/lib/X11/fonts, and run SuSEconfig, the fonts are not loaded when the KDM is loaded. If I add the new path to the /etc/X11/xorg.conf, they will load. The problem with modifying the /etc/X11/xorg.conf is that it has a corresponding /etc/X11/xorg.conf.md5 which means YaST wants to control the file.
When I copy the fonts to ~/.fonts, and add the following to the ~/.fonts.conf: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <dir>~/.fonts/wri/4.1/truetype</dir> <dir>~/.fonts/wri/4.1/Type1</dir> </fontconfig>
X still fails to load the fonts. Putting the fonts in /usr/share/fonts/wri/4.1/truetype /usr/share/fonts/wri/4.1/Type1 likewise fails. I would rather not edit the /etc/X11/xorg.conf. Is there an alternative? With SuSE 9.3 I loaded additional fonts in /usr/X11R6/lib/X11/fonts and ran SuSEconfig -module fonts. I "think" that is the folder you have to use. Worked perfect for me. Cheers, -- Jan Elders
On Thursday 03 November 2005 20:52, Steven T. Hatton wrote: the Netherlands http://www.xs4all.nl/~jrme/ "Home of the Network Acronyms"
On 03/11/05, Jan Elders <jrme@xs4all.nl> wrote:
On Thursday 03 November 2005 20:52, Steven T. Hatton wrote:
If I simply place fonts in a subdirectory under /etc/X11R6/lib/X11/fonts, and run SuSEconfig, the fonts are not loaded when the KDM is loaded. If I add the new path to the /etc/X11/xorg.conf, they will load. The problem with modifying the /etc/X11/xorg.conf is that it has a corresponding /etc/X11/xorg.conf.md5 which means YaST wants to control the file.
When I copy the fonts to ~/.fonts, and add the following to the ~/.fonts.conf: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <dir>~/.fonts/wri/4.1/truetype</dir> <dir>~/.fonts/wri/4.1/Type1</dir> </fontconfig>
X still fails to load the fonts. Putting the fonts in /usr/share/fonts/wri/4.1/truetype /usr/share/fonts/wri/4.1/Type1 likewise fails. I would rather not edit the /etc/X11/xorg.conf. Is there an alternative? With SuSE 9.3 I loaded additional fonts in /usr/X11R6/lib/X11/fonts and ran SuSEconfig -module fonts. I "think" that is the folder you have to use. Worked perfect for me. Cheers, --
Isn't there a way of automatically installing new fonts through YaST? Surely there must be a way. -- ============================================== I am only human, please forgive me if I make a mistake it is not deliberate. ============================================== Take care. Kevan Farmer 34 Hill Street Cheslyn Hay Staffordshire WS6 7HR
On 11/3/05, Kevanf1 <kevanf1@gmail.com> wrote:
Isn't there a way of automatically installing new fonts through YaST? Surely there must be a way.
Not YaST, but KDE's CC. If there you get in admin mode, you can install fonts system wide, otherwise, they are for the user. Search the archives, a month or 2 ago, I have asked a question for adding multiple fonts w/o using CC or YaST as well. -- -- Svetoslav Milenov (Sunny)
On 03/11/05, Sunny <sloncho@gmail.com> wrote:
On 11/3/05, Kevanf1 <kevanf1@gmail.com> wrote:
Isn't there a way of automatically installing new fonts through YaST? Surely there must be a way.
Not YaST, but KDE's CC. If there you get in admin mode, you can install fonts system wide, otherwise, they are for the user.
Search the archives, a month or 2 ago, I have asked a question for adding multiple fonts w/o using CC or YaST as well.
-- -- Svetoslav Milenov (Sunny)
--
Will run a check tomorrow. I haven't yet looked into it which I why I didn't explicitly ask how it could be done if it could be done through YaST or another way. I'll try to find out the answer by research first :-))) This will be after I have looked into the earlier Firefox query ;-) -- ============================================== I am only human, please forgive me if I make a mistake it is not deliberate. ============================================== Take care. Kevan Farmer 34 Hill Street Cheslyn Hay Staffordshire WS6 7HR
Kevanf1 wrote:
Isn't there a way of automatically installing new fonts through YaST? Surely there must be a way.
If I want them installed system-wide, I use the font installer in KDE Control Center. Otherwise, I just put them in ~/.fonts, where modern apps like web browsers built with xft/gtk2 will find them automatically. -- "I can do all things through Him who gives me strength." Philippians 4:13 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/
On Thursday 03 November 2005 04:42 pm, Jan Elders wrote:
With SuSE 9.3 I loaded additional fonts in /usr/X11R6/lib/X11/fonts and ran SuSEconfig -module fonts. I "think" that is the folder you have to use. Worked perfect for me. Cheers,
Where did you put the fonts? I put them in my own subdirectory. I've used the KDE CC in the past, but things were changing, and what worked one day failed the next. What really bothers me is that I have Mathematica, which provides the same fonts with different (newer) names. Mathematica loads the fonts it needs when it starts. That suggests I could do the same with my apps. I believe this will work xset fp+ ~/.fonts/wri/4.1/truetype. It may even be better. That way I only load them when I need them.
On Friday 04 November 2005 04:55, Steven T. Hatton wrote:
On Thursday 03 November 2005 04:42 pm, Jan Elders wrote:
With SuSE 9.3 I loaded additional fonts in /usr/X11R6/lib/X11/fonts and ran SuSEconfig -module fonts. I "think" that is the folder you have to use. Worked perfect for me. Cheers,
Where did you put the fonts? I put them in my own subdirectory. I've used the KDE CC in the past, but things were changing, and what worked one day failed the next. What really bothers me is that I have Mathematica, which provides the same fonts with different (newer) names. Mathematica loads the fonts it needs when it starts. That suggests I could do the same with my apps. I believe this will work xset fp+ ~/.fonts/wri/4.1/truetype. It may even be better. That way I only load them when I need them.
I quote from the 9.3 Admin Guide - Section 11.3 Installing and Configuring Fonts : "The font files can be copied manually (as root) to a suitable directory, such as /usr/X11R6/lib/X11/fonts/truetype. Alternatively, the task can be performed with the KDE font installer in the KDE Control Center. The result is the same." Cheers, -- Jan Elders the Netherlands http://www.xs4all.nl/~jrme/ "Home of the Network Acronyms"
/snip/
With SuSE 9.3 I loaded additional fonts in /usr/X11R6/lib/X11/fonts and ran SuSEconfig -module fonts. I "think" that is the folder you have to use. Worked perfect for me. Cheers, -- Jan Elders the Netherlands http://www.xs4all.nl/~jrme/ "Home of the Network Acronyms"
-- Isn't here a way to point the font finder to your Windows fonts? I thought there used to be. Is that gone? Why duplicate a whole directory full of fonts if you don't have to?
--doug -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.362 / Virus Database: 267.12.7/160 - Release Date: 11/3/2005
participants (6)
-
Doug McGarrett
-
Felix Miata
-
Jan Elders
-
Kevanf1
-
Steven T. Hatton
-
Sunny