高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】explodefragments function on mac
explodefragments function on mac
explodefragments function on mac
hi,
i have the next problem while importing attached file using dwgdirect on mac (on windows the all is fine):
1. i get oddbmtext object.
2. use explodefragments funtion for getting formatting info.
3. in oddbmtextenum objects i get all info (location, text, extended, etc.) beside font name. fields font, bigfont, fontname always contain empty string. but oddbmtext::contents() funtion returns correct string (something like: {\farial|b0|i0|c0|p34;aqggccjjkl} ).
i have this problem on all my mac machines (intel, ppc).
hello vladislav,
font must be available on your computer. check your implementation oddbhostappservices : : findfile() method. where is default implementation for windows platform.
you need to implement oddbhostappservices : : ttffilenamebydescriptor() metod also.
best regards,
sergey z.
last edited by sergey z.; 30th july 2008 at 02:11 amfff">.
quote:
originally posted by sergey z.
hello vladislav,
font must be available on your computer. check your implementation oddbhostappservices : : findfile() method. where is default implementation for windows platform.
you need to implement oddbhostappservices : : ttffilenamebydescriptor() metod also.
sergey,
sank you for your quickly answer. i have understood what i should do to fix this problem.
are there any examples for mac such as odreadex for win?
hello vladislav,
odreadex works on mac but unfortunately it is not useful in your case. samples with implementation findfile() and ttffilenamebydescriptor() are absent.
best regards,
sergey z.
|