diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-03-17 16:15:26 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-03-17 16:15:26 +0300 |
commit | cfd909f184ccd87ed6dcfa45a5ab93d8fc5cb742 (patch) | |
tree | 2b9673770f4cdc33634e16113252c06712844e3a /source/blender/editors/sculpt_paint | |
parent | b28bd7c5a4c6fa66f6e54ffb9f186617f2d5a533 (diff) |
Fix T62678: Wrong text clipping
There are two issues at play here.
First, BLF_width computed a width that was not wide
enough to actually hold the text.
Second, blf_glyph_calc_rect_test computed an incorrect
rect->xmax when the glyph was moved to the left a bit.
We ignore the overlap on the left, but the right side
should still be adjusted accordingly.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
0 files changed, 0 insertions, 0 deletions