public final class IntelligentResolver extends Object
| Constructor and Description |
|---|
IntelligentResolver() |
| Modifier and Type | Method and Description |
|---|---|
static Font |
choosePreferredFont(Font f1,
Font f2,
boolean preferFirst)
Given 2 fonts that are "the same", pick one to be preferred.
|
public static Font choosePreferredFont(Font f1, Font f2, boolean preferFirst) throws UnsupportedFontException, InvalidFontException, FontLoadingException
f1 - the first fontf2 - the second fontpreferFirst - if the fonts are "identical" which one to pickUnsupportedFontExceptionInvalidFontExceptionFontLoadingExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved