Editing SVG Limitations

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
This page lists things that SVG supports that Warzone does not, or things within SVG files that can cause quirky behavior.
 
 
== Not Supported ==
 
 
* Embedded Text (there's a way around this problem by turning the text into paths)
 
* Embedded Images (converting it to vectors will solve this problem)
 
* Gradients
 
* Masks
 
* Stroke joint styles other than Round
 
* Stroke styles other than solid, such as dashed lines.
 
 
== Bug with Small Strokes ==
 
 
 
There's a bug with Flash that causes strokes (object's borders) to appear too small when the stroke's thickness is 0.5 or lower.
 
There's a bug with Flash that causes strokes (object's borders) to appear too small when the stroke's thickness is 0.5 or lower.
  
Line 18: Line 5:
 
For this reason, you should avoid any strokes of 0.5 or lower.   
 
For this reason, you should avoid any strokes of 0.5 or lower.   
  
Note that it's possible to have a object that specifies its stroke greater than 0.5, but if the object is being scaled down due to a transform somewhere else in the SVG file the stroke will be reduced.  If the final reduced stroke is less than or equal to 0.5, the issue will appear.  Conversely, if an object specifies a stroke of 0.5 or less, but gets scaled up due to a transform to a value greater than 0.5, it will render just fine.
+
Note that it's possible to have a SVG file that specifies a stroke greater than 0.5, but if the object is being scaled down due to a transform the stroke will be reduced.  If the final reduced stroke is less than or equal to 0.5, the issue will appear.  Similarly, it's fine for an SVG to specify a stroke of .5 or less if the object is being scaled up.
 
+
== Heightmap + Evenodd Winding Rule ==
+
 
+
If using a heightmap, all territories and bonus links will be rendered using the "nonzero" winding rule, even if your svg file specifies it should use the "evenodd" winding rule.  This is a necessary limitation of heightmaps.  Most of the time, this won't matter, as it only affects paths that cross over themselves, which is a rare thing to do when making Warzone maps.
+
 
+
[[Category:Map Making|Limitations]]
+

Please note that all contributions to Warzone Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Warzone Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox