using TTF fonts in X
Tijl Coosemans
tijl at coosemans.org
Sun May 23 16:56:30 UTC 2010
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.
More information about the freebsd-questions
mailing list