[Concept,0/4] Fix truetype bbox init and improve pager robustness

Message ID 20260208214411.3445278-1-sjg@u-boot.org
Headers
Series Fix truetype bbox init and improve pager robustness |

Message

Simon Glass Feb. 8, 2026, 9:44 p.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

Fix an uninitialised bbox in truetype_measure() and fix a severe
performance regression in the pager. The pager falls back to
character-by-character output because pager_post() cannot accept
length-delimited strings from putsn(). Add a length parameter so
the pager path handles strings directly, and reserve the
nul-terminator byte at init time rather than at each read.


Simon Glass (4):
  video: truetype: Fix uninitialised bbox on empty text
  hooks: Add malta for ellesmere
  pager: Add length parameter to pager_post()
  pager: Reserve nul-terminator byte at init time

 drivers/video/console_truetype.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)