<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 3, 2010, at 11:19 PM, Mj Mendoza IV wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><span style="font-family: arial, helvetica, sans-serif; ">I tried sharing my test<span class="Apple-converted-space">&nbsp;</span></span><span style="font-family: arial, helvetica, sans-serif; ">app</span><span style="font-family: arial, helvetica, sans-serif; "><span class="Apple-converted-space">&nbsp;</span>to a friend. Accompanying my<span class="Apple-converted-space">&nbsp;</span></span><span style="font-family: arial, helvetica, sans-serif; ">app</span><span style="font-family: arial, helvetica, sans-serif; "><span class="Apple-converted-space">&nbsp;</span>is the<span class="Apple-converted-space">&nbsp;</span><span style="font-weight: bold; ">libcairo-2.dll</span>. And since I am using the PNG and ZLib, I also included<span class="Apple-converted-space">&nbsp;</span><span style="font-weight: bold; ">libpng12-0.dll</span><span class="Apple-converted-space">&nbsp;</span>and<span style="font-weight: bold; ">zlib1.dll</span>. To my surprise, my friend didn't get to test my app. It was looking for<span class="Apple-converted-space">&nbsp;</span><span style="font-weight: bold; ">libfontconfig-1.dll</span>, then<span class="Apple-converted-space">&nbsp;</span><span style="font-weight: bold; ">libexpat-1.dll</span><span class="Apple-converted-space">&nbsp;</span>then<span class="Apple-converted-space">&nbsp;</span><span style="font-weight: bold; ">freetype6.dll</span>.<br><br>Lucky for me, I have GIMP installed which have all these.<br><br>So my question is, does Cairo really need those?!? Is there a way to remove the dependency on<span class="Apple-converted-space">&nbsp;</span><span style="font-weight: bold; ">libfontconfig</span>,<span class="Apple-converted-space">&nbsp;</span><span style="font-weight: bold; ">libexpat</span>, and<span class="Apple-converted-space">&nbsp;</span><span style="font-weight: bold; ">freetype</span>?<br><br><span>My test app is at:<span class="Apple-converted-space">&nbsp;</span><a target="_blank" href="http://konsolscript.org/demo/quixie-cairo-100601.zip">http://konsolscript.org/demo/quixie-cairo-100601.zip</a></span><br><br></span></div></div></span></blockquote><br></div><div>I spent a good deal of time, about 6 months ago, deriving a script that would download and build Cairo 1.8.8 for Windows in such a way that it minimized library dependencies. It was slightly larger (25% maybe? but still under 1 MB) than the standard GTK build, but resulted in a dll that needed no other DLLs and ran anywhere from Windows Server 2003 to Windows Vista. And built with all free tools. It's documented here</div><div><br></div><div><a href="http://www.cairographics.org/end_to_end_build_for_win32/">http://www.cairographics.org/end_to_end_build_for_win32/</a></div><div><br></div><div>I hope, in the next couple of weeks, to do it again for the current release, and make sure it works on Windows 7 as well. So there may be some updates coming.</div><div><br></div><div>I'd really like to be able to do the same thing for Pango as well (for OSX and Windows). We'll see.</div><br><div> <span class="Apple-style-span" style="font-size: 18px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>--</div><div>Travis Griggs</div><div>Objologist</div><div>Light travels faster than sound. This is why some people appear bright until you hear them speak...</div><div><br></div></div><br></div></span><br class="Apple-interchange-newline"> </div><br></body></html>