Scalable Vector Graphics (SVG) Question:
Download Questions PDF

How does one specify a precise font in any other way than by downloading? In particular, how would an SVG document specify the difference between Adobe Times (in Type1 format, say), and Monotype Times (in TrueType format, say)?

Answer:

You can provide a 'hint' about what type format a given font is, but I'm not sure that all implementations will do what you want and (for example) only use the Type1 font.

I think Web fonts are the way to go if you want to ensure that the correct font is used. System fonts have their place, too, but probably should be avoided if you have precise text needs.

Download SVG Interview Questions And Answers PDF

Previous QuestionNext Question
If yes, and the font is in Type1 format, and if the font is specified by download, how does the SVG renderer find the corresponding .afm (font metrics) file?Is there any way for the creator of an SVG document to specify text that will (a) be rendered with the precise metrics intended and (b) will render correctly on all conforming SVG implementations?