查看单个帖子
旧 2009-05-05, 11:05 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】forcing default fon

forcing default font?
forcing default font?
is it possible to replace a ttf font with the default font?
i've tried using getpreferablefont to do this by returning a bad font name, but dwgdirect still uses the original font rather than the default font.
quote:
originally posted by chadm
is it possible to replace a ttf font with the default font?
i've tried using getpreferablefont to do this by returning a bad font name, but dwgdirect still uses the original font rather than the default font.
in case getpreferablefont returns bad font name dwgdirect uses original font as design. so your implementation this method must return existed font. built in dwgdirect font is used in case any other fonts aren't found. more detail see dwgdirect reference topic ''font handling".
best regards,
sergey z.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)