Hi,
I've written an Image to PDF DLL that converts EMF files into PDF by using Windows to enum the records and then I convert these into native PDF commands rather than rendering into a bitmap - in general this is working well but there is an odd problem with text - which only (so far) appears for a Brazilian (Portuguese) user.
Basically the text is stored using unicode which in ASCII is "VLOYLD" but this should be "silvia". Word imports the EMF and displays the text as "silvia" until you try and edit the EMF when it immediately turns into "VLOYLD".
Interestingly Internet Explorer displays the EMF correctly as well - I have hex-dumped the EMF file and the text is definitely stored as "VLOTLD" so somehow there is some sort of character translation going on.
The only EMF records that I do not understand are EMR_SETLINKEDUFIS and EMR_FORCEUFIMAPPING - but nowhere is there any definition about what these data structures contain and ho wto use them.
I am guessing that these EMF records are to do with Unicode character mapping.
Has anyone any ideas?
Best regards,
Adrian Nelson
www.UtilityWarrior.com