几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】i need to know how to set up the font path (http://www.dimcax.com/hust/showthread.php?t=16823)

yang686526 2009-05-06 03:33 PM

【转帖】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


所有的时间均为北京时间。 现在的时间是 08:11 AM.