Blender Git Loki

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

1 Modified Path:

/source/blender/blenfont/intern/blf_glyph.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021