高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】access violation during font mapping
access violation during font mapping
access violation during font mapping
i tried to implement font substitution function using getpreferablefont overridable. but when i try to replace bigfont.shx to wlmaru2004p4.ttf a database dll throws access violation exception. it seems that my font mapping function works only for some of fonts (i.e txt.shx -> arial.ttf), and for some does not. any advices how to solve this problem and what i am doing wrong ?
for more details:
- i am using getpreferablefont to do font substitution and i simply return "wlmaru2004p4.ttf" when "bigfont.shx" is as a parameter.
- my dwg file which i prepared for tests purpose contains some japanesse characters
- wlmaru2004p4.ttf is installed in my windows font directory
- i am using winxp (eng) sp2
- i am using dwgdirect 1.13.02
text style may have two fonts. one is main font and other is big font. big font is always shx and always with main shx font.
acad allows to substitute big font to other big font only. unfortunately dwgdirect hasn't this support now. we try to fix it in next release. thank you for report.
best regards,
sergey z.
|