Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2005:
[Freeciv-Dev] (PR#12388) image translation using SVG
Home

[Freeciv-Dev] (PR#12388) image translation using SVG

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12388) image translation using SVG
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Feb 2005 18:58:28 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12388 >

This is just a vague idea at this point.

This discsusses the possibility of translating SVG files (as used on a 
web page) using babelfish or another automated service.

My idea is a bit simpler.  An SVG renderer is added to the codebase 
(probably using libsvg and cairo, or an snapshot or extracted subset 
thereof).  First of all this allows tileset and theme graphics to be 
done with SVG, although that may not be of much use if it's too slow.

However the interesting point about this is that it is possible (though 
perhaps tricky) to do embedded translations of text).  For instance the 
intro graphics add text on top of the image that is drawn - making it 
hard to change the graphics since then the new text would be misplaced 
on them.  Using translated SVG the text (and embedded PNG image) would 
be part of the SVG file and would be translated by the code upon loading 
(and prior to rendering).  It might even be possible to translate the 
entire SVG file, allowing the translated text to use custom positioning, 
fonts, and wrapping.  This is not too different from GTK's markup language.

References:

   http://www.schepers.cc/svgaccessibilit
   http://www.stylusstudio.com/xmldev/200007/post70560.htmly.html

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12388) image translation using SVG, Jason Short <=