diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-09-06 11:23:43 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-09-06 11:23:43 +0200 |
commit | b15870b7cb63316060a5ff565cf980a981633135 (patch) | |
tree | 545db2d5a9acd193003ddc08bdd2ae0cf13c21b7 /test/paintertest.cc | |
parent | acbeb0cc1b18c4f62ff8d1ac50adf6406235a36b (diff) |
Fix crash when trying to display non ascii characters.
Diffstat (limited to 'test/paintertest.cc')
-rw-r--r-- | test/paintertest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/paintertest.cc b/test/paintertest.cc index 5c8cf45..69b28ff 100644 --- a/test/paintertest.cc +++ b/test/paintertest.cc @@ -116,7 +116,8 @@ public: { // Success criterion is simply to not assert in the drawing routines... GUI::Font font; - std::string someText = "Hello World"; + // a string with unicode characters + std::string someText = "Hello World - лæ"; std::size_t width = font.textWidth(someText); std::size_t height = font.textHeight(someText); |