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

font error in dwgdirect 2.2.0
font error in dwgdirect 2.2.0
hi everyone!
when i used the dwgdirect 1.14 version, font is reading
but 2.2.0 version, font is not being read.
what can i solve this problem?
please help me.
cf
no error.jpg : not error image
error1.jpg :error image
ttt.dwg: autocad drawing in autocad2005
attached images
hello kjnoh,
the problem is with full big font file name ( c:\r13\com\fonts\whgtxt.shx). dwgdirect ( and acad2007 too ) uses font name (without path) to getting codepage text for converting to/from unicode right. we will fix this problem in next release.
also you need to add non acad big fonts during initialize your application by next way odcharmapper::addbigfontwithindex(fontname, cogeindex). acad2007 has bigfont.ini file for this purpose.
so you can try to add in your application for test odcharmapper::addbigfontwithindex( _t("c:\\r13\\com\\fonts\\whgtxt.shx"), 3).
best regards,
sergey z.
quote:
originally posted by sergey z.
hello kjnoh,
the problem is with full big font file name ( c:\r13\com\fonts\whgtxt.shx). dwgdirect ( and acad2007 too ) uses font name (without path) to getting codepage text for converting to/from unicode right. we will fix this problem in next release.
also you need to add non acad big fonts during initialize your application by next way odcharmapper::addbigfontwithindex(fontname, cogeindex). acad2007 has bigfont.ini file for this purpose.
so you can try to add in your application for test odcharmapper::addbigfontwithindex( _t("c:\\r13\\com\\fonts\\whgtxt.shx"), 3).
thank sergey z.
you've been a great help.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)