https://bugs.documentfoundation.org/show_bug.cgi?id=111733

Justin L <jl...@mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|libreoffice-b...@lists.free |jl...@mail.com
                   |desktop.org                 |

--- Comment #16 from Justin L <jl...@mail.com> ---
(In reply to Heiko Tietze from comment #10)
> Off-topic: try to select text from with different spacing (don't think it's
> true kerning). Shows me ~850 in the spin edit.

I was expecting this to be in SfxItemState
/** specifies that the property is currently in a don't care state.
    This is normally used if a selection provides more than one state
    for a property at the same time.
*/
const short DONT_CARE      = 16;

However, eState returns DEFAULT (32) instead, which also indicates valid
results. When there are multiple kerning settings, it seems to be returning a
random memory value because it differs every time, even on successive views.
This has been true since at least LO 5.3.

I tried to bibisect it, but it is almost impossible, because you can't trust
any negative number. It looks consistent at -2 but that is deceptive since that
is the lowest acceptable number - and so pretty much half of the random numbers
will show up as -2.  (See comment 14)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to