public enum EmbeddingMode extends Enum<EmbeddingMode>
Enum Constant and Description |
---|
AUTO
Default option: assumes FULL for Type 1 fonts and SUBSET for TrueType fonts.
|
FULL
Full font embedding: This means the whole of the font is written to file.
|
SUBSET
Subset font embedding: Only the mandatory tables and a subset of glyphs are written
to file.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of this embedding mode.
|
static EmbeddingMode |
getValue(String value)
Returns the embedding mode corresponding to the given name.
|
static EmbeddingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmbeddingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmbeddingMode AUTO
public static final EmbeddingMode FULL
public static final EmbeddingMode SUBSET
public static EmbeddingMode[] values()
for (EmbeddingMode c : EmbeddingMode.values()) System.out.println(c);
public static EmbeddingMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public static EmbeddingMode getValue(String value)
value
- the name of an embedding mode (not case sensitive)Copyright © 2025 Apache Software Foundation. All rights reserved.