#Faulty WMF import
16-Nov-93 17:50:20
Sb: #86126-#Faulty WMF import
Fm: Robin Leatherbarrow 100015,101
To: Bill Cullen [COREL] 70550,2026
I should intervene here (Hi Martin!).
As the author of the GraFit program that is being referred to, I am well aware
that the Corel WMF import filter leaves much to be desired. However, I am also
well aware that reporting the problem on this forum has no effect whatsoever.
Over the past year I have, on several different occasions, reported import
problems and sent sample metafiles that fail to import correctly into Draw, but
are dealt with correctly by (essentially) any other major package. Result?
nothing.
My current "favorite" concerns text placement, and, as I can't produce a
work-around for this particular one, I have (once again…) described it below.
Problem:
Some metafiles import into Draw with the text offset in the y direction by
about half the text height.
This effect can be easily demonstrated using images pasted from Micrografx
Designer 3.1 (using normal MS fonts) — just in case you don't believe me and
think that the problem is specific to less widely used products. Unfortunately
it also affects code that I have been associated with, as has been referred to
by Martin Reddington.
I can even point out what features make a metafile "misbehave" in this way.
The Draw import filter incorrectly positions the text baseline for metafiles in
which the SetWindowExt( hDC, x, y ) is called with negative y values while the
SetViewportExt( hDC, x, y ) has positive y values. If you pass this
information to your WMF filter programmers together with the simple metafile
that I have mailed separately, it will take them minutes to fix.
Robin Leatherbarrow