[cairo] How to enable cairo in Windows?

Sverre Stausland johnsen at fas.harvard.edu
Wed Nov 2 13:38:34 PDT 2011

I've been in touch with the developer of the Cairo package in R, and
after a few e-mails, we found a solution. The Cairo package as it is
now has the cairo library built in to it, and is able to stand on its
own, but the exact commands necessary to take advantage of this in
Windows were not entirely obvious and had to be arrived at through a
little trial and error.

Thank you all for your help!

On Tue, Nov 1, 2011 at 4:48 PM, Maarten Bosmans <mkbosmans at gmail.com> wrote:
> 2011/11/1 Sverre Stausland <johnsen at fas.harvard.edu>:
>> On Tue, Nov 1, 2011 at 2:54 AM, Maarten Bosmans <mkbosmans at gmail.com> wrote:
>>> Remember that Cairo can be compiled either with or without fontconfig
>>> support. So if you don't compile it yourself, make sure the downloaded
>>> binaries have been compiled with the backends you need.
>> I have no idea what this means. Since I'm an end-user, not a
>> developer, I am not compiling anything. The binaries I have downloaded
>> from http://www.gtk.org/download/win32.php are the only ones I know
>> about, and the only ones mentioned by other cairo users.
> Well, Cairo is a library, so it should be used by other programs.
> Generally we expect distributions (in case of Linux) or application
> authors (e.g. on Windows) to handle packaging of libraries.
>>> I made a zipfile for you with Cairo with fontconfig and freetype
>>> enabled.
>> Great, thanks! What do I do with this, though? :)
> I don't know, I just provided what you wanted for your convenience. I
> guess you can just drop them in place of the other cairo DLL files you
> downloaded. That said, you're probably better off asking help on some
> R related list.
> Maarten
>> Sverre

More information about the cairo mailing list