office-gobmx/toolkit
Michael Stahl 8bafe38c56 i#87757: do not create empty Rectangle bounding box for glyphs:
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
ce14342c42, 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::accessibility::XAccessibleText
2012-05-30 09:02:31 +02:00
..
inc/toolkit
prj
qa i#87757: do not create empty Rectangle bounding box for glyphs: 2012-05-30 09:02:31 +02:00
source targeted string re-work 2012-05-29 19:30:23 -05:00
src2xml
test/accessibility
util
AllLangResTarget_tk.mk
JunitTest_toolkit_unoapi.mk
Library_tk.mk
Makefile
Module_toolkit.mk
Package_inc.mk
Package_util.mk
README

"Abstract" windowing thing, UNO implementations of windowing stuff so that it
can be used from Basic or Java. But also stuff that has no connection to Basic
or Java.

Note that the "awt" here has no relation to the Java awt, as far as I know. It
might be inspired by it API-wise, perhaps. (If you know differently, feel free
to improve this REDAME file.)