查看单个帖子
旧 2009-05-06, 08:18 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)