Difference between revisions of "SpecXAMLExport"

From Inkscape Wiki
Jump to navigation Jump to search
Line 117: Line 117:
*struct-group-01-t - Ok.
*struct-group-01-t - Ok.
*struct-group-02-b - Ok.
*struct-group-02-b - Ok.
*struct-group-03-t - Doesn't work with defs in a group. Issues with keys (TypeConverter class).
*struct-group-03-t - Doesn't work with defs in a group.
*struct-image-01-t - Ok.
*struct-image-01-t - Ok.
*struct-image-04-t - Image embedding fails.
*struct-image-04-t - Image embedding fails.
Line 123: Line 123:


=== Text ===
=== Text ===
*text-align-01-b - Text-anchor not supported?
*text-align-01-b - Text-anchor not supported (could be hacked with StackPanel, but a bit too complex).
*text-align-02-b -  
*text-align-02-b - Sub and super support (no relative values).
*text-align-03-b -  
*text-align-03-b - Text-anchor not supported.
*text-align-04-b -  
*text-align-04-b - Text-anchor not supported.
*text-align-05-b -  
*text-align-05-b - Text-anchor and writing mode (tb-bt) not supported.
*text-align-06-b -  
*text-align-06-b - Text-anchor and writing mode (tb-bt) not supported.
*text-align-08-b -  
*text-align-08-b - Glyphs not supported
*text-deco-01-b -  
*text-deco-01-b - Ok.
*text-fonts-01-t -  
*text-fonts-01-t - Generic fonts not supported.
*text-fonts-02-t -  
*text-fonts-02-t - Ok.
*text-fonts-03-t -  
*text-fonts-03-t - Ok.
*text-intro-01-t -  
*text-intro-01-t - Ok (CJK fonts not tested).
*text-intro-02-b -  
*text-intro-02-b - Direction not changed for roman characters.
*text-intro-03-b -  
*text-intro-03-b - Writing mode not supported
*text-intro-04-t -  
*text-intro-04-t - Ok (CJK fonts not tested).
*text-intro-05-t -  
*text-intro-05-t - Text-anchor not supported.
*text-path-01-b -  
*text-path-01-b - Text on path not supported.
*text-spacing-01-b -  
*text-spacing-01-b - Letter and word spacing not supported (needs confirmation).
*text-text-01-b -  
*text-text-01-b - textLength and LengthAdjust not supported (needs confirmation).
*text-text-03-b -  
*text-text-03-b - Ok.
*text-text-04-t to text-text-06-t -  
*text-text-04-t to text-text-06-t - Text-anchor not supported; multiple x and y values not supported.
*text-text-07-t -  
*text-text-07-t - Text rotation not supported.
*text-text-08-b -  
*text-text-08-b - Text stroke not supported (could be implemented via Border).
*text-tref-01-b -  
*text-tref-01-b - tref not supported.
*text-tselect-01-b -  
*text-tselect-01-b - span positioning not supported.
*text-tspan-01-b -  
*text-tspan-01-b - span positioning not supported.
*text-ws-01-t -  
*text-ws-01-t - Ok.
*text-ws-02-t -  
*text-ws-02-t - Some xml:space="preserve" issues.




[[Category:Developer Documentation]]
[[Category:Developer Documentation]]
[[Category:Specification]]
[[Category:Specification]]

Revision as of 17:15, 24 January 2011

Release Note

Initial XAML released in Inkscape 0.4x.

Design

This export extension uses the XSLT extension system.

TODO

Discussion

Known limitations

Some SVG features are not are partially supported by XAML. When possible, a workaround has been implemented in the export filter to render the missing features. Some elements that can't be created with Inkscape are not supported.

Detailed tests

