info-farmer
info-farmer

Reputation: 265

How to edit the text of a SVG file?

I want to translate the labels of a wikimedia Commons SVG file. After opening a SVG file in a Geany text editor, i do search and replace option for put the translations. In this case, i cant find relaxant text? But there is text Id only as below. How can i find the text?

Examples for SVG files:-

1) code with text from the this file

<text x="-34.614517" y="314.04907" transform="matrix(0.90850818,-0.41786707,0.41786707,0.90850818,0,0)"><tspan style="font-size:108px;fill:#ff0000;font-family:Courier">FIRED!</tspan></text>

2) code without text from the mentioned SVG file link:

<text
 xml:space="preserve"
 style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:justify;letter-spacing:0px;word-spacing:0px;writing-mode:lr;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;"
 x="523.21991"
 y="135.43217"
 id="text3578"
 sodipodi:linespacing="125%"><tspan
   sodipodi:role="line"
   id="tspan3582" /></text>

Upvotes: 3

Views: 11379

Answers (1)

Nawed Nabi Zada
Nawed Nabi Zada

Reputation: 2875

As Robert Longson mentions there is no text.

All elements are drawn:

Harp.svg

If you open the .SVG file with Inkscape you will be able to see all objects

Upvotes: 4

Related Questions