查看单个帖子
旧 2009-05-05, 09:33 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】error about fon

error about font
error about font
when i use odamfcappdll.exe open a file,chinese word display right,but draw line and save the file, reopen the file,the chinese word display error,files in actchment.
attached images
"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(_t("hztxt.shx"), 5);
odcharmapper::addbigfontwithindex(_t("hzfs.shx"), 5); during initialize your application.
it be intended what unknown big fonts have dwg codepage coding in the latest version of dwgdirect.
best regards,
sergey z.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)