Blender Git Commit Log

Git Commits -> Revision cfd909f

Revision cfd909f by Jacques Lucke (master)
March 17, 2019, 13:15 (GMT)
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.

Commit Details:

Full Hash: cfd909f184ccd87ed6dcfa45a5ab93d8fc5cb742
Parent Commit: b28bd7c
Lines Changed: +2, -2

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019