freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ft] Fill and stroke


From: Erik Möller
Subject: RE: [ft] Fill and stroke
Date: Wed, 19 Aug 2009 21:05:21 +0200

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: address@hidden
[mailto:address@hidden On Behalf Of Cristi
Sent: den 19 augusti 2009 12:05
To: address@hidden
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
address@hidden
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
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]