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