| Message ID | 20260208214411.3445278-1-sjg@u-boot.org |
|---|---|
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1770587071; bh=RE1vSBh6qr9ZBGMjx1id+3a0cotdPWm/bvGmH7YEKDw=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=TSMpCw0HIdYdEspGmpxZE62gTONXK+jmAKGtnpY/ngL1/QTYxUHOocj2D6M4TSR0t zA9zM2ueCgZyYIDhWTDBFzPDHE3vMKklaZD1g6DcwuiLAQAaq6KPL620jaM07QVoB6 TiEd61a4IDkxu0+EdGoi2b1IAFl5BvHDHAxdzdPqMhJfJC6wItfKwUI29CKKd7KxY6 J43bIeaO5AGId12bsDbGJjTJn3SJte03FJ8m0zVX+aYEjEXqmBe0QJkP3D5qcCQY5W v5W5lvfZKX4snMd3/gg/1SNx9qHTHSA5IAa104k8qpn3EW0QDUXQl4k8X+EANSoqsY ZY/JoRFiseDDQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 00B52699EA for <u-boot-concept@u-boot.org>; Sun, 8 Feb 2026 14:44:31 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id DlwZbAHLLojE for <u-boot-concept@u-boot.org>; Sun, 8 Feb 2026 14:44:30 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1770587070; bh=RE1vSBh6qr9ZBGMjx1id+3a0cotdPWm/bvGmH7YEKDw=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=Lnpq4Q1+Rn23e68pEIEBvtrALlNMKMSowxZDKWnIZr6hkUrTE06NpjzEe0te75VN6 +fe9sE+ujOopZPjyNYpT+cOiQQsLnMhVMwWCmBxVDT72PLYc7rhACQWlP3KYVy+zDj 6QbS/DRI77YBrFLBk1vNG9iYou0wJY+h6YscKRYcftgC0Pq3dyIETYkgVJlR0QtL4O sXuoRy0GwO2ZSOKMedVehkS3Xs4s7Md4R3IH6zyLuXCc3trmZWuhXQtfo2cQHpX15S ZutjD1TGpesds1g8KMnEvSZkEt6670xioFMVuesCqCNlhbv64iaKXAOmr560vqeWka YhmFV/mJ6ukgA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E0A79699E7 for <u-boot-concept@u-boot.org>; Sun, 8 Feb 2026 14:44:30 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1770587068; bh=iqcyPO+KjL2TI7VDcA2Ec83LwRatNnwOfZio3EwmBtU=; h=From:To:Cc:Subject:Date:From; b=nHKEqXu6PUdVjvQbJGIJCPIgypF507Z9MRxOag/kFFeN9rBLVRWFdsw71pUmxP2zc APBs9JOu1q7udWeQ2voVBKytFvmKCjMKcozk2CYXNSLrSqX29gmZEB+bdo0zpJ5ZgS QouVViVP0m7LXwT/BxOGyQxL3hUMOeudPB47zb/yRuVeV+fiu6eELprWTSB3NqENKg OGQxTFGtDtcugBhXUOEV8j8ImQUnT7Uosu6Qv6sfrIos2owFO03SMVu/BulEwXwaci qK/ZLgl/XMMog4G/KEJfpdmx7ZJ4KB0oQD9uivsWLmacTfaaXcIc2r2WdCswVPeBYJ 0wphZ9x8f1tRg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9D120699E6; Sun, 8 Feb 2026 14:44:28 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id WPmswf06GQs2; Sun, 8 Feb 2026 14:44:28 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1770587064; bh=qQ8St2QbrIlwHw4iBJWsS/+f45uE3hlFJM2mLgnbHQA=; h=From:To:Cc:Subject:Date:From; b=pCOd3hGYHhw7JGcPRFFgene1HXNT5X9zS/e5KSeJORJwK3AZncddjgTBHlmRfjg/M Xi8JWS2bmKGi3/+11NUUFgi7SMht9laRRNjnyNTXmVCyyZmi1h2QvhUhZPMsDlW5dK Z1BCM34dDWcpJFqP4kljik8L+QQnn7BhHpq9jCTV5MVx3DM5eULduTK98nwm7xwwLs yZf3Rh56F6i4JQJKkeL4X0BN65c1q1nTaEKetAo4eOuQfA3WUAW9k4vYCy9vdO+JAz gGmXYmMN7wVnWjfwVWSZLrXFNcgvL6J7wCGhnDjTDIgoBatR1nWj3rJ0YYA2pNX7a5 OfkwYoEBoio4Q== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 4A70E69970; Sun, 8 Feb 2026 14:44:24 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Sun, 8 Feb 2026 14:44:01 -0700 Message-ID: <20260208214411.3445278-1-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: XHN3KBFUOCAULT3X5YCQS5IYZOPDV6HD X-Message-ID-Hash: XHN3KBFUOCAULT3X5YCQS5IYZOPDV6HD X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass <simon.glass@canonical.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 0/4] Fix truetype bbox init and improve pager robustness List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/XHN3KBFUOCAULT3X5YCQS5IYZOPDV6HD/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| 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(-)