https://bugs.freedesktop.org/show_bug.cgi?id=38635

--- Comment #15 from Michael Stahl <[email protected]> 2012-04-17 13:45:16 PDT 
---
so with the first fix, the start and end points of the lines
have these coordinates while printing; the problem is that they
are 1.5 or 2.5 twips apart; the drawing layer computes a
clipping region from these positions and the width of the border,
and there doesn't seem to be anything wrong with that part.

new start.X 2007,500000, start.Y 2422,000000, end.X 2007,500000, end.Y
4114,000000 els -20,000000 ers 20,000000 ele -20,000000 ere 20,000000
new start.X 7779,500000, start.Y 2422,000000, end.X 7779,500000, end.Y
4114,000000 els 20,000000 ers -20,000000 ele 20,000000 ere -20,000000
new start.X 2009,000000, start.Y 2420,500000, end.X 7777,000000, end.Y
2420,500000 els 20,000000 ers -20,000000 ele 20,000000 ere -20,000000
new start.X 2009,000000, start.Y 4116,500000, end.X 7777,000000, end.Y
4116,500000 els -20,000000 ers 20,000000 ele -20,000000 ere 20,000000

adding calls to lcl_AlignHeight/Width improves this a bit,
the top and left coordinates now match:

new start.X 2007,500000, start.Y 2420,500000, end.X 2007,500000, end.Y
4115,500000 els -20,000000 ers 20,000000 ele -20,000000 ere 20,000000
new start.X 7779,500000, start.Y 2420,500000, end.X 7779,500000, end.Y
4115,500000 els 20,000000 ers -20,000000 ele 20,000000 ere -20,000000
new start.X 2007,500000, start.Y 2420,500000, end.X 7778,500000, end.Y
2420,500000 els 20,000000 ers -20,000000 ele 20,000000 ere -20,000000
new start.X 2007,500000, start.Y 4116,500000, end.X 7778,500000, end.Y
4116,500000 els -20,000000 ers 20,000000 ele -20,000000 ere 20,000000

additionally computing the constant coordinate always from the
outer edge instead of from the left edge makes everything match:

new start.X 2007,500000, start.Y 2420,500000, end.X 2007,500000, end.Y
4115,500000 els -20,000000 ers 20,000000 ele -20,000000 ere 20,000000
new start.X 7778,500000, start.Y 2420,500000, end.X 7778,500000, end.Y
4115,500000 els 20,000000 ers -20,000000 ele 20,000000 ere -20,000000
new start.X 2007,500000, start.Y 2420,500000, end.X 7778,500000, end.Y
2420,500000 els 20,000000 ers -20,000000 ele 20,000000 ere -20,000000
new start.X 2007,500000, start.Y 4115,500000, end.X 7778,500000, end.Y
4115,500000 els -20,000000 ers 20,000000 ele -20,000000 ere 20,000000

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to