FontEnvironment
Inheritance: java.lang.Object
public class FontEnvironment
Provides information about the current environment and platform.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getCffCommonFontsSettings() | Settings common to CFF fonts. |
getClass() | |
getCurrent() | Gets current environment. |
getCurrentPlatformId() | Gets current platform id. |
getFontSpecificEncodings() | Stores specific encodings for consumer-aware Fonts. |
getStrictness() | Some Fonts may contain unexpected data, non-specified features, or may be roughly cropped. |
hashCode() | |
notify() | |
notifyAll() | |
setStrictness(FontEnvironment.ParsingStrictness value) | Some Fonts may contain unexpected data, non-specified features, or may be roughly cropped. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getCffCommonFontsSettings()
public static CffFontsSettings getCffCommonFontsSettings()
Settings common to CFF fonts.
Returns: CffFontsSettings
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCurrent()
public static FontEnvironment getCurrent()
Gets current environment.
Returns: FontEnvironment - Current environment.
getCurrentPlatformId()
public int getCurrentPlatformId()
Gets current platform id.
Returns: int - Current platform id.
getFontSpecificEncodings()
public FontSpecificEncodings getFontSpecificEncodings()
Stores specific encodings for consumer-aware Fonts. For example, PDF uses Adobe Symbol and ZapfDingbats specific encodings.
Returns: FontSpecificEncodings - Specific encodings for consumer-aware Fonts.
getStrictness()
public FontEnvironment.ParsingStrictness getStrictness()
Some Fonts may contain unexpected data, non-specified features, or may be roughly cropped. Tolerant setting is recommended for consumers who want to open any font regardless possible Font’s inadequacy. Font internal structures are not guaranteed to be consistent. Strict setting is recommended for consumers who want to open mostly valid and solid Fonts.
Returns: ParsingStrictness - Strictness.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setStrictness(FontEnvironment.ParsingStrictness value)
public void setStrictness(FontEnvironment.ParsingStrictness value)
Some Fonts may contain unexpected data, non-specified features, or may be roughly cropped. Tolerant setting is recommended for consumers who want to open any font regardless possible Font’s inadequacy. Font internal structures are not guaranteed to be consistent. Strict setting is recommended for consumers who want to open mostly valid and solid Fonts.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ParsingStrictness | Strictness. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |