Logo en SVG
authorPatrick PIERRE
ven., 01 nov. 2013 13:31:18 +0100
changeset 255 3a9b70f0d4f7
parent 254 c8c216d40a89
child 256 2b36e6a5b587
Logo en SVG
RelaxNG/Examples/Documents/Images/prismallia_logo.svg
RelaxNG/Examples/Documents/torture_test.xml
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/RelaxNG/Examples/Documents/Images/prismallia_logo.svg	ven. nov. 01 13:31:18 2013 +0100
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   version="1.1"
+   width="220"
+   height="63"
+   id="svg2">
+  <defs
+     id="defs4" />
+  <g
+     transform="translate(-267.85067,-307.13135)"
+     id="layer1">
+    <g
+       transform="translate(5.2802741,10.105538)"
+       id="g2484">
+      <text
+         x="294.66879"
+         y="341.9126"
+         id="text2479"
+         xml:space="preserve"
+         style="font-size:48px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#993333;fill-opacity:1;stroke:none;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"><tspan
+           x="294.66879"
+           y="341.9126"
+           id="tspan2481">risma</tspan></text>
+      <text
+         x="415.40848"
+         y="341.9126"
+         id="text2483"
+         xml:space="preserve"
+         style="font-size:48px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans Italic"><tspan
+           x="415.40848"
+           y="341.9126"
+           id="tspan2485">ll</tspan></text>
+      <text
+         x="438.86099"
+         y="341.9126"
+         id="text2487"
+         xml:space="preserve"
+         style="font-size:48px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#993333;fill-opacity:1;stroke:none;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"><tspan
+           x="438.86099"
+           y="341.9126"
+           id="tspan2489">ia</tspan></text>
+      <text
+         x="293.9801"
+         y="314.0831"
+         transform="scale(0.8977246,1.1139274)"
+         id="text2491"
+         xml:space="preserve"
+         style="font-size:53.4685173px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#993333;fill-opacity:1;stroke:none;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"><tspan
+           x="293.9801"
+           y="314.0831"
+           id="tspan2493">P</tspan></text>
+      <path
+         d="m 278.22291,349.35672 198.56201,0.0584"
+         id="path2497"
+         style="fill:none;stroke:#000000;stroke-width:1.01040423px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
+  </g>
+</svg>
--- a/RelaxNG/Examples/Documents/torture_test.xml	jeu. oct. 31 12:23:45 2013 +0100
+++ b/RelaxNG/Examples/Documents/torture_test.xml	ven. nov. 01 13:31:18 2013 +0100
@@ -144,8 +144,7 @@
         <header>
           <media>
             <image id="header">
-              <?tune target="html" format="png"?>
-              <?tune target="html" size="x45>"?>
+              <?tune target="html" format="png" size="x45>"?>
             </image>
           </media>
         </header>
@@ -707,7 +706,9 @@
               </caption>
             </media>
             <media type="logo">
-              <image id="prismallia_logo" type="thumbnail"/>
+              <image id="prismallia_logo" type="thumbnail">
+                <?tune target="html" format="svg"?>
+              </image>
               <caption>Le logo de <name>Prismallia</name></caption>
               <link uri="http://www.prismallia.fr"/>
             </media>