The Tcl-Package tDOM must be present.
The Tcl-Package TkPath 0.2.4 or 0.3 must be present for importing Scalable Vector Graphics in Jeszra.
Only TkPath elements such as prect, pline, ellipse, circle, path, pimage, polyline, ppolygon, lineargradient, radialgradient and from TkPath 0.3 group and style are generated from an imported Scalable Vector Graphics file.
Also install the Tcl-Package Img to deal with Scalable Vector Graphics embedded images.
Jeszra imports Scalable Vector Graphics files into Tcl/Tk. A Scalable Vector Graphics file is opened through the conventional »File Open« dialog. An additional file type:»SVG« is listed in the file types selector.
Jeszra opens the Scalable Vector Graphics file and imports it into a tDOM based DOM-tree. The DOM-tree will then be parsed and Tcl-code generated from it. A normal Tcl-template is the result from importing a Scalable Vector Graphics file. Canvas windows serve as additional viewports.
Jeszra Limitations in respect to Scalable Vector Graphics
Percentage values for coordinates are lost.
External References are not resolved.
Images have to be embedded in the Scalable Vector Graphics-File.
Both TkPath 0.2.4 and 0.3 are fully supported by Jeszra.
TkPath 0.3 Limitation in respect to Scalable Vector Graphics
Resolution Independent values are not supported by TkPath. Jeszra converts resolution independent values into pixels, by using the current resolution settings in: »tk scaling«.
linearGradients and radialGradients as »-stroke« values are lost.
text-decoration, font-weight and font-style are lost.
The Elements: font, clipPath, textPath, marker, pattern, mask and filter are unsupported.
»userSpaceOnUse« for radialGradient is not implemented in TkPath 0.3.
Further Limitations for TkPath 0.2.4
No »style« element is being created for TkPath 0.2.4. Jeszra resolves the style values and applies the individual properties accordingly.
style is a problematic element inside Scalable Vector Graphics. Styling through CSS is rendered ineffective when style is present. Avoide using style.
No »gradientTransform« for radialGradient and linearGradient.