![]() |
【转帖】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 |
所有的时间均为北京时间。 现在的时间是 01:43 AM. |