public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] xset fp+ fails
@ 2009-07-07 15:34 Roger Mason
  2009-07-07 17:56 ` [gentoo-user] " walt
  0 siblings, 1 reply; 5+ messages in thread
From: Roger Mason @ 2009-07-07 15:34 UTC (permalink / raw
  To: gentoo-user

Hello,

I have a new install (not an upgrade) of xorg-server (1.5.3-r6) and
xorg-x11 (7.2), to which I added xset (1.04) so I can add a font path.

The fonts in question are in ~/AMRITA/SITE/fonts/TrueType.  When I run

xset fp+ fonts/TrueType 

from ~/AMRITA/SITE I get the following error:

xset:  bad font path element (#23), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax

The permissions on the offending directories are:

drwxrwxrwx 3 rmason rmason   4096 Nov  4  2003 fonts

drwxrwxrwx 2 rmason rmason 4096 Nov  4  2003 TrueType

I have tried with and without xfs.

If anyone knows how to get this running please help.

Thanks,
Roger



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: xset fp+ fails
  2009-07-07 15:34 [gentoo-user] xset fp+ fails Roger Mason
@ 2009-07-07 17:56 ` walt
  2009-07-07 18:12   ` Roger Mason
  0 siblings, 1 reply; 5+ messages in thread
From: walt @ 2009-07-07 17:56 UTC (permalink / raw
  To: gentoo-user

On 07/07/2009 08:34 AM, Roger Mason wrote:
> Hello,
>
> I have a new install (not an upgrade) of xorg-server (1.5.3-r6) and
> xorg-x11 (7.2), to which I added xset (1.04) so I can add a font path.
>
> The fonts in question are in ~/AMRITA/SITE/fonts/TrueType.  When I run
>
> xset fp+ fonts/TrueType
>
> from ~/AMRITA/SITE I get the following error:
>
> xset:  bad font path element (#23), possible causes are:
>      Directory does not exist or has wrong permissions
>      Directory missing fonts.dir...

Do you have a fonts.dir in that directory?  If not, you need to run
mkfontdir in that directory.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user]  Re: xset fp+ fails
  2009-07-07 17:56 ` [gentoo-user] " walt
@ 2009-07-07 18:12   ` Roger Mason
  2009-07-07 23:45     ` walt
  0 siblings, 1 reply; 5+ messages in thread
From: Roger Mason @ 2009-07-07 18:12 UTC (permalink / raw
  To: gentoo-user

Hello walt,

walt <w41ter@gmail.com> writes:

> Do you have a fonts.dir in that directory?  If not, you need to run
> mkfontdir in that directory.

Yes:

~/AMRITA/TEST $ ls ../SITE/fonts/TrueType/ -l
total 572
-rw-r--r-- 1 rmason rmason 88408 Apr 19  2003 dour45w.ttf
-rw-r--r-- 1 rmason rmason 80676 Apr 19  2003 dour46w.ttf
-rw-r--r-- 1 rmason rmason 88504 Apr 19  2003 dour65w.ttf
-rw-r--r-- 1 rmason rmason  4052 Nov  4  2003 fonts.cache-1
-rw-r--r-- 1 rmason rmason  5993 Nov  4  2003 fonts.dir
-rw-r--r-- 1 rmason rmason  5993 Nov  4  2003 fonts.scale
-rwxr-xr-x 1 rmason rmason    58 Nov  4  2003 mk_cache
-rw-r--r-- 1 rmason rmason 65076 Apr 19  2003 trebuchet.ttf
-rw-r--r-- 1 rmason rmason 65236 Apr 19  2003 trebuchetb.ttf
-rw-r--r-- 1 rmason rmason 65196 Apr 19  2003 trebuchetbi.ttf
-rw-r--r-- 1 rmason rmason 71248 Apr 19  2003 trebucheti.ttf

Thanks,
Roger



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: xset fp+ fails
  2009-07-07 18:12   ` Roger Mason
@ 2009-07-07 23:45     ` walt
  2009-07-08 18:32       ` Roger Mason
  0 siblings, 1 reply; 5+ messages in thread
From: walt @ 2009-07-07 23:45 UTC (permalink / raw
  To: gentoo-user

On 07/07/2009 11:12 AM, Roger Mason wrote:
> Hello walt,
>
> walt<w41ter@gmail.com>  writes:
>
>> Do you have a fonts.dir in that directory?  If not, you need to run
>> mkfontdir in that directory.
>
> Yes:
>
> ~/AMRITA/TEST $ ls ../SITE/fonts/TrueType/ -l
> total 572
> -rw-r--r-- 1 rmason rmason 88408 Apr 19  2003 dour45w.ttf
> -rw-r--r-- 1 rmason rmason 80676 Apr 19  2003 dour46w.ttf
> -rw-r--r-- 1 rmason rmason 88504 Apr 19  2003 dour65w.ttf
> -rw-r--r-- 1 rmason rmason  4052 Nov  4  2003 fonts.cache-1
> -rw-r--r-- 1 rmason rmason  5993 Nov  4  2003 fonts.dir

Hm.  Well, I have only two more thoughts (which is three times my
usual number :o)

Have you tried using an absolute path for that directory?

The word "SITE" suggests maybe you're running your own web server?
Maybe the server is chrooted for security purposes?




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user]  Re: xset fp+ fails
  2009-07-07 23:45     ` walt
@ 2009-07-08 18:32       ` Roger Mason
  0 siblings, 0 replies; 5+ messages in thread
From: Roger Mason @ 2009-07-08 18:32 UTC (permalink / raw
  To: gentoo-user

walt <w41ter@gmail.com> writes:

> Hm.  Well, I have only two more thoughts (which is three times my
> usual number :o)

I had a thought once, but I've forgotton what it was.

> Have you tried using an absolute path for that directory?

Unfortunatly it makes no difference.

> The word "SITE" suggests maybe you're running your own web server?
> Maybe the server is chrooted for security purposes?

No nothing to do with a web-server and not chrooted.

Thanks,
Roger



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-08 18:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07 15:34 [gentoo-user] xset fp+ fails Roger Mason
2009-07-07 17:56 ` [gentoo-user] " walt
2009-07-07 18:12   ` Roger Mason
2009-07-07 23:45     ` walt
2009-07-08 18:32       ` Roger Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox