查看单个帖子
旧 2009-05-04, 05:32 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】cant display big-font text 9hangul0 in 2.2.0 version. pleas

can't display big-font text (hangul) in 2.2.0 version. pleas
can't display big-font text (hangul) in 2.2.0 version. please help me.
hi, i'm david.lee, korean.
when i used the dwgdirect 1.14 version, bigfont text (hangul) is displayed normally. but ink 2.2.0 version (unicode), bigfont text is displayed as like "??". what can i solve this problem? please help me.
hi david,
here is from dwddirect help topic 2.0.3 release notes
"to convert bigfont characters to and from unicode, dwgdirect must have the codepage of the bigfont. a default set of bigfont to codepage mappings is provided by dwgdirect, but if non-standard bigfonts are used, the client can provide codepage information for them by calling odcharmapper::addbigfontwithindex or odcharmapper::addbigfontwithcodepage. "
so try to add odcharmapper::addbigfontwithindex("hangul", 3) during initialize your application. if it will not take effect could you attach or send by mail (szajcev@softdev.spb.ru ) sample drawing and font file?
best regards,
sergey z.
thank you for sincerly reply.
hi, sergey z.
thank you for replying my article in open design support forum.
and i try your code "odcharmapper::addbigfontwithindex("hangul", 3)", and some font file is ok.
but i have a problem about some font file. hangul font has two type. one type is korean (wansung),
another type is korean (johab). and first is cp949 in autocad, second is cp1361 in autocad.
in dwgdirect reference, codepage index has 1, 2, 3, 5 (932 / 950 / 949 / 936).
couldn't support the cp1361 in dwgdirect yet? and i send some font file. please try these in dwgdirect.
thank your for your sincerly help.
(i send some font file via your email.)
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)