About SVG's Chinese display problem

xiaoxiao2021-04-09  351

(1) First, the first thing to pay is to indicate the Chinese font in SvgViewer. It is necessary to "internationalize" the Chinese font name. blackbody "to" simhei "and so, here is a partial list of font control: English Name Localized Name SimSun Song simHei in bold italics _GB2312 KaiTi_GB2312 FangSong_GB2312 italics _GB2312 YouYuan round STSong Young Chinese Chinese Song Song STZhongsong STKaiti Hua Wenkai body STFangsong italics STXihei Chinese Chinese Fine black stliti Chinese 隶 书 Stxingkai 华文 行 楷 stxinwei 华文 华文 行 楷 华文 华 stcaiyun 华文 云 FZYAOTI Fang Zheng Yao body Simplified FZSHUTI Founder Song Body Simplified NSIMSUN New Song Lisu Lishu

(2) File coding problem

Select UTF-8 encoding or Unicode encoding when saving SVG files, and of course the encoding attribute of the SVG file should also be "UTF-8"

转载请注明原文地址:https://www.9cbs.com/read-133039.html

New Post(0)