using TTF fonts in X

Eitan Adler lists at eitanadler.com
Sun May 23 18:05:07 UTC 2010


On Sun, May 23, 2010 at 7:56 PM, Tijl Coosemans <tijl at coosemans.org> wrote:
> 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.
>

Thanks for that.
In order to complete the xset +fp I needed to use the absolute dir
name as well.
The issue has been solved - thanks.








-- 
Eitan Adler

`


More information about the freebsd-questions mailing list