SOLIDWORKS工程图导出DWG图纸时字体处理方法

您所在的位置:网站首页 sw2022怎么导出二维图 SOLIDWORKS工程图导出DWG图纸时字体处理方法

SOLIDWORKS工程图导出DWG图纸时字体处理方法

2024-07-12 15:48| 来源: 网络整理| 查看: 265

SOLIDWORKS工程图导出DWG图纸时字体处理方法 文章转载于《SOLIDWORKS工程图导出DWG图纸时字体处理方法》

在完成SOLIDWORKS工程图后,如碰到转出DWG图纸情况时,对于字体乱码问题就是最让人头疼的,面对此问题,我们需要如何来处理呢?

在这里插入图片描述

首先需要了解SOLIDWORKS导出DWG时可以选择的字体导出类型有哪几类。

TrueType类型

使用该项目可以直接将SOLIDWORKS中的字体导出到DWG图纸中,保证了导出后的图纸与原图纸的高度一致性,也保证字体不会出现异常。

在这里插入图片描述

仅限于AutoCAD标准

该项目可以分为两个部分:使用windows字体、使用SHX字体。但无论是使用那种类型的字体都要先进行字体映射的指定,即告诉SOLIDWORKS导出时使用哪种字体。

在SOLIDWORKS安装目录下data文件夹中的drawfontmap.txt文档记录了相关的字体映射关系,打开该文件进行设置。

我的文件位置:D:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\data

drawfontmap.txt内容 *AutoCAD SHX or TTF to SolidWorks or Windows True Type font, mapping file *Created: October 18, 2001 * file format: 3 columns, space delimited * first column = AutoCAD *.shx or *.ttf font names, * second column = SolidWorks or Windows installed *.ttf font names * last column = SolidWorks->AutoCAD width adjustment factor * All font names in the columns below must not contain file extensions. * Font names in the right hand column must be SolidWorks or Windows installed True Type fonts. * You can add fonts and rows to the mapping file. * For any fonts in mapping file that are not installed, substitute default fonts are used. * You can add comments to the mapping file. Comment lines must be prefaced with the asterisk (*) symbol. complex SWComp 0.97 gdt SWGDT 0.825 * amgdt SWGDT 0.825 * amgdtans SWGDT 0.825 gothice SWGothe 0.97 gothicg SWGothg 0.97 gothici SWGothi 0.97 greekc SWGrekc 0.97 greeks SWGreks 0.97 isocp SWIsop1 0.96 isocp2 SWIsop2 0.96 isocp3 SWIsop3 0.96 isoct SWIsot1 0.97 isoct2 SWIsot2 0.97 isoct3 SWIsot3 0.97 italic SWItal 0.85 italicc SWItalc 1.0 italict SWItalt 1.0 monotxt SWMono 0.98 romanc SWRomnc 0.97 romand SWRomnd 0.97 romans SWRomns 0.97 romant SWRomnt 0.97 scriptc SWScrpc 0.96 scripts SWScrps 0.84 simplex SWSimp 0.97 syastro SWAstro 0.97 symap SWMap 0.97 symath SWMath 0.95 symeteo SWMeteo 0.95 symusic SWMusic 0.94 txt SWTxt 0.96 黑体 汉仪长仿宋体 1

在这里插入图片描述 将展示汉仪长仿宋体导出DWG时转化为黑体

在这里插入图片描述

一般情况下建议字体映射到DWG时使用windows字体,而不是直接映射到SHX字体(由于SHX字体常细分为数字使用的gbeitc.shx和汉字的gbcbig.shx)。



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3