当输入 DXF/DWG 工程图文件时,即使计算机上没有安装 AutoCAD,SOLIDWORKS 也能正确地显示 AutoCAD® 字体。 SOLIDWORKS 已添加了 True Type 字体以支持常用的 AutoCAD 字体。
字体使用位于 \Data\drawFontMap.txt 中的默认映射文件被映射。
在默认映射文件中,左列列举源工程图中的 AutoCAD SHX 或 True Type 字体。 右列列举 AutoCAD 工程图文字在新的 SOLIDWORKS 工程图中被映射到的 SOLIDWORKS 或 Windows True Type 字体。
您可根据需要编辑映射文件。 当将额外的 AutoCAD 字体映射到 SOLIDWORKS 或 Windows True Type 字体时,注意以下情况:
- 两个字体列表必须是简单的字体名称,无扩展名。
- SOLIDWORKS 或 Windows True Type 字体必须在操作系统的 \Fonts 目录中可用。 (要找到 \Fonts 文件夹,在 运行 窗口,键入 %systemroot%\fonts。) 如果 True Type 字体不可用,将使用 SOLIDWORKS 工程图文档默认字体。
SOLIDWORKS 或 Windows True Type 字体还可用于 SOLIDWORKS 原始文件中。 当您保存 SOLIDWORKS 文件为 DXF 或 DWG 文件时,您可使用 drawFontMap.txt 映射文件将任何 SOLIDWORKS 或 Windows True Type 字体反转映射到 AutoCAD SHX 或 True Type 字体。 当工程图文件在 AutoCAD 中打开时,将使用确切的字体 - 不需要替换的默认字体。 这将改进工程图文件的视觉真实感。
以下列表展示默认映射文件中所包含的字体:
AutoCAD SHX 或 True Type 字体 |
SOLIDWORKS 或 Windows True Type 字体 |
complex |
SWComp |
gdt |
SWGDT |
gothice |
SWGothe |
gothicg |
SWGothg |
gothici |
SWGothi |
greekc |
SWGrekc |
greeks |
SWGreks |
isocp |
SWIsop1 |
isocp2 |
SWIsop2 |
isocp3 |
SWIsop3 |
isoct |
SWIsot1 |
isoct2 |
SWIsot2 |
isoct3 |
SWIsot3 |
italic |
SWItal |
italicc |
SWItalc |
italict |
SWItalt |
monotxt |
SWMono |
romanc |
SWRomnc |
romand |
SWRomnd |
romans |
SWRomns |
romant |
SWRomnt |
scriptc |
SWScrpc |
scripts |
SWScrps |
simplex |
SWSimp |
syastro |
SWAstro |
symap |
SWMap |
symath |
SWMath |
symeteo |
SWMeteo |
symusic |
SWMusic |
txt |
SWTxt |