u-boot/drivers/video
Simon Glass a8f80409b0 console: Correct truetype spacing error
The putc_xy() method is supposed to return the amount of space used. The
existing implementation erroneously adds the previous sub-pixel position
to the returned value. This spaces out the characters very slightly more
than it should. It is seldom noticeable but it does make accurate
measurement of the text impossible.

Fix this minor but long-standing bug.

Fixes: a29b012037 ("video: Add a console driver that uses TrueType fonts")

Signed-off-by: Simon Glass <sjg@chromium.org>
2023-07-14 12:54:51 -04:00
..
bridge video: bridge: add Solomon SSD2825 DSI/LVDS driver 2023-04-26 07:25:34 +02:00
exynos samsung: Drop CONFIG_EXYNOS_PWM_BL 2023-02-07 14:33:48 -05:00
fonts
imx Correct SPL use of PANEL 2023-02-10 07:41:41 -05:00
meson video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
nexell video: add nexell video driver (display/video driver) 2020-07-29 08:43:40 -04:00
rockchip drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
stm32 drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
sunxi video: sunxi: dw-hdmi: Use DM for HVCC regulator 2023-04-12 00:17:20 +01:00
tegra20 video: tegra: add DC based PWM backlight driver 2023-04-26 07:32:25 +02:00
tegra124 drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
ti drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
tidss drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL 2023-04-24 21:37:45 +02:00
zynqmp video: zynqmp: Enable 1024x768 resolution 2023-06-12 13:25:02 +02:00
anx98xx-edp.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
anx9804.c sunxi: video: Convert panel I2C to use DM_I2C 2021-10-12 11:01:17 +01:00
anx9804.h sunxi: video: Convert panel I2C to use DM_I2C 2021-10-12 11:01:17 +01:00
atmel_hlcdfb.c video: Drop atmel LCD code 2022-10-30 20:07:17 +01:00
atmel_lcdfb.c video: Drop atmel LCD code 2022-10-30 20:07:17 +01:00
backlight-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
backlight_gpio.c Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
bcm2835.c video: arm: rpi: Add brcm,bcm2711-hdmi0 compatible 2021-02-18 11:59:08 +01:00
broadwell_igd.c video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
console_core.c drivers: video: Enable necessary video functions at SPL 2023-04-24 21:37:45 +02:00
console_normal.c video console: allow font size configuration at runtime 2023-03-07 15:59:35 +01:00
console_rotate.c video console: allow font size configuration at runtime 2023-03-07 15:59:35 +01:00
console_truetype.c console: Correct truetype spacing error 2023-07-14 12:54:51 -04:00
coreboot.c efi: Support a 64-bit frame buffer address 2023-03-13 13:53:01 +01:00
display-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
dsi-host-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
dw_hdmi.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
dw_mipi_dsi.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
efi.c efi: Support copy framebuffer 2023-03-13 13:53:01 +01:00
endeavoru-panel.c video: panel: add generic endeavoru panel 2023-04-26 07:35:57 +02:00
hitachi_tx18d42vm_lcd.c sunxi: gpio: Remove name_to_gpio macro 2021-10-11 10:46:44 +01:00
hitachi_tx18d42vm_lcd.h
hx8238d.c drivers: video: hx8238 fix build bug 2021-07-15 17:56:03 +05:30
i915_reg.h
ihs_video_out.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
ivybridge_igd.c video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
Kconfig video: move zynqmp files to subdirectory 2023-06-12 13:25:01 +02:00
lm3533_backlight.c video: add lm3533 backlight driver 2023-04-26 07:23:10 +02:00
logicore_dp_dpcd.h
logicore_dp_tx.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
logicore_dp_tx.h
logicore_dp_tx_regif.h
Makefile video: move zynqmp files to subdirectory 2023-06-12 13:25:01 +02:00
mali_dp.c dm: treewide: Use uclass_first_device_err when accessing one device 2022-10-17 21:17:12 -06:00
mcde_simple.c video: Add simple driver for ST-Ericsson MCDE with pre-configured display 2021-08-01 21:40:51 +02:00
mipi_dsi.c
mvebu_lcd.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
mxsfb.c video: mxs: Drop old video code 2022-03-28 20:18:26 +02:00
nexell_display.c global: Migrate CONFIG_FB_ADDR to CFG 2022-12-23 10:09:42 -05:00
omap3_dss.c video: Drop video_fb header 2022-03-28 20:16:46 +02:00
orisetech_otm8009a.c video: otm8009a: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR 2023-04-08 03:53:23 +02:00
panel-uclass.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pwm_backlight.c video: Check return value in pwm_backlight_of_to_plat() 2021-07-15 18:42:05 -04:00
raydium-rm68200.c video: rm68200: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR 2023-04-08 03:53:23 +02:00
renesas-r61307.c video: panel: add Renesas R61307 MIPI DSI panel driver 2023-04-26 07:27:05 +02:00
renesas-r69328.c video: panel: add Renesas R69328 MIPI DSI panel driver 2023-04-26 07:29:12 +02:00
sandbox_dsi_host.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sandbox_osd.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sandbox_osd.h
sandbox_sdl.c video: Support showing the U-Boot logo 2021-12-26 23:32:46 +01:00
seps525.c dm: fix build errors generated by last merges 2021-01-15 13:12:38 -05:00
simple_panel.c Merge branch 'master_regulator/fixes' of https://source.denx.de/u-boot/custodians/u-boot-sh 2023-04-08 14:19:08 -04:00
simplefb.c video: simplefb: add rotation support 2022-10-30 08:28:40 +01:00
ssd2828.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ssd2828.h
stb_truetype.h driver: video: Check allocated pointers 2022-06-25 08:10:21 +02:00
tda19988.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
tdo-tl070wsh30.c video: tl070wsh30: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR 2023-04-08 03:53:23 +02:00
u_boot_logo.bmp video: Support showing the U-Boot logo 2021-12-26 23:32:46 +01:00
vesa.c video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
vidconsole-uclass.c drivers: video: Enable necessary video functions at SPL 2023-04-24 21:37:45 +02:00
vidconsole_internal.h video console: allow font size configuration at runtime 2023-03-07 15:59:35 +01:00
video-uclass.c video: Provide a way to clear part of the console 2023-07-14 12:54:50 -04:00
video_bmp.c video: bmp: Support rgba8888 pixel format 2023-06-12 13:25:01 +02:00
video_osd-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
videomodes.c global: Remove unused CONFIG defines 2023-01-20 12:27:06 -05:00
videomodes.h global: Remove unused CONFIG defines 2023-01-20 12:27:06 -05:00