Finally got around to a new release of the Cairo module - (1.22)
Notes for this version :
* Cairo upgrade to 1.8.4
* Removal of fontconfig dependency on Win32 and Mac.
* Removed Stroke() call from ShowText().
* Added fill rule consts.
The biggest change is the removal of the Fontconfig dependency. This should mean there are less major issues using it on Windows and Mac. The "problem" with fontconfig is that it likes to search your system and cache all fonts. This can take a long while, the first time. Sure, it's also a great tool for fonts in general, but one must weigh up the good and the bad.
So, I've dropped it as a requirement, and implemented my own basic font loading routines, which should allow you to use a font filename without a path.
Also, the "engine" has been updated to 1.8.4, which improves speed, bug fixes, etc...
On Linux, it still uses the system-supplied Cairo/fontconfig/Pango/GTK etc., so business as usual there :-)
One other note. I've moved the download to the Maxmods GoogleCode area, as I continue the migration to there.
Enjoy!
:o)
Notes for this version :
* Cairo upgrade to 1.8.4
* Removal of fontconfig dependency on Win32 and Mac.
* Removed Stroke() call from ShowText().
* Added fill rule consts.
The biggest change is the removal of the Fontconfig dependency. This should mean there are less major issues using it on Windows and Mac. The "problem" with fontconfig is that it likes to search your system and cache all fonts. This can take a long while, the first time. Sure, it's also a great tool for fonts in general, but one must weigh up the good and the bad.
So, I've dropped it as a requirement, and implemented my own basic font loading routines, which should allow you to use a font filename without a path.
Also, the "engine" has been updated to 1.8.4, which improves speed, bug fixes, etc...
On Linux, it still uses the system-supplied Cairo/fontconfig/Pango/GTK etc., so business as usual there :-)
One other note. I've moved the download to the Maxmods GoogleCode area, as I continue the migration to there.
Enjoy!
:o)