OpenTypeFlags
Leave feedback
On this page
Inheritance: java.lang.Object
All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue
public final class OpenTypeFlags implements IEnumValue
Represents OpenType font header flags.
| Field | Description |
|---|---|
| None | Undefined, no flags. |
| BaselineAtY0 | Baseline for font at y=0. |
| LeftSidebearingAtX0 | Left sidebearing point at x=0 (relevant only for TrueType rasterizers). |
| DependOnPointSize | Instructions may depend on point size. |
| ForceToInteger | Force ppem to integer values for all internal scaler math; may use fractional ppem sizes if this bit is clear. |
| AlterAdvanceWidth | Instructions may alter advance width (the advance widths might not scale linearly). |
| Lossless | Font data is \u201clossless\u201d as a result of having been subjected to optimizing transformation and/or compression. |
| Converted | Font converted (produce compatible metrics). |
| Optimized | Font optimized for ClearType\u2122. |
| Resort | Last Resort font. |
public static final OpenTypeFlags None
Undefined, no flags.
public static final OpenTypeFlags BaselineAtY0
Baseline for font at y=0.
public static final OpenTypeFlags LeftSidebearingAtX0
Left sidebearing point at x=0 (relevant only for TrueType rasterizers).
public static final OpenTypeFlags DependOnPointSize
Instructions may depend on point size.
public static final OpenTypeFlags ForceToInteger
Force ppem to integer values for all internal scaler math; may use fractional ppem sizes if this bit is clear.
public static final OpenTypeFlags AlterAdvanceWidth
Instructions may alter advance width (the advance widths might not scale linearly).
public static final OpenTypeFlags Lossless
Font data is \u201clossless\u201d as a result of having been subjected to optimizing transformation and/or compression.
public static final OpenTypeFlags Converted
Font converted (produce compatible metrics).
public static final OpenTypeFlags Optimized
Font optimized for ClearType\u2122.
public static final OpenTypeFlags Resort
Last Resort font.
public static OpenTypeFlags getByRawValue(int rawValue)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rawValue | int |
Returns: OpenTypeFlags
public static IEnumValue getFirst()
Returns: IEnumValue
public Object[] getAllValues()
Returns the array of all values defined in the class.
Returns: java.lang.Object[]
public IEnumValue getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rawValue | int |
Returns: IEnumValue
public IEnumValue getEnumValueByName(String name)
Returns the enumeration value by its name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: IEnumValue
public RawIntegerType getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
Returns: RawIntegerType
public int getRawValue()
Returns the raw value of this enumeration value.
Returns: int
public String name()
Returns the name of this enumeration value.
Returns: java.lang.String
public boolean equals(Object o)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| o | java.lang.Object |
Returns: boolean
public int hashCode()
Returns: int
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.