Hi Cristian, As far as I know the only way to do that properly is by using freetypes direct rendering feature. I did a small sample program to illustrate how to do this last time the topic was on the list. Check out this link http://freetype.sourceforge.net/freetype2/docs/tutorial/step3.html
Kind regards, Erik Möller http://www.timetrap.se -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Cristi Sent: den 19 augusti 2009 12:05 To: [email protected] Subject: [ft] Fill and stroke Hello, Is it possible with FreeType to fill and stroke a glyph in a singe raster operation? The problem I have is that decomposed in two steps (fill and the stroke) and then copy both images, the result does not see good. For some fonts/glyphs the stroked glyph is smaller then the filled one (theoretically should be bigger), for others the shape is completly different or the difference between left offsets (bitmap.left) too big. That's why the resulting images contain gaps between the stroked and filled glyph. Is there a way to directly fill and stroke an outline? Thanks! Cristian Vicol -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype __________ Information from ESET NOD32 Antivirus, version of virus signature database 4347 (20090819) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 4349 (20090819) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
