Re: Codegear should really read this
- From: "Dan Downs" <ddowns@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 6 May 2008 19:19:30 -0400
I read part one when it came out and was waiting for part two to see where
he was going. Basically he's frustrated with windows to the point of
seriously looking elsewhere. To that end I can relate even if he doesn't
back up his rant all that well.
The first real gotcha that I ran into was with WMF and EMF rendering back
with Win98.
The product I was working on needed to use PCL files that were converted to
WMF to use as report background images, mortgage forms that were created in
another app. We had bought a product to do the conversion since it also
handled converting fonts and graphics, and my own PCL rendering routines
never advanced to that point. We mainly needed the WMFs in access reports,
and that worked fine, the problem came in with any other in house utility
app that needed to display them. Delphi's WMF/EMF support is a direct
wrapping of the win32 api calls, makes sense enough its built into windows,
except its broke. The api doesn't handle margin/padding correctly and our
forms had state specific margins varying per page. In Access it worked fine
because the Office team wrote there own WMF/EMF renderer, but it never got
back into the api. I searched and demoed all kinds of third party image
libraries but no one except ACDSee had bothered to write their own routine,
and ACDSee wasn't licensing theirs. Things like this to me should be fixed,
the file has records that are defining a margin, but the renderer ignores
them and therefore isn't complying with the file spec, a bug that should
have been fixed years ago.
I've tested this in every version of windows since and its still broken, not
sure on Vista though but I think it was. There's been others, but this one
still annoys me. And while I understand the market reasons for MS doing this
it still frustrated me as a developer. Ironically its caught up with them as
more and more people start looking for third party solutions either by
choice or because they were forced to.
DD
.
- References:
- Codegear should really read this
- From: Jon Burnham
- Codegear should really read this
- Prev by Date: Re: Any changes to Delphi / RAD Studio SA coming?
- Next by Date: Re: Any changes to Delphi / RAD Studio SA coming?
- Previous by thread: Re: Codegear should really read this
- Next by thread: Re: Codegear should really read this
- Index(es):
Relevant Pages
|