|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.svg.ACIUtils
public final class ACIUtils
Utilities for java.text.AttributedCharacterIterator.
Method Summary | |
---|---|
static void |
dumpAttrs(java.text.AttributedCharacterIterator aci)
Dumps the contents of an ACI to System.out. |
static Font[] |
findFontsForBatikACI(java.text.AttributedCharacterIterator aci,
FontInfo fontInfo)
Tries to find matching fonts in FOP's FontInfo instance for fonts used by
Apache Batik. |
static int |
toCSSWeight(java.lang.Float weight)
|
static java.lang.String |
toStyle(java.lang.Float posture)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Font[] findFontsForBatikACI(java.text.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 fonts
public static int toCSSWeight(java.lang.Float weight)
public static java.lang.String toStyle(java.lang.Float posture)
public static void dumpAttrs(java.text.AttributedCharacterIterator aci)
aci
- the ACI to dump
|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |