diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-14 18:10:37 -0700 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2016-01-30 10:53:26 +0100 |
commit | f266178698307608ee23741e69b9626196e66481 (patch) | |
tree | cee098f37679faf65c38592bb1e8f212fa78885f /common/lcd.c | |
parent | 6e42e251964d79117f4b3d16a2352083037a251c (diff) | |
download | blackbird-obmc-uboot-f266178698307608ee23741e69b9626196e66481.tar.gz blackbird-obmc-uboot-f266178698307608ee23741e69b9626196e66481.zip |
video: Use fractional units for X coordinates
With anti-aliased fonts we need a more fine-grained horizontal position
than a single pixel. Characters can be positioned to start part-way through
a pixel, with anti-aliasing (greyscale edges) taking care of the visual
effect.
To cope with this, use fractional units (1/256 pixel) for horizontal
positions in the text console.
Signed-off-by: Simon Glass <sjg@chromium.org>
[agust: rebased]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'common/lcd.c')
0 files changed, 0 insertions, 0 deletions