diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-24 18:47:40 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-24 18:51:13 +0300 |
commit | d0856d1d546a07acf29e3a2ac873fe7dc1d7c61b (patch) | |
tree | f6a825e6320129813f9dfd19ed964549da411513 /source/blender/collada/GeometryExporter.cpp | |
parent | 645431903317c55eab051284c2fa085f57c1543a (diff) |
Fix most of 'disappearing' first letter in right-aligned labels.
BLF' blf_font_width_to_strlen() could easily generate strings with up to
nearly two pixels length over requested limit!
Note that the fiddling between floats and ints values make things really
confusing here... :/
There is still a few limit cases where, even though computed str length
is now always below reauested limit, we still get first letter
disappearing, no idea why currently.
Diffstat (limited to 'source/blender/collada/GeometryExporter.cpp')
0 files changed, 0 insertions, 0 deletions