FontEnvironment

Inheritance: java.lang.Object

public class FontEnvironment

提供有关当前环境和平台的信息。

方法

方法描述
equals(Object arg0)
getCffCommonFontsSettings()适用于 CFF 字体的通用设置。
getClass()
getCurrent()获取当前环境。
getCurrentPlatformId()获取当前平台标识。
getFontSpecificEncodings()存储面向消费者的字体的特定编码。
getStrictness()某些字体可能包含意外数据、未指定的特性,或可能被粗略裁剪。
hashCode()
notify()
notifyAll()
setStrictness(FontEnvironment.ParsingStrictness value)某些字体可能包含意外数据、未指定的特性,或可能被粗略裁剪。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: boolean

getCffCommonFontsSettings()

public static CffFontsSettings getCffCommonFontsSettings()

适用于 CFF 字体的通用设置。

Returns: CffFontsSettings

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCurrent()

public static FontEnvironment getCurrent()

获取当前环境。

Returns: FontEnvironment - Current environment.

getCurrentPlatformId()

public int getCurrentPlatformId()

获取当前平台标识。

Returns: int - 当前平台标识。

getFontSpecificEncodings()

public FontSpecificEncodings getFontSpecificEncodings()

存储面向消费者的字体的特定编码。例如,PDF 使用 Adobe Symbol 和 ZapfDingbats 的特定编码。

Returns: FontSpecificEncodings - Specific encodings for consumer-aware Fonts.

getStrictness()

public FontEnvironment.ParsingStrictness getStrictness()

某些字体可能包含意外数据、未指定的特性,或可能被粗略裁剪。对于希望在不考虑字体可能不足的情况下打开任何字体的用户,建议使用宽容设置。字体内部结构不保证一致。对于希望打开大多数有效且稳固字体的用户,建议使用严格设置。

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)

某些字体可能包含意外数据、未指定的特性,或可能被粗略裁剪。对于希望在不考虑字体可能不足的情况下打开任何字体的用户,建议使用宽容设置。字体内部结构不保证一致。对于希望打开大多数有效且稳固字体的用户,建议使用严格设置。

Parameters:

参数类型描述
valueParsingStrictness严格程度。

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int