Task #158

Incorrect stage size checking

Added by Robert 192 days ago. Updated 82 days ago.

Status:Resolved Start:11/09/2011
Priority:Normal Due date:11/09/2011
Assigned to:Robert % Done:

100%

Category:-
Target version:1.1 Estimated time:1.00 hour

Description

Users have the ability to set the minimum and maximum frame size(stage size) of the content. The checking is incorrect since FrameHeaderInfo.Parse() devides the twips by 12 and not by 20 as intended.

History

Updated by Robert 192 days ago

  • % Done changed from 0 to 100

Fixed in Revision r346 by replacing

 Fixed incorrect size checking in FrameHeaderInfo.Parse() 

int x = Math.Abs((this._FrameSize.Xmax - this._FrameSize.Xmin) / 12);
int y = Math.Abs((this._FrameSize.Ymax - this._FrameSize.Ymin) / 12);

with
int x = Math.Abs((this._FrameSize.Xmax - this._FrameSize.Xmin) / 20);
int y = Math.Abs((this._FrameSize.Ymax - this._FrameSize.Ymin) / 20);

Updated by Robert 82 days ago

  • Status changed from New to Resolved

Also available in: Atom PDF