PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

XTextFormatter writes out of bounding rectangle
http://forum.pdfsharp.com/viewtopic.php?f=3&t=1039
Page 1 of 1

Author:  Rob [ Mon Feb 01, 2010 10:36 am ]
Post subject:  XTextFormatter writes out of bounding rectangle

Should not after line 247 in XTextFormatter.cs be a check against the rectangle height?

e.g.
Code:
            y += this.lineSpace;
            if (y > rectHeight)
            {
              block.Stop = true;
              break;
            }


Best regards
Rob

Author:  Thomas Hoevel [ Mon Feb 01, 2010 12:39 pm ]
Post subject:  Re: XTextFormatter writes out of bounding rectangle

Hi, Rob,
I think that makes sense. Should be in the next release.
Thanks for the feedback.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/