高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】question about text style
question about text style
question about text style
hello,
in a file, i have two different text styles with the simplex font. the only difference is the way to write the font file name. one time it抯 with the extension .shx and one time without this extension.
my problem is on a computer on which i haven抰 autocad but only the simplex true type font. the character greater then 128 are replaced by ??in the case of the style is define with the extension .shx, in the other case the text is ok.
my question is: is it possible to switch on the true type font if the file shx doesn抰 exist, even if the font file name is a shx?
thanks a lot,
i attach an image to explain the problem; it抣l be easier to understand the problem.
attached images
hello darra,
dwgdirect supports substitute font mechanism (more detail see dwg help topic "font handling"). briefly you need to override oddbhostappservices::getpreferablefont() method in your application. by default it use acad method with using map file.
best regards,
sergey z.
thanks a lot, sergey.
it's exactly what i was waiting for to solve my problem.
|