查看单个帖子
旧 2009-05-05, 11:01 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】font convertion

font convertion
font convertion
i would like to convert shx type font in dwg file into windows true type font, so i can display with windows true type font.
is this possible to convert into windows true type font?
then please send me your knowledge.
i have developed the dwg_viewer in reference.
if you need substitute some font you can override oddbhostappservices::getpreferablefont(...). default emplementation repeats the acad font maping mechanism and uses oddbhostappservices::getfontmapfilename() for getting map file.
(by default acad uses "acad.fmp"). you also can override getfontmapfilename() method for return own map file.
--
best regards,
sergey zaitcev
quote:
originally posted by hyonsuk son
i would like to convert shx type font in dwg file into windows true type font, so i can display with windows true type font.
is this possible to convert into windows true type font?
then please send me your knowledge.
i have developed the dwg_viewer in reference.
i don't know if this helps you, but autocad comes with ttf versions of the .shx fonts shipped with autocad.
simplex.shx has simplex_.ttf, romans.shx has romans_.ttf, etc.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)