高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】katakana bigfont rendering
katakana bigfont rendering
katakana bigfont rendering
i use dd 1.10 update 1.
there is a problem with shx bigfont rendering (see attached dwg and gifs). the findfile procedure receive empty string instead "bigfont.shx" so i can't return full path to this font file.
attached files
odamfcapp renders shx text with bigfont correctly in 1.09 and 1.10.
findfile() is called more than once. first time with empty string and next time with correct value.
we optimized out first senseless call with empty string but it will not solve your problem.
sergey slezkin
quote:
originally posted by ivan obraztsov
the findfile procedure receive empty string instead "bigfont.shx" so i can't return full path to this font file.
this situation is possible (it will be corrected in dd 1.11) but it isn't insoluble problem. at first dd calls getpreferablefont() which returns empty name and then calls findfile(). in this case if findfile() returns empty string dd calls its again with right file name.
--
best regards,
sergey zaitcev
quote:
originally posted by sergey z.
at first dd calls getpreferablefont() which returns empty name and then calls findfile(). in this case if findfile() returns empty string dd calls its again with right file name.
thank you!
really, i returned incorrect path if empty string was received. i fix it and now it works fine.
best regards,
ivan obraztsov
|