0

I am writing a web application in SVG. I am using bartik to convert the user created svg into png file on the server (AWS EC2 - Ubuntu 12.1).

In the web application, the user modifies the font by retrieving the font family from the google web fonts library. As these fonts are not installed on our server, how can I use them on the server side when the time comes to convert the svg to png?

Couple of options I am considering:

  • Install the fonts on to the server, am concerned about the performace impact of installing that many (around 600) fonts on the live server. Is this even a good idea?

  • Dynamically install the fonts (the user has used) pre-conversion & then after conversion, uninstall all the fonts so that the server stays snappy.

Would appreciate feedback & as to the best course of action.

Thanks

Charles
  • 50,943
  • 13
  • 104
  • 142
sarfraz
  • 27
  • 8
  • 600 fonts is not a big number. Many of us designers have thousands and the only performance penalty we face is when we open design apps. On a server it wouldn't have much impact. Fonts behave more like files rather than processes. – methodofaction May 24 '13 at 14:15
  • can me tell that what is the best way to use fonts for svg either **ttf fonts or svg fonts** – sarfraz May 26 '13 at 04:44
  • If you're using Batik then TTF is a better option. – methodofaction May 26 '13 at 07:10

0 Answers0