Package com.datalogics.PDFL
Enum Class FontCreateFlags
- All Implemented Interfaces:
Serializable,Comparable<FontCreateFlags>,Constable
Flags for creating fonts. If you want to subset a font, set both the Embedded and Subset flags
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSupply the entire widths table (this affects Type0 fonts only).Wait to get the widths until later (this affects Type0 fonts only).Do not embed the font.Embed an OpenType style font subset, if appropriate.Embed the font.Create a CIDFont with identity (GID) encoding.Convert cp to gid with identity embedded.Subset the font.Create a ToUnicode CMap. -
Method Summary
Modifier and TypeMethodDescriptionstatic FontCreateFlagsReturns the enum constant of this class with the specified name.static FontCreateFlags[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
EMBEDDED
Embed the font. Create an embedded font. By itself, this will not subset the font. -
SUBSET
Subset the font. If you want to subset a font, set both the Embedded and Subset flags. You must call Document.EmbedFonts() to actually subset the font. Both embedding and subsetting a font creates a CFF font. -
DO_NOT_EMBED
Do not embed the font. You cannot set both this and the Subset flags. Nor can you set Embedded. -
ENCODE_BY_GID
Create a CIDFont with identity (GID) encoding. -
DEFER_WIDTHS
Wait to get the widths until later (this affects Type0 fonts only). -
GIDOVERRIDE
Convert cp to gid with identity embedded. -
TO_UNICODE
Create a ToUnicode CMap. -
ALL_WIDTHS
Supply the entire widths table (this affects Type0 fonts only). -
EMBED_OPEN_TYPE
Embed an OpenType style font subset, if appropriate.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-