查看单个帖子
旧 2009-05-06, 03:33 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】i need to know how to set up the font path

i need to know how to set up the font path
i need to know how to set up the font path
when i render dwg file, the text area are marked as "???".
i think that's because the font path is not properly set.
i need to know how to set up the font path.
when dd needs a font first oddbhostappservices::getpreferablefont() is called. client code can return full path or file name without path to substitute some font instead of requested.
default implementation returns empty string.
after that oddbhostappservices::findfile() is called. client implementation can return full path. default implementation searchs the font using paths specified in "acad" environment variable.
if font is not found dd uses built-in equivalents of simplex or gdt.
if you see ??? instead of text the reasons may be:
1. required font is found but it does not contain characters replaced with '?'.
2. required font was not found and dd built-in simplex (or gdt if gdt was requested) does not contain the characters replaced with '?'
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)