diff options
| author | Ian MacArthur <imacarthur@gmail.com> | 2011-04-12 16:18:42 +0000 |
|---|---|---|
| committer | Ian MacArthur <imacarthur@gmail.com> | 2011-04-12 16:18:42 +0000 |
| commit | 1d988db2db5a2ff3dd53e98205ac3dc1561e73b7 (patch) | |
| tree | d7bcf626c09913960405ae9e5584ff4c9dfb5be1 /src/forms_timer.cxx | |
| parent | 8b026342ddeffa57a19fd21bfa13f163a5bccecb (diff) | |
Under win32, text_extents() is not handling surrogate pairs either, at least on XP.
The problem seems to be in GetGlyphIndicesW() which is returning invalid indices for the surrogate pairs.
This causes subsequent measurements of the glyphs to fail, of course.
This patch does not fix the problem, it only makes sure it fails cleanly, causing a fallback to the default fl_measure like behaviour.
This is not nice, nor what I want, but at least it is consistent for now...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/forms_timer.cxx')
0 files changed, 0 insertions, 0 deletions
