To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=27878





------- Additional comments from [EMAIL PROTECTED] Mon Aug 14 18:41:22 -0700 
2006 -------
You guys probably know this already, but this looks suspiciously like a 16-bit
integer overflow. With my sample doc on Issue 68306, using a page width of 30"
with 0.79" margins, the threshold for a properly aligned string seems to be
about 5.6". The horizontal offset would be:

page text area width - string width / 2

30.0"-0.79"-0.79"-5.6" = 22.82" / 2

22.82" is 32861 twips, or a large negative value if stored as a signed 16-bit 
int.

The same calculation would be done for right-alignment, which fails in the same 
way.

If this is correct, the problem should never occur on pages with a page text
area width of less than 22.75" (32767 twips).

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to