ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
flash.text.engine 

CFFHinting  - AS3

Packageflash.text.engine
Classpublic final class CFFHinting
InheritanceCFFHinting Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5, Flash Lite 4

The CFFHinting class defines values for cff hinting in the FontDescription class.

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



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined 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
Constant Detail

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