freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] How can I do to make the font a little thin?


From: david turner
Subject: Re: [ft-devel] How can I do to make the font a little thin?
Date: Mon, 13 Feb 2006 10:27:48 +0100
User-agent: Thunderbird 1.5 (Windows/20051201)

Hello,

Werner LEMBERG a écrit :
I use simsun.ttf(宋體),the upper is the image which use FreeType
2.0.9,and the lower is which I want to get.
      
You can pass a negative strength value to the FT_Outline_Embolden.
    

Does this work reliably, this is, does it respect a minimum thickness?
Negative values might be worth mentioning then.


  
Just like for positive thickness, it certainly doesn't work reliably past a certain threshold that heavily depends
on the glyph being processed.

Keep in mind that the emboldening/thinning algorithm doesn't change the number of points in the glyph, so
certain corner cases like very acute angles or intersections are not going to be handled properly anyway.

Apart from that, it should work ok for very small negative values, i.e. values that are much smaller than the
average stem/stroke width within the glyph.

Hope this helps,

- David Turner
- The FreeType Project  (www.freetype.org)


    Werner
  

_______________________________________________ Freetype-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/freetype-devel

***********************************************************************************
Information contained in this email message is confidential and may be privileged, and is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the address@hidden and destroy the original message.
***********************************************************************************

reply via email to

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