作了一个图形系统,把图形输出成EMF文件,用ACD see等看图工具打开,都没问题,但是,把这个EMF文件插入到WORD文档中,EMF图形中的字体全部倒过来了,而EMF图形中的其他矢量图元都没问题。另,图形系统的坐标系映射模式用的是MM_HIMETRIC,这不应该有问题呀。怎么解决字体问题,请高手帮忙!

解决方案 »

  1.   

    Avoid using MM_HIMETRIC mapping node, or similar mapping node which flipps Y-axis.This is the conflict between GM_COMPATIBLE and GM_ADVANCED graphics modes.Under GM_COMPATIBLE when using MM_HIMETRIC, everything gets flipped in Y, except text. Under GM_ADVANCED, everything conforms to transformation properly.It seems that Word is using GM_ADVANCED, so you text gets flipped.
      

  2.   

    谢谢 FengYuanMSFT(袁峰 www.fengyuan.com) 的解答!
    问题的原因应该是那样的,但是,图形系统的映射模式不可能改,我也使用了GM_ADVANCED图象模式,字体还是倒的。
    希望进一步帮忙。
      

  3.   

    If you are still using MM_HIMETRIC, the text orientation may be respected when displaying as EMF, but not in Word.One way is to pre-process the EMF before exporting to Word, to remove MM_HIMETRIC and still keep the same text orientation by adding extra transformation.It may be a bug in Word, but you still need to workaround it if it's important to you.