How to load libfreetype

Alexander Gottwald alexander.gottwald@informatik.tu-chemnitz.de
Mon Aug 5 02:54:00 GMT 2002


On Mon, 5 Aug 2002, Yoshiharu Kawai wrote:

> hello.
> 
> I'm Cygwin-XFree86's user,
> and I want to use the TrueType fonts(libfreetype?).
> But Cygwin-XFree86 has no XF86Config settingfile!!!

It has now support for reading XF86Config, but ...

> How can I load the module?

Cygwin-Xfree does not use the module loader. Instead, the libraries are 
compiled into XWin.exe

> Somebody please tell me hot to configure it.

I just tried. It's not trivial.

The cygwin mkfontdir  has no support for TTFs. So I had to use the one 
from linux. 

Copy the TTFs to linux, run in that directory "ttmkfdir >fonts.dir"
and copy the fonts.dir back to the cygwin directory with the TTFs

now you can set the fontpath to that directory (assuming it's ~/.fonts)
xset fp+ ~/.fonts

now you should have truetype fonts.

bye
	ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



More information about the Cygwin-xfree mailing list