高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|