1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00
Files
gmenu2x/src
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
..
2011-12-23 14:03:05 +01:00
2013-08-09 03:13:02 +02:00
2010-07-04 03:04:42 +02:00
2013-07-29 13:02:06 -04:00
2013-08-03 22:30:12 +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
2011-10-23 16:43:56 +02:00
2014-07-19 00:43:06 +02:00
2010-02-04 12:33:47 +01:00
2013-08-11 01:35:43 +02:00
2011-12-23 14:03:05 +01:00
2011-10-23 12:46:52 +02:00
2013-08-14 04:26:04 +02:00
2012-06-14 23:45:57 +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
2011-12-23 14:03:05 +01:00
2012-06-14 23:45:57 +02:00
2012-06-14 23:45:57 +02:00
2011-12-23 14:03:05 +01:00
2011-10-23 11:32:16 +02:00
2011-10-23 16:13: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
2011-12-23 14:03:05 +01:00