Supported Features for Conversion From SVG to JavaFX

To develop SVG graphics that convert most effectively, 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.

 

Rate This Article
Discussion

We welcome your participation in our community. Please keep your comments civil and on point. You may optionally provide your email address to be notified of replies—your information is not used for any other purpose. By submitting a comment, you agree to these Terms of Use.

 

English
日本語
한국어
简体中文
русский
Português do Brasil