Piste: Sozi browsers changelog contributors control faq format install share tips

Tips and tricks

Convert texts to paths

This tip solve three problems :

  • To distribute an SVG file containing text, you should generally limit yourself to “web-safe” fonts, assuming they are installed on a majority of computers.
  • With Firefox 3.6 et 4.0 beta, text areas with several lines aren't always correctly rendered.
  • If a document contain a lot of text, rendering is much longer, and animation may become jerky.

In Inkscape, the “convert to path” function (available in the “Path” menu or using the keyboard shortcut “Shift-Ctrl-C”) transforms any element to a path. Applied to a text, it will :

  • guarantee good text rendering on every computer where your document will be displayed.
  • improve text rendering speed, resulting in smoother animations.

But this function has two drawbacks :

  • If your document contains a lot of text, the SVG file size will increase significantly.
  • Once converted to a path, a text element is not editable any more. So, it is useful to keep two versions of your document: the original version with editable text, and a converted version for viewing.
 
en/tips.txt · Dernière modification: 2012/01/16 22:19 (modification externe)
 
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki