Class FontEmbeddingRestrictions
java.lang.Object
com.imyeyu.font.icon.model.FontEmbeddingRestrictions
字体嵌入和使用限制
fsType 来自 OpenType OS/2 表。多个限制位可以组合,例如预览打印嵌入加禁止子集化
- Since:
- 2026-07-13 16:26
- Author:
- Codex
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int仅允许位图嵌入static final int可编辑嵌入static final FontEmbeddingRestrictions无嵌入限制static final int禁止子集化static final int预览和打印嵌入static final int受限许可嵌入 -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTALLABLE
无嵌入限制 -
RESTRICTED_LICENSE
public static final int RESTRICTED_LICENSE受限许可嵌入- See Also:
-
PREVIEW_AND_PRINT
public static final int PREVIEW_AND_PRINT预览和打印嵌入- See Also:
-
EDITABLE
public static final int EDITABLE可编辑嵌入- See Also:
-
NO_SUBSETTING
public static final int NO_SUBSETTING禁止子集化- See Also:
-
BITMAP_ONLY
public static final int BITMAP_ONLY仅允许位图嵌入- See Also:
-
-
Constructor Details
-
FontEmbeddingRestrictions
public FontEmbeddingRestrictions()创建无限制嵌入信息 -
FontEmbeddingRestrictions
public FontEmbeddingRestrictions(int fsType) 创建限制信息
-
-
Method Details
-
of
使用原始 fsType 创建限制信息 -
installable
public boolean installable()判断是否允许安装式嵌入 -
has
public boolean has(int flag) 判断是否设置了指定限制位 -
getFsType
public int getFsType() -
setFsType
public void setFsType(int fsType) -
equals
-
canEqual
-
hashCode
-
toString
-