<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1501580036444_4188">Hello</div><div><br></div><div id="yui_3_16_0_ym19_1_1501580036444_4236">My goal is to compile cairo (maybe cairomm) for iOs in a bare minimum form, so that i can convert png (binary black and white, no gray tones) to svg and nothing more. I don't need other kind of support from it such as rendering based on hardware acceleration and such. The png files are so tiny that i can live with quartz graphics. With that said I was wondering if I could get some help/tips on doing that. <br></div><div id="yui_3_16_0_ym19_1_1501580036444_4277">My current effort was to attempt including the source cairo files into a iOs library project and try to compile that, but even after disabling everything unnecessary (xlib, etc) I've got stuck with gl support. Disabling this as well results in a compilation error <br></div><div id="yui_3_16_0_ym19_1_1501580036444_4330" dir="ltr">i.e. # error Cairo was not compiled with support for the GL backend</div><div id="yui_3_16_0_ym19_1_1501580036444_4404" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1501580036444_4405" dir="ltr">below defines were generated/tweaked using the configure tool provided with the package, run in terminal</div><div id="yui_3_16_0_ym19_1_1501580036444_4588" dir="ltr">#ifndef CAIRO_FEATURES_H<br id="yui_3_16_0_ym19_1_1501580036444_5148">#define CAIRO_FEATURES_H<br id="yui_3_16_0_ym19_1_1501580036444_5149"><br id="yui_3_16_0_ym19_1_1501580036444_5150">#define CAIRO_HAS_FC_FONT 0<br id="yui_3_16_0_ym19_1_1501580036444_5151">//era CAIRO_HAS_FC_FONT 1<br id="yui_3_16_0_ym19_1_1501580036444_5152">#define CAIRO_HAS_FT_FONT 1<br id="yui_3_16_0_ym19_1_1501580036444_5153">#define CAIRO_HAS_GOBJECT_FUNCTIONS 1<br id="yui_3_16_0_ym19_1_1501580036444_5154">#define CAIRO_HAS_IMAGE_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5155">#define CAIRO_HAS_MIME_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5156">#define CAIRO_HAS_OBSERVER_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5157">#define CAIRO_HAS_PDF_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5158">#define CAIRO_HAS_PNG_FUNCTIONS 1<br id="yui_3_16_0_ym19_1_1501580036444_5159">#define CAIRO_HAS_PS_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5160">#define CAIRO_HAS_QUARTZ_FONT 1<br id="yui_3_16_0_ym19_1_1501580036444_5161">#define CAIRO_HAS_QUARTZ_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5162">#define CAIRO_HAS_RECORDING_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5163">#define CAIRO_HAS_SCRIPT_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5164">#define CAIRO_HAS_SVG_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5165">#define CAIRO_HAS_USER_FONT 1<br id="yui_3_16_0_ym19_1_1501580036444_5166"><br id="yui_3_16_0_ym19_1_1501580036444_5167">//era 1<br id="yui_3_16_0_ym19_1_1501580036444_5168">#define CAIRO_HAS_XLIB_SURFACE 0<br id="yui_3_16_0_ym19_1_1501580036444_5169">#define CAIRO_HAS_XLIB_XRENDER_SURFACE 0<br id="yui_3_16_0_ym19_1_1501580036444_5170">//adaugat de mine<br id="yui_3_16_0_ym19_1_1501580036444_5171">//#define CAIRO_HAS_EGL_FUNCTIONS 1<br id="yui_3_16_0_ym19_1_1501580036444_5172">//#define CAIRO_HAS_WGL_FUNCTIONS 0<br id="yui_3_16_0_ym19_1_1501580036444_5173">#define CAIRO_HAS_GLESV2_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5174">#define CAIRO_HAS_XML_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5175">#define CAIRO_HAS_VG_SURFACE 1<br id="yui_3_16_0_ym19_1_1501580036444_5176"><br id="yui_3_16_0_ym19_1_1501580036444_5177">//end adaugat de mine<br id="yui_3_16_0_ym19_1_1501580036444_5178">/*#undef CAIRO_HAS_BEOS_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5179">/*#undef CAIRO_HAS_COGL_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5180">/*#undef CAIRO_HAS_DIRECTFB_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5181">/*#undef CAIRO_HAS_DRM_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5182">/*#undef CAIRO_HAS_EGL_FUNCTIONS */<br id="yui_3_16_0_ym19_1_1501580036444_5183">/*#undef CAIRO_HAS_GALLIUM_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5184">//era comentat<br id="yui_3_16_0_ym19_1_1501580036444_5185">/*#undef CAIRO_HAS_GLESV2_SURFACE*/<br id="yui_3_16_0_ym19_1_1501580036444_5186">/*#undef CAIRO_HAS_GLX_FUNCTIONS*/<br id="yui_3_16_0_ym19_1_1501580036444_5187">/*#undef CAIRO_HAS_GL_SURFACE*/<br id="yui_3_16_0_ym19_1_1501580036444_5188">/*#undef CAIRO_HAS_OS2_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5189">#undef CAIRO_HAS_QT_SURFACE<br id="yui_3_16_0_ym19_1_1501580036444_5190">/*#undef CAIRO_HAS_QUARTZ_IMAGE_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5191">/*#undef CAIRO_HAS_SKIA_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5192">/*#undef CAIRO_HAS_TEE_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5193">/*#undef CAIRO_HAS_VG_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5194">/*#undef CAIRO_HAS_WGL_FUNCTIONS*/<br id="yui_3_16_0_ym19_1_1501580036444_5195">/*#undef CAIRO_HAS_WIN32_FONT */<br id="yui_3_16_0_ym19_1_1501580036444_5196">/*#undef CAIRO_HAS_WIN32_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5197">/*#undef CAIRO_HAS_XCB_SHM_FUNCTIONS */<br id="yui_3_16_0_ym19_1_1501580036444_5198">/*#undef CAIRO_HAS_XCB_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_5199"><br id="yui_3_16_0_ym19_1_1501580036444_5200">//era comentat<br id="yui_3_16_0_ym19_1_1501580036444_5201">/*#undef CAIRO_HAS_XLIB_XCB_FUNCTIONS*/<br id="yui_3_16_0_ym19_1_1501580036444_5202">/*#undef CAIRO_HAS_XML_SURFACE */<br id="yui_3_16_0_ym19_1_1501580036444_4587"><br></div></div></body></html>