Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.5
-
None
-
None
-
None
Description
The following method returns just glyph bounding box, not a glyph shape:
public Shape getGlyphOutline(int glyphIndex) { Shape glyphBox = getBoundingBoxes()[glyphIndex]; AffineTransform tr = AffineTransform.getTranslateInstance(positions[glyphIndex * 2], positions[glyphIndex * 2 + 1]); AffineTransform glyphTransform = getGlyphTransform(glyphIndex); if (glyphTransform != null) { tr.concatenate(glyphTransform); } return tr.createTransformedShape(glyphBox); }
This convenient method hence cannot be used properly to address e.g.
https://issues.apache.org/jira/browse/FOP-2677
Attachments
Attachments
Issue Links
- blocks
-
FOP-2677 [PATCH] Text in SVG with applied filter is not rendered
- Open