• Caolán McNamara's avatar
    make CheckCharacterBounds tests happy without forcing empty glyphs 1 unit wide · 1c353c91
    Caolán McNamara yazdı
    related, i#87757 and 8bafe38c
    which itself is related to ce14342c,
    
    These character bounds are backed by what's the glyph bounding box for the ink
    used for the glyph. Whitespace has no ink so its an empty Rectangle. Which
    brings the awesome RECT_EMPTY into play.
    
    It might be a bit dubious in the first place to back getCharacterBounds with
    the glyph bounding box in the first place, rather than maybe the advance width
    or some such. But lets assume that decision was intentional.
    
    So, the qa test should accept that a glyph might be of 0 width anyway.
    Then, tweak rectangle merging so that we can preserve the correct top-left
    position of an empty glyph
    So, we can determine the correct character index given the top-left position
    of an empty glyph
    
    Change-Id: I5e18460ff7cd90cd27d5eede2aa0a5494c36a5d3
    1c353c91
Adı
Son kayıt (commit)
Son güncelleme
..
objdsc Loading commit data...
prj Loading commit data...
qa Loading commit data...
runner Loading commit data...
testdocs Loading commit data...
tests/java Loading commit data...
Jar_OOoRunner.mk Loading commit data...
Jar_OOoRunnerLight.mk Loading commit data...
JunitTest_qadevOOo_unoapi.mk Loading commit data...
Makefile Loading commit data...
Module_qadevOOo.mk Loading commit data...
README Loading commit data...