查看单个帖子
旧 2009-05-05, 08:53 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】dxfdwg file reading when dwgcodepage is undefined

dxf/dwg file reading when &dwgcodepage is undefined
dxf/dwg file reading when $dwgcodepage is undefined
i work on shifts from dd1.14.02 to dd2.2.0 now.
i found the problem occurring in reading the text.
?when font used bigfont. (bigfont.shx, extfont.shx etc)
?$dwgcodepage is undefined.
(the problem occurs when it meets both requirements )
however, it was a no problem in dd1.14.02.
in dd1.14.02, it seems to recover undefined dwgcodepage as cp_ansi_932.
(i am working in japan, the value of getacp() is 932 )
however, the recovery processing of dwgcodepage seems to have disappeared in dd2.2.0.
(or default value setup)
it can be confirmed by using odamfcapp.exe.
dd1.14.02 -> 38(cp_ansi_932)
dd2.2.0 -> 0(cp_undefined)
( oddbdatabase::getdwgcodepage() is also the same )
please teach the method of doing the same operation as dd1.14.02.
(or, please teach the reading method of assuming cp_ansi_932 to be a default
value. )
r12dxf output from autocad2007 is appended.
($dwgcodepage of r12dxf that autocad output is undefined.)
i am using only bigfont.shx though it looks like "can't display big-font text (hangul) in 2.2.0 version. please help me".
attached files
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)