Sha256: 0183e137241acd5454d4966e74a258964062d88ca0350e51c00d619747213c33

Contents?: true

Size: 802 Bytes

Versions: 44

Compression:

Stored size: 802 Bytes

Contents

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="10cm" height="3cm" viewBox="0 0 1000 300"
     xmlns="http://www.w3.org/2000/svg" version="1.1">
  <desc>Example tspan02 - using tspan's dx and dy attributes 
        for incremental positioning adjustments</desc>
  <g font-family="Verdana" font-size="45" >
    <text x="200" y="150" fill="blue" >
      But you
        <tspan dx="2em" dy="-50" font-weight="bold" fill="red" >
          are
        </tspan>
        <tspan dy="100">
           a peach!
        </tspan>
    </text>
  </g>
  <!-- Show outline of canvas using 'rect' element -->
  <rect x="1" y="1" width="998" height="298"
        fill="none" stroke="blue" stroke-width="2" />
</svg>

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
prawn-svg-0.36.0 spec/sample_svg/tspan02.svg
prawn-svg-0.35.1 spec/sample_svg/tspan02.svg
prawn-svg-0.35.0 spec/sample_svg/tspan02.svg
prawn-svg-0.34.2 spec/sample_svg/tspan02.svg
prawn-svg-0.34.1 spec/sample_svg/tspan02.svg
prawn-svg-0.34.0 spec/sample_svg/tspan02.svg
prawn-svg-0.33.0 spec/sample_svg/tspan02.svg
prawn-svg-0.32.0 spec/sample_svg/tspan02.svg
prawn-svg-0.31.0 spec/sample_svg/tspan02.svg
prawn-svg-0.30.0 spec/sample_svg/tspan02.svg
prawn-svg-0.29.1 spec/sample_svg/tspan02.svg
prawn-svg-0.29.0 spec/sample_svg/tspan02.svg
prawn-svg-0.28.0 spec/sample_svg/tspan02.svg
prawn-svg-0.27.1 spec/sample_svg/tspan02.svg
prawn-svg-0.27.0 spec/sample_svg/tspan02.svg
prawn-svg-0.26.0 spec/sample_svg/tspan02.svg
prawn-svg-0.25.2 spec/sample_svg/tspan02.svg
prawn-svg-0.25.1 spec/sample_svg/tspan02.svg
prawn-svg-0.25.0 spec/sample_svg/tspan02.svg
prawn-svg-0.24.0 spec/sample_svg/tspan02.svg