Package | flash.text.engine |
Class | public final class CFFHinting |
Inheritance | CFFHinting Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5, Flash Lite 4 |
Hinting adjusts the display of an outline font so it lines up with the pixel grid. At small screen sizes, hinting produces a clear, legible text for human readers.
Related API Elements
Constant | Defined By | ||
---|---|---|---|
HORIZONTAL_STEM : String = "horizontalStem" [static]
Fits strong horizontal stems to the pixel grid for improved readability. | CFFHinting | ||
NONE : String = "none" [static]
No hinting is applied. | CFFHinting |
HORIZONTAL_STEM | Constant |
public static const HORIZONTAL_STEM:String = "horizontalStem"
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5, Flash Lite 4 |
Fits strong horizontal stems to the pixel grid for improved readability.
This constant is used in setting the cffHinting
property of the
FontDescription class. Use the syntax CFFHinting.HORIZONTAL_STEM
.
Note: Not recommended for animation.
Related API Elements
NONE | Constant |
public static const NONE:String = "none"
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5, Flash Lite 4 |
No hinting is applied. Horizontal stems in the glyphs are not forced to the pixel grid.
This constant is used in setting the cffHinting
property of the
FontDescription class. Recommended setting for animation or for large font sizes.
Use the syntax CFFHinting.NONE
.
Related API Elements
Wed Nov 21 2018, 06:34 AM -08:00