几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】f Fonts Rendering (http://www.dimcax.com/hust/showthread.php?t=18844)

yang686526 2009-05-07 05:27 PM

【转帖】f Fonts Rendering
 
ttf fonts rendering
ttf fonts rendering
i use dd 1.10 update 1 and have two questions about ttf fonts rendering:
1. is any way to up accuracy of ttf rendering (see attached file ttf_deviation.gif)? i try use setdeviation method of odgigeometrysimplifier class, but this apply only to geometry not to text.
2. is any way to render only text contour like autocad plotting with textfill variable set to 0 (see attached file ttf_textfill.gif)?
thank you in advance.
attached files
currently where is no ability to control ttf rendering accuracy.
textfill variable should be honored but it's not implemented in dd yet.
sergey slezkin
thank you for replay, sergey!
do you plan to implement control of ttf rendering accuracy in next releases?
best regards,
ivan obraztsov
textfill will be available in 1.11 (registry system variable and oddbhostappservices methods get/set)
ttf accuracy - no. not sure how it should be solved. interpolating bezier while text vectorization is slow and storing multiple font caches with different accuracy requires much memory...
sergey slezkin


所有的时间均为北京时间。 现在的时间是 08:10 PM.