Text on Path - startOffset range
"Jan Tosovsky" <[email protected]>
| Newsgroups | gmane.text.xml.batik.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Everyone, I am creating a wheel with labels on it (text on the path) but as text outside the path is clipped, I must to render these cases twice (the second time out of 0-100% range), see the attached test case. But it seems to be not supported by Batik as Squiggle tools returns the following exception: org.apache.batik.bridge.BridgeException: file:/D:/data.svg:24 The attribute "startOffset" of the element <textPath> is invalid at org.apache.batik.bridge.SVGTextPathElementBridge.createTextPath(SVGTextPathE lementBridge.java:132) at org.apache.batik.bridge.SVGTextElementBridge.fillAttributedStringBuffer(SVGT extElementBridge.java:949) at org.apache.batik.bridge.SVGTextElementBridge.buildAttributedString(SVGTextEl ementBridge.java:856) at org.apache.batik.bridge.SVGTextElementBridge.computeLaidoutText(SVGTextEleme ntBridge.java:636) at org.apache.batik.bridge.SVGTextElementBridge.buildGraphicsNode(SVGTextElemen tBridge.java:292) at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:224) at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171) at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:219) at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171) at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:82) at org.apache.batik.swing.svg.GVTTreeBuilder.run(GVTTreeBuilder.java:96) Only Firefox 4.0beta or Opera renders it as expected. Is there any chance to support this also in Batik? I have no idea what workaround to choose for this... Regards, Jan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
data.svg
(image/svg+xml, 1.4 KB) - not displayed