• Michael Stahl's avatar
    i#87757: do not create empty Rectangle bounding box for glyphs: · 8bafe38c
    Michael Stahl yazdı
    Enforce a minimum width and height of 1 in GlyphMetric::SetSize(),
    preventing X11SalGraphics::GetGlyphBoundRect() from returning a
    Rectangle that has one side set as RECT_EMPTY.
    
    This problem has surfaced due to the change of the status bar in
    ce14342c, causing the
    AccessibleStatusBarItem to fail in getCharacterBounds() because
    the text of the control, "Words: 0", now contains a space, for which an
    empty Rectangle bounding box is created, which results in a wrong
    return value from getCharacterBounds():
    
    LOG> Character bounds outside component
    LOG> Character rect: 43, -566, 0, 0
    LOG> Component rect: 91, 2, 71, 18
    
    It turns out that the following test was disabled due to this problem,
    so re-enable it now:
    toolkit.AccessibleFixedText::com::sun::star::accessibility::XAccessibleText
    8bafe38c
Adı
Son kayıt (commit)
Son güncelleme
..
inc/toolkit Loading commit data...
prj Loading commit data...
qa Loading commit data...
source Loading commit data...
src2xml Loading commit data...
test/accessibility Loading commit data...
util Loading commit data...
AllLangResTarget_tk.mk Loading commit data...
JunitTest_toolkit_unoapi.mk Loading commit data...
Library_tk.mk Loading commit data...
Makefile Loading commit data...
Module_toolkit.mk Loading commit data...
Package_inc.mk Loading commit data...
Package_util.mk Loading commit data...
README Loading commit data...