flash.text.engine

# CFFHinting - AS3

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

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

flash.text.engine.FontDescription

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Public Constants

| 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

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

flash.text.engine.FontDescription.cffHinting

### 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

flash.text.engine.FontDescription.cffHinting

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00