|
From: | Turner, David |
Subject: | RE: [ft] Thick contours |
Date: | Wed, 30 Mar 2005 16:29:34 +0200 |
Salut
Arnaud,
You could try using the FreeType stroker, which is capable of modifying the vectors to create outlines and borders. See FT_STROKER_H, i.e. <freetype/ftstroke.h> for the API.
Unfortunately, this code was still slightly buggy in 2.1.9. It has been fixed in the current CVS though. This should give you results that match or even exceed Photoshop :-) You should probably create an "outside" border, fill it in black, then fill the regular outline in white, or something similar.
- David Turner - The FreeType Project (www.freetype.org)
PS: For all non-French speaking people, I suppose Arnaud wanted to say "décevant" (i.e. disappointing) !
|
[Prev in Thread] | Current Thread | [Next in Thread] |