Sign In  Sign Up Live-Chat

WMF files with cyrillic text

Last post 10-10-2007, 12:14 PM by alcrus. 4 replies.
Sort Posts: Previous Next
  •  10-02-2007, 5:19 PM 97084

    WMF files with cyrillic text

    Hi!
    I'm having problems with WMF files that contain cyrillic text. File encoding is Windows-1251.
    Standard applications like Microsoft Word handle these files correctly.
    Can Aspose.Metafiles work with such files?

    Thanks.
    Boudagov Roman.
     
  •  10-03-2007, 12:33 PM 97203 in reply to 97084

    Re: WMF files with cyrillic text

    Dear Boudagov Roman,

    I have forwarded your request to technical team lead and you will get the answer as soon as possible.

    Thank you for your patience.


    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Engineer
    Aspose Tyumen Team
     
  •  10-04-2007, 6:25 AM 97285 in reply to 97084

    Re: WMF files with cyrillic text

    Hello Roman,

    If I'm not mistaken WMF files don't have any information about codepages and Word uses default Windows codepage for rendering. We use Windows-1250 codepage for any wmf file. In theory, we can add optional codepage parameter to Wmf constructor or player.

    Alexey Zhilin
    Team Leader
    Aspose Tyumen Team
    About Us
    Contact Us
     
  •  10-04-2007, 7:14 AM 97290 in reply to 97285

    Re: WMF files with cyrillic text

    Hello Alexey!

    Thanks for addressing my question.
    Actually I know very little about WMF format. But I analyzed source code of Apache Batik project recently - it also has components to read and paint WMF. And I found that they in fact read codepage information from WMF.
    Another problem that I came upon was that not every program that produces WMF files write that codepage information. For example, Microsoft Visio does - and Batik component paint it correctly regardless of current locale (or default Windows codepage).
    And SparxSystems Enterprise Architect (that I'm mostly interested in) does not write that codepage info to his WMF files.
    It was only my thoughts that I wanted to share with you - may be you're interested :)

    An optional codepage parameter in WMF constructor would be very nice. Without it I can't use Aspose.Metafiles at all... Now I use Batik, but his rendering quality is poorer than that of Aspose.


    Boudagov Roman.
     
  •  10-10-2007, 12:14 PM 98113 in reply to 97290

    Re: WMF files with cyrillic text

    Hello Roman,

    Please try latest 1.2.5 hot fix. We added possibility to use different charset for rendering.
    You can find short example and download link in the blog.
    http://www.aspose.com/Community/Blogs/Aspose.Metafiles/

    Alexey Zhilin
    Team Leader
    Aspose Tyumen Team
    About Us
    Contact Us
     
View as RSS news feed in XML