(from the official SVG1.1 test suite at http://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview)

Colors

  • color-prop-01-b - CurrentColor value not supported.
  • color-prop-03-t - Ok.

coords

  • coords-coord-01-t - Ok.
  • coords-coord-02-t - Ok.
  • coords-trans-01-b - Ok.
  • coords-trans-02-t - Ok.
  • coords-trans-03-t - Ok.
  • coords-trans-04-t - Ok.
  • coords-trans-05-t - Ok.
  • coords-trans-06-t - Ok.
  • coords-units-01-b - Patterns not supported.
  • coords-units-02-b - % positionning not supported.
  • coords-units-03-b - em, ex and % not implemented.
  • coords-viewattr-03-b - Canvas not supported.

Filters

  • filters-gauss-01-b - Bidirectionnal blur only.

Masking

  • masking-mask-01-b -
  • masking-opacity-01-b -
  • masking-path-01-b -
  • masking-path-02-b -
  • masking-path-03-b -
  • masking-path-04-b -

Painting

  • painting-fill-01-t - Ok.
  • painting-fill-02-t - CurrentColor value not supported.
  • painting-fill-03-t - Ok (silverlight compatibility issue).
  • painting-fill-04-t - Ok.
  • painting-fill-05-b - Ok.
  • painting-render-01-b - linearRGB not supported?
  • painting-stroke-01-t - Stroke is rendered inside the object (works correctly with path)!
  • painting-stroke-02-t - Ok.
  • painting-stroke-03-t - No automatic mitter.
  • painting-stroke-04-t - Dash-array and dash-offset don't work.
  • painting-stroke-07-t - Mitter-limit doesn't work.

Path

  • paths-data-01-t - Ok.
  • paths-data-02-t - Ok.
  • paths-data-04-t - Ok.
  • paths-data-05-t - Ok.
  • paths-data-06-t - Ok.
  • paths-data-07-t - Ok.
  • paths-data-08-t - Ok.
  • paths-data-09-t - Ok.
  • paths-data-10-t - Ok.
  • paths-data-12-t - Ok.
  • paths-data-13-t - Ok.
  • paths-data-14-t - Ok.
  • paths-data-15-t - Ok.

Pserver

  • pservers-grad-01-b -
  • pservers-grad-02-b -
  • pservers-grad-03-b -
  • pservers-grad-04-b -
  • pservers-grad-05-b -
  • pservers-grad-06-b -
  • pservers-grad-07-b -
  • pservers-grad-08-b -
  • pservers-grad-09-b -
  • pservers-grad-10-b -
  • pservers-grad-11-b -
  • pservers-grad-12-b -
  • pservers-grad-13-b -> 15-b -
  • pservers-grad-16-b -
  • pservers-grad-17-b -
  • pservers-grad-18-b -
  • pservers-grad-19-b -

Render

  • render-elems-01-t - Ok.
  • render-elems-02-t - Ok (except !ENTITY support not implemented).
  • render-elems-03-t - Fails (!ENTITY support not implemented).
  • render-elems-06-t (and following) - Glyphs (defs) support not implemented.
  • render-groups-03-t - Glyphs fail.

Shapes

  • shapes-circle-01-t- Partial (Stroke is rendered inside the object).
  • shapes-circle-02-t - Partial (not clipped).
  • shapes-ellipse-01-t - Partial (Stroke is rendered inside the object).
  • shapes-ellipse-02-t - Partial (not clipped).
  • shapes-intro-01-t - Ok.
  • shapes-line-01-t - Ok.
  • shapes-polygon-01-t - Ok.
  • shapes-polyline-01-t - Ok.
  • shapes-rect-01-t - Partial (Stroke is rendered inside the object).
  • shapes-rect-02-t - Partial (Stroke is rendered inside the object).

Struct

Relative images don't work with kaxaml (work with okino)

  • struct-defs-01-t - Ok.
  • struct-frag-01-t - Ok.
  • struct-frag-02-t - Viewbox not correctly implemented.
  • struct-group-01-t - Ok.
  • struct-group-02-b - Ok.
  • struct-group-03-t - Doesn't work with defs in a group.
  • struct-image-01-t - Ok.
  • struct-image-04-t - Image embedding fails.
  • struct-image-06-t - PreserveRation not supported.

Text

  • text-align-01-b - Text-anchor not supported (could be hacked with StackPanel, but a bit too complex).
  • text-align-02-b - Sub and super support (no relative values).
  • text-align-03-b - Text-anchor not supported.
  • text-align-04-b - Text-anchor not supported.
  • text-align-05-b - Text-anchor and writing mode (tb-bt) not supported.
  • text-align-06-b - Text-anchor and writing mode (tb-bt) not supported.
  • text-align-08-b - Glyphs not supported
  • text-deco-01-b - Ok.
  • text-fonts-01-t - Generic fonts not supported.
  • text-fonts-02-t - Ok.
  • text-fonts-03-t - Ok.
  • text-intro-01-t - Ok (CJK fonts not tested).
  • text-intro-02-b - Direction not changed for roman characters.
  • text-intro-03-b - Writing mode not supported
  • text-intro-04-t - Ok (CJK fonts not tested).
  • text-intro-05-t - Text-anchor not supported.
  • text-path-01-b - Text on path not supported.
  • text-spacing-01-b - Letter and word spacing not supported (needs confirmation).
  • text-text-01-b - textLength and LengthAdjust not supported (needs confirmation).
  • text-text-03-b - Ok.
  • text-text-04-t to text-text-06-t - Text-anchor not supported; multiple x and y values not supported.
  • text-text-07-t - Text rotation not supported.
  • text-text-08-b - Text stroke not supported (could be implemented via Border).
  • text-tref-01-b - tref not supported.
  • text-tselect-01-b - span positioning not supported.
  • text-tspan-01-b - span positioning not supported.
  • text-ws-01-t - Ok.
  • text-ws-02-t - Some xml:space="preserve" issues.