<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Greetings -<div><br></div><div>Background info: I have an interactive cross-platform application written in C++. For general development/debugging on the desktop, it uses Qt. For Flash, I'm using Adobe's FlasCC to compile C/C++ into Actionscript byte code. Recently, I added pixman and cairo into the mix, and all is well in the Qt version.  What basic drawing commands I've tried seem to work just fine: I'm using <span style="font-size: 12px; color: rgb(88, 126, 168); font-family: 'Panic Sans'; ">cairo_image_surface_create_for_data()</span>  to  provide cairo with an in-memory pixmap for rendering, and then using the results as a texture, for display (this is in both the Qt version, and the Flash version).<br><div><br></div><div>I've ported pixman and cairo to FlasCC, and built with freetype support. I've used "./configure" to set up the config.h and cairo-features.h, etc. Those files look reasonable, although it must be said that some of the operations in "configure" fail (creating test programs on the fly presumes you can make command-line-executables with gcc, and with Flash's gcc, this is not possible).</div><div><br></div><div>I've tried using <span style="color: rgb(88, 126, 168); font-family: 'Panic Sans'; font-size: 12px; ">cairo_select_font_face() </span>and <span style="color: rgb(88, 126, 168); font-family: 'Panic Sans'; font-size: 12px; ">cairo_show_text() </span>to test-render some simple text. In the Qt version, the font family I specify as an argument has the intended effect: different font specifiers result in different fonts being used to render the text. However, in the Flash version, I get only what appears to be the cairo built-in/fallback font (some flavor of sans-serif), irrespective of what font is requested. In addition, with that built-in font, the visual appearance in the Flash version is quite a bit less nice than the same font at the same size in the desktop version -  the glyphs look almost unreadably blurry...</div></div><div><br></div><div>My assumption is that I've done something wrong with the configure step of building Cairo (or perhaps, less likely, pixman), or something similar. For various reasons, I'm unable to run the Flash program in the debugger, and so I cannot trace through the code to see what's happening. It's possible to use "printf debugging", but of course this is exceedingly tedious and inefficient...</div><div><br></div><div>Any advice on what might have gone wrong would be greatly appreciated! </div><div><br></div><div>Thanks!</div><div><br></div><div>-- Philip</div><div><br></div></body></html>