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...)
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...)