From: JazzyNico Date: Fri, 14 Jan 2011 11:04:37 +0000 (+0100) Subject: Extensions. Text support improvement in XAML and FXG export. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b1c372edfc964321a8f7a9c3487e24bb9b170b98;p=inkscape.git Extensions. Text support improvement in XAML and FXG export. --- diff --git a/share/extensions/svg2fxg.xsl b/share/extensions/svg2fxg.xsl index 7569d0db7..4ccd62f27 100755 --- a/share/extensions/svg2fxg.xsl +++ b/share/extensions/svg2fxg.xsl @@ -1737,6 +1737,7 @@ extension-element-prefixes="math"> * Text tspan * Text flowPara * Text flowRegion (text frame) + * Get font size * Font size * Font weight * Font family @@ -1865,15 +1866,14 @@ extension-element-prefixes="math"> - - - + + + - - + + @@ -1883,7 +1883,20 @@ extension-element-prefixes="math"> - + + + + + + + + + + + diff --git a/share/extensions/svg2xaml.xsl b/share/extensions/svg2xaml.xsl index 185ebe25d..a21da1290 100755 --- a/share/extensions/svg2xaml.xsl +++ b/share/extensions/svg2xaml.xsl @@ -3,7 +3,7 @@ + + + @@ -56,8 +64,10 @@ Everything starts here! --> - + @@ -66,58 +76,79 @@ Everything starts here! --> - Collapsed + + Collapsed + - + - - + + + + + + - + - + - + - - - + + + + - + - + + - + - + - + - + - + - + + - - - + + + + + + + + + - - + + + + + + - - - - - - - - + + + + + + + + + + @@ -135,67 +166,284 @@ Everything starts here! --> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -* Resources ids -* Generic defs template -* Generic filters template -* Filter effects -* Linked filter effects -* Linear gradients -* Radial gradients -* Generic gradient stops -* Clipping + - + - - + + - + - + - - - - + + + + + + + + + + + + + + + + + + - + - + - - - + + + - - - + + + - + - + - + + + + + Absolute @@ -215,24 +463,36 @@ Limited to one filter (can be improved) --> - + + + - + + + - + + + - + + + - - + + + + + + @@ -242,22 +502,30 @@ Limited to one filter (can be improved) --> - + + + - - - - + + + + - + - + + + + + Absolute @@ -300,12 +568,20 @@ Limited to one filter (can be improved) --> - - + + + + + + - - + + + + + + @@ -316,19 +592,23 @@ Limited to one filter (can be improved) --> - + + + - - - + + + - + @@ -338,37 +618,52 @@ Limited to one filter (can be improved) --> - + - - - - + + + + + + + + + + + + + + + + + + - - - - - - + @@ -378,89 +673,140 @@ Limited to one filter (can be improved) --> - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + - - - + + + - + - + - + + + + + - + - + + + + + + - + - + + + + + + + + - + - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + - + + + - + + + @@ -523,68 +917,134 @@ Blank template. Title is ignored and desc is converted to Tag in the mode="desc" - + + + + + + + - + + + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + + - - + + + + + + - + + + + 1 + + + + 0 + 1 + + + - + - + + + + + - + - + + + + + + + + + + - - - NonZero + + + + + NonZero + - + @@ -594,9 +1054,13 @@ Blank template. Title is ignored and desc is converted to Tag in the mode="desc" - + + + + + + - #000000 @@ -605,129 +1069,234 @@ Blank template. Title is ignored and desc is converted to Tag in the mode="desc" - + - - - + + + + + + + + + - + + + + + + - - + + + - + + - + + + - - + + + + + + - + + + + 1 + + + + 0 + 1 + + + - + - - + + + + + + + + + + + + + + + - - + + + + + + - + - + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + - - + - + + + + + - - + + + + + + - + + + - + - + + + + + - + + + + + + + + + + - - + + + - + - + + + + + - - + + + + + + - + + + - + @@ -737,31 +1306,50 @@ Blank template. Title is ignored and desc is converted to Tag in the mode="desc" - + - - + + + + + + + - + + + + + - + + + + + - + + + - + @@ -771,118 +1359,201 @@ Blank template. Title is ignored and desc is converted to Tag in the mode="desc" - + - + + + + + - - + + + + + + + - + + + + + - + + + + + - + + + + + - + + + + + - + + + - + - + + + - - + + + + + + - + + + - - + + + + + + + + + + - + + + + + - + + + + + - + + + + + - + + + #000 - - + + + + + + - + - + + + + + - - + + + + + + - + + + - + - - + + + + + + @@ -890,260 +1561,606 @@ Blank template. Title is ignored and desc is converted to Tag in the mode="desc" - - - + + + + + + + + + - + + + -* Parse transform -* Apply transform -* Apply transform v2 + + + + + preserve + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + +

+ + preserve + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +

- - - - - - - - - - - - - - - - - - + + + + + + + - - - - - - - + + - - + + - - + + + + + + - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - + - - - - - - - +
+ 12 +
+
- - - - - - - - - - - - - - + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + Thin + ExtraLight + Light + Normal + Medium + SemiBold + Bold + ExtraBold + Black + ExtraBlack + normal + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + Arial + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + superscript + subscript + -1000 + 1000 + + + + + % + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + rl + tb + + + + rotate270 + + + + + + + + + + + + + + + + + + + + + underline + + + true + + + + + + + + + + + + + + + + + + + + + + + - - - + 1 + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + ltr + rtl + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + - + 12 - - + + + + + + + + + + + + + + + + + + + + + @@ -1153,48 +2170,62 @@ Fixme: is this template still in use? --> - - - - - - - - - - - - - - - - - - - - + - - + + + + + + + + + + + + + + + + + - + - - - - + + + + + + + + + + + + + + + + + + + + - @@ -1211,38 +2242,63 @@ Fixme: is this template still in use? --> - + - - - + + + + - - - - - - - + + + + - + - - + + + + - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - @@ -1261,7 +2317,10 @@ Fixme: is this template still in use? --> - + @@ -1269,7 +2328,6 @@ Fixme: is this template still in use? --> - @@ -1286,7 +2344,10 @@ Fixme: is this template still in use? --> - + @@ -1294,7 +2355,6 @@ Fixme: is this template still in use? --> - @@ -1311,13 +2371,15 @@ Fixme: is this template still in use? --> - + - @@ -1354,7 +2416,10 @@ Fixme: is this template still in use? --> - + @@ -1380,7 +2445,6 @@ Fixme: is this template still in use? --> - @@ -1398,7 +2462,10 @@ Fixme: is this template still in use? --> - + @@ -1422,7 +2489,6 @@ Fixme: is this template still in use? --> - @@ -1440,6 +2506,55 @@ Fixme: is this template still in use? --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +