Board index » delphi » Metafiles And Text Justification
pete.bartlett
![]() Delphi Developer |
Sun, 30 Mar 2003 03:00:00 GMT
|
pete.bartlett
![]() Delphi Developer |
Sun, 30 Mar 2003 03:00:00 GMT
Metafiles And Text Justification
If I call SetTextJustification in the context of an Enhanced Windows
Metafile on Windows 2000 (Using Delphi 5) , the text is NOT justified, even though the call works. My application works perfectly well on Windows 98 and Windows NT. I believe that this is a bug in Windows 2000 since I can also recreate the My problem is that raising a bug with Microsoft is impossible. I am hoping I can supply the source if necessary. Pete Bartlett |
Joe C. Hech
![]() Delphi Developer |
Sun, 30 Mar 2003 03:00:00 GMT
Re:Metafiles And Text Justification----------------------------------------------------------------------- This solution is brought to you by Joe Hecht's TExcellent products, solving Form.Print and bitmap printing problems. Joe Hecht's TExcellent products can be found at: http://www.code4sale.com/joehecht ----------------------------------------------------------------------- Text under Metafiles is buggy at best. I have seen many metafiles where the font changes (like Times to Symbol) when the metafile is scaled. Character spacing is never guarenteed. If possible, dont use metafiles. Joe Quote"pete.bartlett" <pete.bartl...@ic24.net> wrote in message Quote> If I call SetTextJustification in the context of an Enhanced Windows |
Dan Down
![]() Delphi Developer |
Mon, 31 Mar 2003 03:00:00 GMT
Re:Metafiles And Text Justification"Joe C. Hecht" <joehe...@code4sale.com> wrote in message Quote> ----------------------------------------------------------------------- available? And what formats are easy to convert to and from? It would be nice if Microsoft's own format worked. Oh wait, its part of Quick Note: Fonts work fine when placing a wmf on an Ms-Access report, but Dan |
Stan Ster
![]() Delphi Developer |
Tue, 01 Apr 2003 03:00:00 GMT
Re:Metafiles And Text JustificationI saw an explanation of the MicroSoft Apps phenomenon on one of the news groups here some time ago. Borland apparently have had tons of problems implementing MS controls Now, it has been said (apparently) that the MicroSoft apps guys (excel, If all this hear-say is in fact true, then it stands to reason that the There isn't much we can do other than to write our own replacements for the Microsoft think they can get away with this, but I have several solutions Regards Stan Stern. |
Dan Down
![]() Delphi Developer |
Tue, 01 Apr 2003 03:00:00 GMT
Re:Metafiles And Text JustificationQuote"Stan Stern" <s...@jetcam.net> wrote in message Quote> I saw an explanation of the MicroSoft Apps phenomenon on one of the news Quote> Now, it has been said (apparently) that the MicroSoft apps guys (excel, Quote> If all this hear-say is in fact true, then it stands to reason that the Access97 reports. We have been doing so for about a year or more. We have had ZERO problems with this, all fonts work proporly all the time, and the output is very good. The only problem is that its Access, we're trying to find something else that proporly supports wmfs. At least I know Microsoft can write something that works, its just a shame that they don't have a solid API yet! Quote> There isn't much we can do other than to write our own replacements for do it myself. I found a libwmf for linux, I haven't looked at it yet, but I'm interested in whether it could be ported to windows. There is MetaDraw's WMF OCX, which does everything you would want to do to Quote> Microsoft think they can get away with this, but I have several solutions packages, but if Borland were to write there own controls that worked instead of wrapping the microsoft ones, I'd prefer it. Dan Downs |