"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">.