From: Ethan M. <merritt@u.washington.edu> - 2004-04-23 18:14:58
|
On Friday 23 April 2004 09:18 am, Ethan Merritt wrote: > On the other > hand, if this library or some equivalent one has been adopted into > the OpenOffice source tree, then maybe we should look there to > see if we can use it. And indeed, in the OpenOffice source tree (750MB, ugh!) is a filter module for emf oo_1.1_src/svtools/source/filter.vcl/wmf/emfwr.cxx It states at the top of the source that it is usable under either LGPL or "Sun Industry Standards Source License Version 1.1" I don't know that it's worth trying to adapt it as a separate library module, but if nothing else we should be able to look inside to see how they handle strings or other object types that Windows is griping about in our current version. As to WIN_EMR_EXTTEXTOUTW (record type 84) in particular - as I feared, it looks like they deal with Unicode conversion for each character as the string is stored. But I haven't chased through the code to see if this is essentially a no-op in the case of "normal" text strings. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |