Nebuleon Fumika
69d6c0006c
TextDialog: Improve the average and worst-case performance of word wrapping
...
This affects manuals, About GMenu2X, and the Log Viewer.
Instead of trying to compute the width of the entire string, then backing
off one word at a time, TextDialog::preProcess now performs a binary search
on Font::getTextWidth(string) and backs off to the last fitting space, if
there is one, at the last moment.
In Japanese and Chinese text, words are not usually separated by spaces.
Text in these languages is now wrapped when it would reach the edge of the
screen.
2014-07-19 02:35:09 +02:00
..
2010-06-17 18:45:52 +02:00
2013-08-09 19:09:57 +02:00
2013-08-09 18:01:51 +02:00
2013-08-09 18:01:51 +02:00
2013-08-09 18:01:51 +02:00
2014-07-17 02:03:02 +02:00
2011-12-23 14:03:05 +01:00
2014-01-16 01:19:34 +01:00
2014-01-16 01:19:34 +01:00
2013-08-28 13:14:08 -04:00
2013-08-09 03:13:02 +02:00
2014-07-17 02:03:02 +02:00
2013-08-12 19:41:56 +02:00
2010-09-17 22:31:09 +02:00
2010-07-04 03:04:42 +02:00
2013-07-29 13:02:06 -04:00
2013-07-29 12:58:25 -04:00
2013-08-03 22:30:12 +02:00
2010-05-05 14:35:52 +02:00
2011-12-23 14:03:05 +01:00
2011-12-23 14:03:05 +01:00
2011-12-23 14:03:05 +01:00
2013-07-08 02:24:09 -04:00
2013-07-08 02:21:42 -04:00
2011-10-23 16:43:56 +02:00
2014-07-19 00:43:05 +02:00
2014-07-19 00:43:05 +02:00
2014-07-19 00:43:06 +02:00
2014-07-19 00:43:05 +02:00
2010-02-04 12:33:47 +01:00
2013-08-11 01:35:43 +02:00
2013-08-06 01:55:32 +02:00
2014-07-17 02:03:02 +02:00
2014-01-16 01:19:34 +01:00
2014-07-19 00:43:05 +02:00
2011-12-23 14:03:05 +01:00
2014-07-17 01:25:41 +02:00
2014-07-17 01:25:41 +02:00
2014-07-19 00:43:05 +02:00
2011-10-23 12:46:52 +02:00
2014-07-19 00:43:05 +02:00
2014-07-19 00:43:05 +02:00
2013-08-12 19:41:56 +02:00
2014-07-19 01:09:16 +02:00
2014-07-19 01:09:16 +02:00
2014-07-19 01:09:16 +02:00
2014-07-17 02:02:23 +02:00
2013-08-14 04:26:04 +02:00
2013-08-28 13:14:08 -04:00
2013-07-19 12:37:56 -04:00
2014-07-17 02:03:02 +02:00
2014-01-19 23:07:54 +01:00
2014-01-16 01:19:34 +01:00
2012-06-14 23:45:57 +02:00
2013-08-03 22:30:12 +02:00
2011-12-23 14:03:05 +01:00
2014-07-15 14:25:17 +02:00
2011-12-23 14:03:05 +01:00
2014-07-15 14:25:17 +02:00
2011-12-23 14:03:05 +01:00
2012-06-24 23:18:02 +02:00
2011-12-23 14:03:05 +01:00
2013-08-03 22:30:12 +02:00
2012-06-14 23:45:57 +02:00
2013-07-29 12:58:25 -04:00
2011-12-23 14:03:05 +01:00
2013-08-03 22:30:12 +02:00
2012-06-14 23:45:57 +02:00
2013-07-29 12:58:25 -04:00
2011-12-23 14:03:05 +01:00
2013-08-03 22:30:12 +02:00
2011-10-23 09:38:59 +02:00
2014-07-19 00:43:05 +02:00
2011-10-23 11:32:16 +02:00
2013-08-28 13:14:08 -04:00
2013-07-19 14:35:45 -04:00
2013-07-22 00:20:18 -04:00
2012-02-02 23:36:26 +01:00
2014-07-19 00:43:05 +02:00
2014-07-15 14:25:17 +02:00
2014-07-19 00:43:05 +02:00
2011-10-23 16:13:02 +02:00
2014-07-19 00:43:06 +02:00
2014-07-19 00:43:06 +02:00
2014-07-17 01:25:41 +02:00
2014-07-17 01:25:41 +02:00
2014-07-19 02:35:09 +02:00
2013-08-14 13:25:07 +02:00
2014-07-17 02:03:02 +02:00
2011-10-23 16:13:02 +02:00
2012-06-14 23:45:57 +02:00
2012-06-14 23:45:57 +02:00
2013-08-16 09:16:04 +02:00
2013-08-01 14:37:56 +02:00
2014-07-19 02:35:09 +02:00
2014-07-19 02:35:09 +02:00
2014-07-17 02:03:02 +02:00
2011-12-23 14:03:05 +01:00