Guidance:
What is SVG? Scalable Vector
Graphics (SVG for short) refers to "Scalable Vector Graphics. SVG is an open standard developed by W3C to describe 2D vector diagrams Based on Extensible Markup Language (XML.
SVG strictly complies with the XML syntax. SVG describes the image content in descriptive language of the text format. Therefore, SVG is a vector graphics format unrelated to the image resolution.
SVG allows you to design a webpage with more excellent and meticulous usage of simple text commands, SVG supports various common image effects, such as linear color changes, paths, custom fonts, transparent effects, and filter effects.
You can use the Chinese font for writing in SVG. Label. Meanwhile, SVG documents are stored in UTF-8 format.
Svgviewer is a plug-in that enables SVG to be displayed in a browser. To display Chinese fonts in svgviewer, the Chinese font name must be "internationalized", that is, the Chinese font
Change the name to an English name. For example, change "" to "simsun", and change "" to "simhei". The following lists some fonts for comparison:
English name localized name
Simsun
Simhei
Fangsong_gb2312 _ gb2312
Kaiti_gb2312 _ gb2312
Youyuan
Stsong 文
Stzhongsong 文中
Stkaiti 文
Stfangsong 文
Stxihei 文
Stliti 文
Stxingkai
Stxinwei 文
Sthupo 文
Stcaiyun 文
Fzyaoti founder Yao simplified
Fzshuti 正 simplified
Nsimsun
Lisu statement
----- Remarks -------------------
The font name is optional, but must be enclosed by quotation marks, as shown in figure
Font-family = ''
----- Remarks -------------------
Instance:
This is an example!
This article is transferred from
Http://hi.baidu.com/rayen/blog/item/313d1a24a47c712fd40742f0.html