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

yang686526 2009-05-06 08:18 PM

【转帖】oddbtextiterator and currproperties
 
oddbtextiterator and currproperties
oddbtextiterator and currproperties
hello,
in the attached drawing is a multibyte glyph \m+2b0de with font isocp2.shx and bigfont hzdx.shx.
vectorizing with odgsbasevectorizedevice::textproc and
code:
oddbtextiteratorptr ittext = oddbtextiterator::createobject(msg, length, raw, ptextstyle->getcodepage(), ptextstyle);
odcharacterproperties chproperties = ittext->currproperties();
returns in
code:
chproperties.binbigfont
false and not true. how can i get the correct value?
thanks for help,
woho
attached files
hello woho,
if you use dwgdirect version upwards 2.0 try to inisialize odcharmapper like
odcharmapper::addbigfontwithindex(_t("hzdx.shx"), 2); during init your application.
best regards,
sergey z.


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