Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0" encoding="utf-8"?>
<svg id="svg-root"
width="100%" height="100%" viewBox="0 0 480 360"
<g id="testmeta">
<title>Text: Multiline — 001</title>
<html:link rel="author"
title="Tavmjong Bah"
href="mailto:tavmjong@free.fr"/>
</g>
<style id="test-font" type="text/css">
/* Standard Font (if needed). */
@font-face {
font-family: FreeSans;
src: url("fonts/FreeSans.woff") format("woff"),
local("FreeSans");
}
text { font-family: FreeSans, sans-serif }
</style>
<style id="test-style" type="text/css">
/* Style that is being tested (if needed). */
text { font-family: FreeSans, sans-serif }
</style>
<g id="test-body-reference" style="font-size:16px;fill:black">
<g transform="translate(0,0)">
<text>
<tspan x="80" y="114.8">Lorem ipsum dolor sit amet, consectetur</tspan>
<tspan x="80" y="134.8">adipisicing elit,</tspan>
</text>
</g>
<g transform="translate(0,60)">
<text style="text-anchor:middle">
<tspan x="240" y="114.8">Lorem ipsum dolor sit amet, consectetur</tspan>
<tspan x="240" y="134.8">adipisicing elit,</tspan>
</text>
</g>
<g transform="translate(0,120)">
<text style="text-anchor:end">
<tspan x="400" y="114.8">Lorem ipsum dolor sit amet, consectetur</tspan>
<tspan x="400" y="134.8">adipisicing elit,</tspan>
</text>
</g>
</g>
</svg>