Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2010 18:56:26 +0200
From:      Tijl Coosemans <tijl@coosemans.org>
To:        freebsd-questions@freebsd.org
Cc:        Eitan Adler <lists@eitanadler.com>
Subject:   Re: using TTF fonts in X
Message-ID:  <201005231856.26490.tijl@coosemans.org>
In-Reply-To: <AANLkTimV5hP1pm1ceSkWgIiCSbGqJ52Bx9IrxXuWbtA-@mail.gmail.com>
References:  <AANLkTimV5hP1pm1ceSkWgIiCSbGqJ52Bx9IrxXuWbtA-@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 23 May 2010 18:46:38 Eitan Adler wrote:
> I have a folder with a bunch of TTF fonts.
> when I run mkfontdir the fonts.dir file is just a "0"
> and when I run xset +fp . I get
> % xset +fp .
> 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
> % cat fonts.dir
> 0
> % ls -laod . fonts.dir
> drwxr-xr-x  2 eitan  eitan  - 14336 May 23 18:54:55 2010 ./
> -rw-r--r--  1 eitan  eitan  -     2 May 23 18:55:32 2010 fonts.dir

For TTF fonts you have to create a fonts.scale file first. Check the mkfontdir(1) and mkfontscale(1) manpages.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005231856.26490.tijl>