On 2/5/07, <b class="gmail_sendername"><a href="mailto:brianp@sginet.com">brianp@sginet.com</a></b> <<a href="mailto:brianp@sginet.com">brianp@sginet.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Here is a little info of my progress in playing around with Cairo on Win9x<br>(which is supposedly unsupported).<br><br>I am able to successfully use Cairo on Win9x if I render to an image buffer<br>first. The only thing that doesn't work is the text rendering (this is
<br>because it uses the Unicode GetGlyphOutlineW functions exclusively). So I<br>decided to give FreeType a try. There are some issues using Cairo+FreeType<br>on Win32, but long story short - I can successfully use Cairo+FreeType on
<br>Win9x when rendering to an image buffer with no problems.<br><br>When trying to use FreeType on Win32, it looks like the FreeType module in<br>Cairo wants to compile in some fontconfig stuff. However, fontconfig has no
<br>Win32 port that I can find. Also, fontconfig seems to be totally separate<br>from the FreeType code, and unnecessary in every way on Win32, it is only<br>mixed into the same source files. To solve that problem, I just #if
<br>0...#endif'd the fontconfig code and now the FreeType module compiles on<br>Win32 without a hitch.</blockquote><div><br>Right, it compiles... But does it work?<br><br>behdad<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So, I propose that the fontconfig specific code be wrapped up in a separate<br>cairo feature #define so that it can be compiled separately from the<br>FreeType code. With this in place, everyone should be able to use Cairo on
<br>Win9x as long as they render to an image buffer first and then blit that to<br>a Windows HDC.<br><br>Any chances of getting a separate cairo feature #define for fontconfig?<br><br>Thanks!<br><br>_______________________________________________
<br>cairo mailing list<br><a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br><a href="http://cairographics.org/cgi-bin/mailman/listinfo/cairo">http://cairographics.org/cgi-bin/mailman/listinfo/cairo</a>
<br></blockquote></div><br><br clear="all"><br>-- <br>behdad<br><a href="http://behdad.org/">http://behdad.org/</a>