[cairo] cairo compiles on win32 (cygwin)

Andrew Johnson acjgenius at earthlink.net
Fri Jan 23 04:43:13 PST 2004


On Fri, 2004-01-23 at 01:11, Richard Worth wrote:
> Once I got cairo compiled, I started experimenting with the 
> '-mno-cygwin' flag for building libraries that are built only on top of 
> win32 libraries (msvcrt.dll, KERNEL32.dll, etc.), with no dependence on 
> cygwin1.dll. The only way I can get this to work right now is to cut out 
> all the FontConfig and FreeType stuff by hand. Short-term it might be 
> nice to have an option to disable FontConfig when compiling for win32 
> (no-cygwin). Similar to --disable-xlib. Long-term it would be nice to 
> have a selectable native font selection system for win32. I'll probably 
> continue to work on that. If anyone has any ideas or suggested 
> direction, please let me know.

Well I am not sure of the specifics of your issues, perhaps they pertain
to cygwin and the X environment for win32, but Fontconfig and FreeType
are both compilable natively on windows. A few months ago I was fooling
around and got a native win32 GTK+2.2 using the freetype and fontconfig
Pango for the fonts in mingw. Neither Freetype nor Fontconfig themselves
require anything special to build natively either, so for a short term
solution, it would be reasonable to keep them as a dependency, as only
Xft would be an issue here, at least until a native Win32 Font interface
can be completed and the backend font interfaces properly abstracted.

Andrew





More information about the cairo mailing list