找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 443|回复: 0

[分享]:使用Mtext编辑时字型总是切换到Tahoma或其他Turetype字体

[复制链接]
发表于 2004-9-12 16:35:03 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
1、 以下是问题的原因及根本推荐解决方案
MText Font Defaults to Tahoma
When you work in the internal mtext editor, the font may switch to Tahoma, even though that font was not specified. The problem occurs when a TrueType font is selected that does not contain ANSI codepage information. (The Richedit control within the mtext editor attempts to match the font with a font that is registered on the system with ANSI code page info, and Tahoma is the font it finds.)

To solve the problem, replace custom TrueType fonts with registered TrueType fonts, or else get a version of the custom fonts that contains ANSI codepage info.


MText 执行时默认为 Tahoma (或 宋体)
当你用acad内部默认的mtext编辑器时编辑尺寸或文本时,原来的字型可能自动切换到Tahoma(或 宋体等TrueType字体)。出现这个问题,是因为你原来使用的字型没有包含ANSI代码页的信息。(在Mtext编辑器内调用的Richedit控件试图与带有ANSI代码页信息的系统注册字型进行匹配,Tahoma是该控件找到的字型。)

为了解决这个问题,可以用系统注册的TrueType字型替换自定义TureType字型,或者去获得包含ANSI代码页信息的自定义字型来使用。

2、咱们的小工具解决方案(推荐给各位朋友)
请使用如下Lsp程序。请将mtextcf.lsp加载后,执行mtextcf,则一切good。
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2025-9-22 06:10 , Processed in 0.444216 second(s), 33 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表