Simon Glass
9beb364a28
video: Adjust rotated console to start at right edge
...
At present when the console is rotated 180 degrees it starts almost a
whole character to the left of the right edge (typically 7 pixels with
an 8-pixel-wide font). On a display which aligns with the font width,
this just wastes space. On a display that does not this can result in
x_frac going negative for the final character (the one on the left
side) and the overflow -EAGAIN check at the start of the function
failing.
Change the function to start at the rightmost pixel to fix these
problems.
Signed-off-by: Simon Glass <sjg@chromium.org >
Reviewed-by: Anatolij Gustschin <agust@denx.de >
Tested-by: Bin Meng <bmeng.cn@gmail.com >
2020-07-09 12:33:24 +08:00
..
2020-05-19 14:01:47 -04:00
2019-07-12 21:07:58 -04:00
2018-12-13 16:32:49 -07:00
2020-05-19 14:01:47 -04:00
2020-05-18 17:33:33 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2019-09-03 09:31:03 +08:00
2019-08-22 00:10:09 +02:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-19 14:01:47 -04:00
2019-10-13 23:34:43 +02:00
2020-06-11 20:52:11 -06:00
2020-04-16 08:07:58 -06:00
2018-09-29 11:49:35 -06:00
2020-07-07 18:23:37 -04:00
2018-12-06 23:26:32 -05:00
2020-05-19 14:01:47 -04:00
2018-12-13 16:32:49 -07:00
2020-02-07 22:46:32 +08:00
2020-07-01 15:01:21 +08:00
2015-05-21 09:16:17 -04:00
2018-08-10 10:27:32 -04:00
2020-02-05 19:33:46 -07:00
2020-07-01 15:01:21 +08:00
2019-07-18 16:37:13 -05:00
2020-05-18 21:19:18 -04:00
2020-05-19 14:01:47 -04:00
2020-05-18 17:33:33 -04:00
2019-07-05 14:19:41 +02:00
2020-05-18 21:19:18 -04:00
2020-04-16 23:06:54 -04:00
2020-05-19 14:01:47 -04:00
2019-12-15 11:44:11 +08:00
2018-10-09 04:40:27 -06:00
2019-02-20 15:27:08 +08:00
2019-07-11 10:05:15 -04:00
2019-10-08 13:57:43 +08:00
2020-05-18 21:19:18 -04:00
2019-12-15 11:44:11 +08:00
2018-05-18 08:27:26 +02:00
2020-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-19 14:01:47 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-06-01 17:55:24 +05:30
2020-07-01 15:01:21 +08:00
2018-07-19 17:03:28 -04:00
2020-02-05 19:33:46 -07:00
2020-06-29 13:34:43 -04:00
2020-02-05 19:33:46 -07:00
2020-07-01 15:01:21 +08:00
2020-05-18 21:19:18 -04:00
2018-12-05 06:01:34 -07:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-06-11 20:52:11 -06:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2018-05-07 09:34:12 -04:00
2020-06-11 20:52:11 -06:00
2020-07-09 12:33:24 +08:00
2018-11-14 09:16:28 -08:00
2018-05-07 09:34:12 -04:00