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

Language version: ActionScript 3.0
Runtime version: AIR 1.5

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.

See also

flash.text.engine.FontDescription


Public Properties
 PropertyDefined by
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
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_STEMconstant
public static const HORIZONTAL_STEM:String = "horizontalStem"

Language version: ActionScript 3.0
Runtime version: AIR 1.5

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.

See also

NONEconstant 
public static const NONE:String = "none"

Language version: ActionScript 3.0
Runtime version: AIR 1.5

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.

See also