<div dir="ltr"><div><div>OK. I found it. The commit is right, with this changes all code which use borderline primitive use MAP_PIXEL pattern and with the scale parameter the pixel snippets is converted to the right length ones. The actual problem is with the MAP_PIXEL pattern. The other two patterns (MAP_TWIP and MAP_100TH_MM) are screen-independent so they can be constant, but pixel is not screen-independent so the MAP_PIXEL pattern must be changing by text zoom, otherwise the whole borderline length will changing but the snippets' length not (which is happening by now).<br>
</div><div>The solution might be to use one of screen-independent pattern as it was used originally and which works for Writer. The problem is that Calc convert borderline parameters (start and end point, width) to pixel before make a border line primitive. Plus it specifies an identity matrix as view transformation matrix from which we can't get the information to transform the used unit to pixel (to match the primitive's unit and the snippets' unit). So I can't see a good solution.<br>
<br></div><div>Best regards,<br></div><div>Tamás<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/19 Zolnai Tamás <span dir="ltr"><<a href="mailto:zolnaitamas2000@gmail.com" target="_blank">zolnaitamas2000@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>

That's right.<br></div>
When we call "ApplyLineDashing without scale", the snipet size is completely different in Calc and Writer.<br>
"ApplyLineDashing with scale" is intended to prevent this.<br>
In LibreOffice 3.3, the size of the snipet was roughly the same in the appearance on the screen in both programs.<br></blockquote><div><br></div></div><div>Hmm, I see. That is solved, by now both programs have the same behavior, just a bit bugous. Ok, I will look into the code a bit more and try to find out what's going on here.<br>

</div></div><br></div></div>
</blockquote></div><br></div>