Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,


How do we visually see the problems you describe ? If I put some dashed
borders on some cells in calc and zoom in and out it doesn't seem to
look particularly wrong for me.


I made some screen shot, which shows dashed border changing with zoom
level. It's important that the same code is used by Writer so it has the
same issue. As the pictures shows when the text scale is very small in
Writer then the bordered text has only few snippets (small.png) while if
the scale is large then there are more snippets and they are smaller
compered to the text content (big.png). The same is true in Calc
(small1.png, big1.png).

Can you submit a patch that reverts the parts that you believe are
problematic and keeps the part you think might be useful for the
original problem ?


Well, it's not so easy as I thought at first. I tested a bit and have three
cases:
1. By now
    Both Writer and Calc has the mentioned zooming issue.
2. Call ApplyLineDashing without scale (but the used unit is MAP_PIXEL)
    Calc will work similar.
    Writer will loose the zooming issue but the snippets will be too small,
because of the pixel pattern of ApplyLineDashing.
3. (2) + change the unit back to MAP_100TH_MM.
    Calc will draw solid line (the original bug comes back which were
solved by the commit). It seems it is because the MAP_100TH_MM pattern has
too big values.
    Writer will loose the zooming issue but the snippets will be too big,
because of the MAP_100TH_MM pattern of ApplyLineDashing (e.g. dotted line
will drawn as a dashed one), but it's nearer to the right result as in case
of unit MAP_PIXEL.

So I see two problems by now.
- Writer and Calc use different unit to specify border lines, but it isn't
handled well.
- Calc has the zooming issue independent from the mentioned commit, which
extend this problem to Writer too.


Best regards,
Tamás

Attachment: small.png
Description: PNG image

Attachment: small1.png
Description: PNG image

Attachment: big.png
Description: PNG image

Attachment: big1.png
Description: PNG image


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.