Do I need a xorg.conf to use webfonts?

Frank Shute frank at shute.org.uk
Mon Dec 27 08:00:01 UTC 2010


On Mon, Dec 27, 2010 at 01:41:50AM -0500, Xn Nooby wrote:
>
> I installed FreeBSD 8.1, and the xorg package automatically detected
> my video-card and monitor.  I did not have to create an xorg.conf
> file.
> 
> If I want to webpages to look better in Firefox, I think I need to
> install the "webfonts" package.  Section 5.5.2 of the Handbook seems
> to say I need to modify my xorg.conf to use True Type fonts.
> 
> Do I need to create an xorg.conf to modify, or does the X server
> automatically use new TTF fonts?

What you want to do is add it to your fontpath by putting something
like this in your ~/.xinitrc:

xset +fp /usr/local/lib/X11/fonts/webfonts/
xset fp rehash


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




More information about the freebsd-questions mailing list