Supported Features for Conversion From SVG to JavaFX
- Skill Level Beginner
- Supported Versions JavaFX 1.3
- Key Features Tools for Graphics Designers
- Last Updated April 2010
When you develop SVG artwork to convert to JavaFX graphics format with JavaFX Production Suite, you need to know which SVG features are or are not supported in the conversion to JavaFX graphics format (FXZ).
The SVG Converter supports the following features of SVG documents:
- All geometric shapes
- Paths
- Transformations
- Colors
- Gradients
- Styling
- Text
SVG 1.1, SVG Tiny 1.1, and SVG Tiny 1.1+ documents are supported.
The following SVG features are not supported for conversion, and they are ignored during the conversion process:
- Animations
- Use/defs elements
- Filter effects
- Color profiles
- Masking
- Markers
- Embedded fonts
- Text on a path
- Text layout
- Scripting/interactivity
- Metadata
Note About Layer Name Conversion From Inkscape
Inkscape stores the values of custom layer names in a nonstandard inkscape:label attribute in the <g> element. The <g> element's id attribute, which is the standard attribute for storing layer names, retains the default layer names (for example, layer1 and layer2). For this reason, graphics converted from SVG files saved in Inkscape with the Production Suite SVG Converter lose the custom layer names and preserve the default layer names as ID values in the JavaFX content description. Saving the Inkscape file in plain SVG format does not help, because it removes attributes in the inkscape: namespace. In the process, the custom layer names stored in the inkspace:label attribute are removed.
Creating SVG graphics with a tool such as Adobe Illustrator avoids this problem.
JavaFX issue RT-5648 has been filed so that Production Suite can implement a solution to this nonstandard implementation of custom layer names, because Inkscape is commonly used to produce SVG graphics.