diff options
author | Lawrence Kesteloot (lk <Lawrence Kesteloot (lk@headcode.com)> | 2014-07-21 22:47:13 -0700 |
---|---|---|
committer | Lawrence Kesteloot (lk <Lawrence Kesteloot (lk@headcode.com)> | 2014-07-21 22:47:13 -0700 |
commit | e869d1301c550b65bb6b9720a5ba98423861a735 (patch) | |
tree | 81c6c8d9874b12cf7b6b65fcfc8354f37871652a /font/timesb.json | |
parent | 7b79f51bb56464bcabcd82a31b8ea75c74677689 (diff) |
Use integer math in SplitLines().
The math for the limit used to be done in floats, but round-off
error sometimes resulted in a string being wrapped at a width
that had previously been returned by GetStringWidth() for that
same string. (I got this with the string "$53,013" in Arial
12 point.)
Diffstat (limited to 'font/timesb.json')
0 files changed, 0 insertions, 0 deletions