几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】katakana bigfont rendering (http://www.dimcax.com/hust/showthread.php?t=16989)

yang686526 2009-05-06 04:31 PM

【转帖】katakana bigfont rendering
 
katakana bigfont rendering
katakana bigfont rendering
i use dd 1.10 update 1.
there is a problem with shx bigfont rendering (see attached dwg and gifs). the findfile procedure receive empty string instead "bigfont.shx" so i can't return full path to this font file.
attached files
odamfcapp renders shx text with bigfont correctly in 1.09 and 1.10.
findfile() is called more than once. first time with empty string and next time with correct value.
we optimized out first senseless call with empty string but it will not solve your problem.
sergey slezkin
quote:
originally posted by ivan obraztsov
the findfile procedure receive empty string instead "bigfont.shx" so i can't return full path to this font file.
this situation is possible (it will be corrected in dd 1.11) but it isn't insoluble problem. at first dd calls getpreferablefont() which returns empty name and then calls findfile(). in this case if findfile() returns empty string dd calls its again with right file name.
--
best regards,
sergey zaitcev
quote:
originally posted by sergey z.
at first dd calls getpreferablefont() which returns empty name and then calls findfile(). in this case if findfile() returns empty string dd calls its again with right file name.
thank you!
really, i returned incorrect path if empty string was received. i fix it and now it works fine.
best regards,
ivan obraztsov


所有的时间均为北京时间。 现在的时间是 06:41 PM.