rohanpm / qingfanyi

Interactive Chinese to English dictionary lookup tool for Linux desktops
GNU General Public License v3.0
0 stars 1 forks source link

Broken handling of text spanning multiple lines #1

Closed rohanpm closed 8 years ago

rohanpm commented 8 years ago

If one item looked up in the dictionary spans multiple lines (i.e. is word-wrapped), the resulting bounding box will cover a lot of unrelated glyphs. This breaks the highlight rendering and the click handler.

It may work better to keep the bounding box of each glyph (but it will be slower...)