Re: [opensuse] Adding X fonts without an xorg.conf file
No it is not necessary. The X server looks for the fonts in the parent folder and automatically update the configurations adding new folders an fonts. It is what I did and it worked perfectly::all the new fonts became available after restarting the X server. Regards, Francesco -- There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" On Fri, Oct 8, 2010 at 5:12 PM, Roger Oberholtzer <roger@opq.se> wrote:
On Fri, 2010-10-08 at 14:35 +0200, Francesco Teodori wrote:
Hi Roger, You can simply create a new directory in /usr/share/fonts/ and copy there the fonts you want to add. For example I created a folder /usr/share/fonts/msfonts where I copied ttf fonts from msoffice. Otherwise you can use the font installer from desktop settings.
If I make a new directory, then I also have to change the configuration of the X server to cause it to look there. And perhaps to SuSEconfig when it processes font information. I was hoping there was a system-wide 'local' place where local fonts could be installed system-wide.
I have decided to put the fonts into /usr/share/fonts/truetype. That seems the least painless way.
I do this from a software install script. So I do not want to run a GUI to complete the task.
Regards, Francesco
-- There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
On Fri, Oct 8, 2010 at 1:35 PM, Roger Oberholtzer <roger@opq.se> wrote: If I do not have (want) an xorg.conf file, but I want to add fonts to the system, what is the preferred location?
They are ttf fonts. So I guess I could add them to /usr/share/fonts/truetype. But I really do not like adding things to directories I see as being managed by the system. It seems that X does not look, by default (i.e., without an xorg.conf file), in all folders in /usr/share/fonts. If it had, I could have added a 'local' or some such directory.
-- Roger Oberholtzer
OPQ Systems / Ramböll RST
Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden
Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- Roger Oberholtzer
OPQ Systems / Ramböll RST
Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden
Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Francesco Teodori