You are not logged in.

#1 2005-02-02 23:23:20

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Adding More TTF Fonts

I have a fairly large (1000 +) collection of fonts that I finally got around to (trying to) install today. I've done this with several other distros and it's always worked before.

cp /mnt/windows/[blah]/fonts/* /usr/X11R[blah]/fonts/myne
cd /usr/X11[blah]/myne
mkfontdir > fonts.scale

Then I edit xorg.conf and add the "fonts/myne" path under the correct section. Usually after these steps, all my fonts are working properly. Today, that didn't happen.

Any ideas? Much appreciated.


·¬»· i am shadowhand, powered by webfaction

Offline

#2 2005-02-03 02:07:27

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Offline

#3 2005-02-03 02:12:16

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Adding More TTF Fonts

Ah, thanks. Never thought to RTFM. lol


·¬»· i am shadowhand, powered by webfaction

Offline

#4 2005-02-03 13:23:01

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Adding More TTF Fonts

fontconfig uses it's own fontpaths declared by <dir> tags,
check in /etc/fonts/fonts.conf for the default paths and if you want to add your own do it in /etc/fonts/local.conf ,


arch + gentoo + initng + python = enlisy

Offline

#5 2005-02-03 15:28:07

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Adding More TTF Fonts

xerxes2 wrote:

fontconfig uses it's own fontpaths declared by <dir> tags,
check in /etc/fonts/fonts.conf for the default paths and if you want to add your own do it in /etc/fonts/local.conf ,

yeah, don't edit fonts.conf 8)

Offline

#6 2005-02-04 02:33:04

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Adding More TTF Fonts

I used the script from the above forum post. Worked very nicely, but fonts still weren't working. I realized I had never checked the permissions of the fonts, so I did. Big "DOH" time on that one. All my fonts were set to only be rw by root.  :oops: A quick chmod and restart of X and everything was working just fine.

Thanks for the help. Someone with access to the wiki might want to mention that the fonts need 644 or higher permissions. 8)


·¬»· i am shadowhand, powered by webfaction

Offline

Board footer

Powered by FluxBB