几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » AutoCAD二次开发 » DirectDWG
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-05-04, 04:42 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】bigfont.shx font file doesnot to get called with library u

"bigfont.shx" font file doesnot to get called with library u
"bigfont.shx" font file doesnot to get called with library update from dwg1.14 to dwg
hi all,
with the library update from dwg1.14 to dwg2.04, i am not getting the call for the font file having japanese text.
i can see from the call stack,
in lib 1.14, getbigfontfilepath is getting called,
but in lib 2.04, for the same file getfontfilepath is called, and hence, i am not able to get control over "bigfont.shx" file.
i have attached the complete description of the issue,with call stack for both working and not working scenario in the zip file. for the reference, i have attached the dwg file along with the font shx file.
let me know your understanding on the issue i am facing.
thank you,
attached images
hello
the latest available dwgdirect version is 2.7.1. getbigfontfilepath() is getting called in it.
sample odamfcapp.exe version 2.4.1 (i have in archive it) renders your attached dwg file with using big font.
check your problem again. in any case in the first findfile() is called from getfontfilepath() and then from getbigfontfilepath().
best regards,
sergey z.
hello,
we have dependency to use 2.4 lib as of now. we are upgrading from 1.14 to 2.4 version.
here is the flow
1. in 1.14 version, findfile() is called directly from
oddbfontservices::loadstylerec() ----> then oddbfontservices::getbigfontfilepath() --> findfile(),
this is a working scenario, and we are able to see fonts in 1.14.
2. now in 2.4 library, findfile() is called from
oddbfontservices::loadstylerec() ----> then oddbfontservices::getfontfilepath() ---> then again
oddbfontservices::getfontfilepath() ----> then findfile(),
hence, getfontfilepath() is failing to getbigfontfilepath() in 2.4 version. and we are unable to display the bigfonts.
so we would like to know, what can be workaround for this version.
also, i performed another operation using odamfcapp.exe. i opened 051.dwg file, and exported the file as pdf. i have attached the pdf output through odamfcapp.exe of 1.14,2.04, and 2.07 version.
i could see japanese fonts only in 1.14. japanese fonts are not coming in 2.04 and even in 2.07.
attached zip file contains source files (i.e 051.dwg and dependent bigfont.shx)
let me know your inputs on my observation.
thank you,
attached files (184.5 kb, 1 views)
(240.3 kb, 1 views)
(192.7 kb, 1 views)
(240.4 kb, 1 views)

hello
have you east asian languages support set on your system? start dwgdirect version 2.0 all strings are stored as unicode. big fonts have mbcb coding. so convertion is needed.
best regards,
sergey z.
hello,
yeah, east asian language support is enabled in my desk. and our applications is deployed in unicode version.
still the behaviour is same, and problem exists.
also,
<<<<<<<<<<<<
big fonts have mbcb coding. so convertion is needed.
>>>>>>>>>>>>
how can we achieve this conversion?
let me know your understanding on this.
thank you,
hello,
east asian language support is enough for conversion (system table conversion is available). i am not able to reproduce your situation with odamfcapp versions 2.3.1, 2.4.1 and 2.7.1. i see japanese symbols during rendering your file. could you attach screen shot from odamfcapp vectorize window? for example more detail (zoomed) top right corner.
best regards,
sergey z.
hello,
here is the snapshot for the two versions 1.14 and 2.04. not sure whats the missing part...
thank you,
attached images (146.2 kb, 4 views)
(145.4 kb, 4 views)

last edited by bhaveshp@aditi.com; 26th march 2009 at 09:15 amfff">.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】access violation loading dxf file yang686526 DirectDWG 0 2009-05-04 03:30 PM
友元((friend) 详解 yogy vc编程 0 2007-05-16 02:20 PM
文件系统的操作 cad DirectDWG 0 2007-01-28 04:26 PM


所有的时间均为北京时间。 现在的时间是 01:43 PM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多