Package org.apache.fop.svg.font
Class ComplexGlyphVector
java.lang.Object
org.apache.fop.svg.font.FOPGVTGlyphVector
org.apache.fop.svg.font.ComplexGlyphVector
- All Implemented Interfaces:
org.apache.batik.gvt.font.GVTGlyphVector
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
static final AttributedCharacterIterator.Attribute
static final Integer
Fields inherited from class org.apache.fop.svg.font.FOPGVTGlyphVector
associations, boundingBoxes, font, glyphs, glyphTransforms, glyphVisibilities, gposAdjustments, logicalBounds, outline, positions, text
-
Constructor Summary
ConstructorsConstructorDescriptionComplexGlyphVector
(FOPGVTFont font, CharacterIterator iter, FontRenderContext frc) -
Method Summary
Modifier and TypeMethodDescriptionboolean
private boolean
void
maybeReverse
(boolean mirror) void
private static void
reverse
(boolean[] ba) private static void
reverse
(float[] fa) private static void
reverse
(int[] ia) private static void
reverse
(int[][] iaa) private static void
reverse
(AffineTransform[] ta) private static void
reverse
(Rectangle2D[] ra) private boolean
substituteMirroredGlyph
(int index, char mirror) Methods inherited from class org.apache.fop.svg.font.FOPGVTGlyphVector
draw, getBounds2D, getCharacterCount, getFont, getFontRenderContext, getGeometricBounds, getGlyphCellBounds, getGlyphCode, getGlyphCodes, getGlyphJustificationInfo, getGlyphLogicalBounds, getGlyphMetrics, getGlyphOutline, getGlyphPosition, getGlyphPositionAdjustments, getGlyphPositions, getGlyphTransform, getGlyphVisualBounds, getLogicalBounds, getNumGlyphs, getOutline, getOutline, isGlyphVisible, setGlyphCode, setGlyphPosition, setGlyphTransform, setGlyphVisible
-
Field Details
-
WRITING_MODE
-
WRITING_MODE_RTL
-
reversed
private boolean reversed -
mirrored
private boolean mirrored
-
-
Constructor Details
-
ComplexGlyphVector
ComplexGlyphVector(FOPGVTFont font, CharacterIterator iter, FontRenderContext frc)
-
-
Method Details
-
performDefaultLayout
public void performDefaultLayout()- Specified by:
performDefaultLayout
in interfaceorg.apache.batik.gvt.font.GVTGlyphVector
- Overrides:
performDefaultLayout
in classFOPGVTGlyphVector
-
isReversed
public boolean isReversed()- Specified by:
isReversed
in interfaceorg.apache.batik.gvt.font.GVTGlyphVector
- Overrides:
isReversed
in classFOPGVTGlyphVector
-
maybeReverse
public void maybeReverse(boolean mirror) - Specified by:
maybeReverse
in interfaceorg.apache.batik.gvt.font.GVTGlyphVector
- Overrides:
maybeReverse
in classFOPGVTGlyphVector
-
maybeMirror
private boolean maybeMirror() -
substituteMirroredGlyph
private boolean substituteMirroredGlyph(int index, char mirror) -
reverse
private static void reverse(boolean[] ba) -
reverse
private static void reverse(int[] ia) -
reverse
private static void reverse(int[][] iaa) -
reverse
private static void reverse(float[] fa) -
reverse
-
reverse
-