[cairo] Re[4]: Cairographics on win32

Oleg Smolsky oleg.smolsky at pacific-simulators.co.nz
Thu Apr 7 16:20:10 PDT 2005


Hello Carl,

Carl Worth wrote on Friday, 8 April 2005:
>> Sure, I can make everything ANSI C compliant. In any case, I've just
>> checked, and the only macros I really need are
>> CAIRO_HAS_WIN32_FONT=1
>> CAIRO_HAS_WIN32_SURFACE=1
>> and they are defined inside my .vcproj.
>> 
>> Actually, IMHO, they should be in packaging/msvc/cairo-features.h
>> which should be included really really early by every .c file......
> Yes.
Alright, these are now in my (win32/vc)-specific cairo-features.h, and
I have removed them from the .vcproj. Less hidden pre-processor shite.
Good.

> As for advertising features that aren't present, what I think we
> should do is always define all the macros, but with either a true or
> false value
Done. And I have also changed a few #ifdefs to #ifs :)

> I concede as far as the Xlib backend on win32 goes. I would like the
> PS/PDF backends to be built by default on pretty much all systems, but
> it sounds like we've still got some more work to do on those backends
> before they are ready for that.
Yeah.... There is also a bigger question here - external dependencies.
Say, png stuff depends on libpng and zlib that are available with
.vcproj-ects. So, a developer can easily get them, while some pdf/ps
dependencies are no that easy of obtain.

Anyway, here is patch3.

Best regards,
Oleg.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch3
Type: application/octet-stream
Size: 18136 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050408/86a2abf8/patch3.obj


More information about the cairo mailing list