Date: Sun, 23 May 2010 21:04:46 +0300 From: Eitan Adler <lists@eitanadler.com> To: Tijl Coosemans <tijl@coosemans.org> Cc: freebsd-questions@freebsd.org Subject: Re: using TTF fonts in X Message-ID: <AANLkTinxr1FjWE7DIi2JRqymvPpzsv1UdSFaZPiNlVRl@mail.gmail.com> In-Reply-To: <201005231856.26490.tijl@coosemans.org> References: <AANLkTimV5hP1pm1ceSkWgIiCSbGqJ52Bx9IrxXuWbtA-@mail.gmail.com> <201005231856.26490.tijl@coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 23, 2010 at 7:56 PM, Tijl Coosemans <tijl@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: =C2=A0bad font path element (#23), possible causes are: >> =C2=A0 =C2=A0 Directory does not exist or has wrong permissions >> =C2=A0 =C2=A0 Directory missing fonts.dir >> =C2=A0 =C2=A0 Incorrect font server address or syntax >> % cat fonts.dir >> 0 >> % ls -laod . fonts.dir >> drwxr-xr-x =C2=A02 eitan =C2=A0eitan =C2=A0- 14336 May 23 18:54:55 2010 = ./ >> -rw-r--r-- =C2=A01 eitan =C2=A0eitan =C2=A0- =C2=A0 =C2=A0 2 May 23 18:5= 5:32 2010 fonts.dir > > For TTF fonts you have to create a fonts.scale file first. Check the mkfo= ntdir(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. --=20 Eitan Adler `
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinxr1FjWE7DIi2JRqymvPpzsv1UdSFaZPiNlVRl>