Re: EzCreateFont failure
Jonas Temple wrote:
>
> Derek Parnell wrote:
> >
> > Now that I'm using a DrawText wrapper that works and I've fixed
> > a minor bug in your code, it runs just great! No failures in
> > EzCreateFont() at all.
> >
> > Please try it using the current win32lib and not your DrawText
> > routine.
> >
> Okay, I'll give it a shot. One question...does your drawText return the
> dimensions of the text that was drawn or attempted to be drawn? In my
> app I call drawtext without actually printing the text to see if it will
> fit on the page (end of page thing).
Yes the Win32lib drawText() does return the rectangle used. Its not
documented though (sorry). I ran your app using the win32lib version
and it works just fine.
And naturally enough, I've updated the docs now too.
--
Derek Parnell
Melbourne, Australia
|
Not Categorized, Please Help
|
|