diff options
| author | Ian MacArthur <imacarthur@gmail.com> | 2011-05-10 15:37:05 +0000 |
|---|---|---|
| committer | Ian MacArthur <imacarthur@gmail.com> | 2011-05-10 15:37:05 +0000 |
| commit | 41fc90726b12308c96ba310aab8c2871b3e57d44 (patch) | |
| tree | ad46522b9aaf8c3bbdb05923be6eb6481ac79e58 /documentation/src | |
| parent | eb16787f7aeafb5937de9c418184cbb631ccb553 (diff) | |
Hopefully this fixes the bug Albrecht found in using fl_measure on surrogate pairs whilst we were looking at STR #2622.
In summary, if you measured the string *before* the selected font had been used to actually fl_draw() anything, the measurement returned was invalid, as the new font was not "locked in" to the gc.
This change makes sure the selected font is set in the gc before making the measurement.
In tests, this appears to work correctly now...
More opinions welcomed!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/src')
0 files changed, 0 insertions, 0 deletions
