Using a custom build of Cairo with InkScape

Discussion about writing code for Inkscape.
AlliterativeAlice
Posts: 1
Joined: Fri Jul 26, 2013 6:49 am

Using a custom build of Cairo with InkScape

Postby AlliterativeAlice » Sat Jul 27, 2013 6:26 am

Hi,

I (unfortunately) have to do this in a Windows environment.

I compiled Cairo from modified source code (basically I wanted to print information to the console at certain points) and tried to use it with Inkscape by taking the resulting cairo.dll and used it to replace libcairo-2.dll in the Inkscape program folder. Then I tried to convert from svg to png on the command line, and got the following error:

"The procedure entry point cairo_ft_font_face_create_for_ft_face could not be located in this dynamic link library C:\Program Files (x86)\Inkscape\libcairomm-1.0-1.dll"

Is the problem that the Cairo I built is too recent, and is calling functions in cairomm that don't exist in the version that comes with Inkscape? (I modified and compiled the latest Cairo source.) I thought that cairomm called functions in cairo, but not the other way around. Is anyone familiar with making a custom build of Cairo and using it with Inkscape in a Windows environment?

Return to “Programming”