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: NSimon Glass <sjg@chromium.org> [agust: rebased] Signed-off-by: NAnatolij Gustschin <agust@denx.de>
Showing
想要评论请 注册 或 登录