Learning ActionScript 2.0 in Adobe Flash |
|
|
|
| Working with Text and Strings > About font rendering and anti-alias text > About continuous stroke modulation | |||
The advanced anti-aliasing font rendering technology exploits the inherent properties of distance fields to provide continuous stroke modulation (CSM); for example, continuous modulation of both the stroke weight and the edge sharpness of the text. CSM uses two rendering parameters to control the mapping of adaptively sampled distance field (ADF) distances to glyph density values. Optimal values for these parameters are highly subjective; they can depend on user preferences, lighting conditions, display properties, typeface, foreground and background colors, and point size. The function that maps ADF distances to density values has an outside cutoff, below which values are set to 0, and an inside cutoff, above which values are set to a maximum density value, such as 255.
|
|
|
|