]> Git Repo - u-boot.git/commit - test/dm/video.c
video: Use fractional units for X coordinates
authorSimon Glass <[email protected]>
Fri, 15 Jan 2016 01:10:37 +0000 (18:10 -0700)
committerAnatolij Gustschin <[email protected]>
Sat, 30 Jan 2016 09:53:26 +0000 (10:53 +0100)
commitf266178698307608ee23741e69b9626196e66481
treecee098f37679faf65c38592bb1e8f212fa78885f
parent6e42e251964d79117f4b3d16a2352083037a251c
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 <[email protected]>
[agust: rebased]
Signed-off-by: Anatolij Gustschin <[email protected]>
drivers/video/console_normal.c
drivers/video/console_rotate.c
drivers/video/vidconsole-uclass.c
include/video_console.h
test/dm/video.c
This page took 0.035734 seconds and 4 git commands to generate.