public final class ACIUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
dumpAttrs(AttributedCharacterIterator aci)
Dumps the contents of an ACI to System.out.
|
static Font[] |
findFontsForBatikACI(AttributedCharacterIterator aci,
FontInfo fontInfo)
Tries to find matching fonts in FOP's
FontInfo instance for fonts used by
Apache Batik. |
static int |
toCSSWeight(Float weight) |
static String |
toStyle(Float posture) |
public static Font[] findFontsForBatikACI(AttributedCharacterIterator aci, FontInfo fontInfo)
FontInfo
instance for fonts used by
Apache Batik. The method inspects the various GVT attributes found in the ACI.aci
- the ACI to find matching fonts forfontInfo
- the font info instance with FOP's fontspublic static int toCSSWeight(Float weight)
public static void dumpAttrs(AttributedCharacterIterator aci)
aci
- the ACI to dumpCopyright © 2025 Apache Software Foundation. All rights reserved.