Skip to content
Snippets Groups Projects
Commit f2661786 authored by Simon Glass's avatar Simon Glass Committed by Anatolij Gustschin
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
[agust: rebased]
Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
parent 6e42e251
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment