public enum FontGroup extends java.lang.Enum<FontGroup>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
FontGroup.FontGroupRange  | 
| Enum Constant and Description | 
|---|
COMPLEX_SCRIPT
type for complex scripts - see https://msdn.microsoft.com/en-us/library/windows/desktop/dd317698 
 | 
EAST_ASIAN
type for east asian charsets - usually set as fallback for the latin font, e.g. 
 | 
LATIN
type for latin charset (default) - also used for unicode fonts like MS Arial Unicode 
 | 
SYMBOL
type for symbol fonts 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static FontGroup | 
getFontGroupFirst(java.lang.String runText)  | 
static java.util.List<FontGroup.FontGroupRange> | 
getFontGroupRanges(java.lang.String runText)
Try to guess the font group based on the codepoint 
 | 
static FontGroup | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static FontGroup[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final FontGroup LATIN
public static final FontGroup EAST_ASIAN
public static final FontGroup SYMBOL
public static final FontGroup COMPLEX_SCRIPT
public static FontGroup[] values()
for (FontGroup c : FontGroup.values()) System.out.println(c);
public static FontGroup valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static java.util.List<FontGroup.FontGroupRange> getFontGroupRanges(java.lang.String runText)
runText - the text which font groups are to be analyzedpublic static FontGroup getFontGroupFirst(java.lang.String runText)
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.