[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New: bitstream-vera-fonts



Srebrenko Sehic wrote:
> Port builds/packages fine. However, I can't get the fonts recognized the
> system.
> 
> I've copied the local.conf file to /etc/fonts/ as instructed. To further
> debug, I've tried adding the path dir directly, a la,
> 
> $ xset fp+ /usr/local/lib/X11/fonts/
> xset:  bad font path element (#56), possible causes are:
>     Directory does not exist or has wrong permissions
>     Directory missing fonts.dir
>     Incorrect font server address or syntax

You do this after you create fonts.scale/fonts.dir.

> I've even tried to build fonts.{scale,dir} using the mkfont{dir,scale]
> utils. Still no go. Permissions are the same as for the core fonts
> included with XF4.

Install and use ports/x11/ttmkfdir (x11/ttmkfdir should probably be a 
dependency and hell you could create the fonts.dir properly on 
post-install also).

(as root)
cd /usr/local/lib/X11/fonts
ttmkfdir > fonts.dir

then run xset (as user).

BTW the freefont and mscorefonts ports install into subdirectories of 
/usr/local/lib/X11/fonts, should this port do the same?

-- schubert