| Message ID | 20250919201507.4024144-11-sjg@u-boot.org |
|---|---|
| State | New |
| 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=1758312963; bh=wLOtmHVq04BngI0gTYs10RvP9MxUumbyvLCwkHg+38M=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=wlyAuIilgmuYETDwnuvlWZstgiXFBYUWHdrJZHunpyxHoRTqUGJDuuXXGcQJK8ZdB JmhNf8KnFYse8EZPHIIhL2RkxasMrUyLBUSTyvF4NeSstLawts9odlJrRJxfVZZElx JhymjPtVMwUb/DYOge0sRW5MRr0SLalvcGAuBuNr0TH8/inklf5km/cxbBMZKVR2Jp 9tkw99o+IPPbwtRB/LfKs49rWa39INlpzx8Art3v47CsN/rwOO9naJiB/hxfVF6+BM +Hvp3U/h01m5vauAHFGRzfx4SXMX9SUbhIsRbU+OwX5uvhA1dkzyyHHUVbhmUZBArl TLE5btiII6XTQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id ACA0867C6D for <u-boot-concept@u-boot.org>; Fri, 19 Sep 2025 14:16:03 -0600 (MDT) 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 zOhNnTU7Qy7z for <u-boot-concept@u-boot.org>; Fri, 19 Sep 2025 14:16:03 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758312962; bh=wLOtmHVq04BngI0gTYs10RvP9MxUumbyvLCwkHg+38M=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=kLcR9TOc4b82XCQNelOTwhr0ET9tmYd0mO5RBmCS9ONn+YoU53EblytcK3oRhiAUV cOdDIJwEMmimUpyncClATU9ZAf47yTJitf0LLTHDgV2dVixcdrO4MxYBFHgIHyOehL vsheNUVnsql9Cy8xoOFQxKV+hxPg55T9MKQLNOzl4QDKQsE33QroGDxFYV3cVX9Kwa iojb05oCWGyxaFso2oJXuRwU3YzgwNyKbLFh8zlZy8d1YjcvWBJTVEJXqOK17K5D+B lv4LC6an8Q4zCumWMEJSPIJiVsmTCLJg14yWfWZXGQnSzXospxQT6s6zfJOxsCGse2 /BlL1ahx+f8pg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 73FCD67C78 for <u-boot-concept@u-boot.org>; Fri, 19 Sep 2025 14:16:02 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758312960; bh=cCJF1N9JQBH5Dkt0YSM3mtZygSC1EJwYqF1tP47kNJg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CqiY7I+yDMrEm/5I7MFHYSzCnhL4esUfBOk/9Sw0alBRGamQVzG2cz7JrXiLVES12 mzZO6AEwbh7aqzpmp1WOV7ros6fvWFInSdIW9u6aruKRyFVBuUvcy2/mrvIc6qtz2D 8JZtiqResSdb7pc8KZ6BzJTd3mi/Nl8wpAp5pEkTT87T+DmvXdjaUEHSTSeeTpVUVD Sq22VEEgLyMsQbs4gPlyjHkkYCOyFLrajBL7FXW+2FdLc2xy5Mn668q7L8cXiYOWel qE6yRi0o/YbcgdkKtkGfqsNbWSFaXkjxb5oqrUeY9k31cIDhtCx8CP0DroWMSQ3SH/ IkrTX7deqjTqw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id CA3F267C0E; Fri, 19 Sep 2025 14:16:00 -0600 (MDT) 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 3xQOaw-Kq9Zb; Fri, 19 Sep 2025 14:16:00 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758312959; bh=ndAfkYXXXi++azbWI1d+gbsBJ/CbOCAD5Jmzw/mtCaA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lNRkdutkqF673fJ/Pt615F2EllhPKvZUDrOWyIr7FnJcgZUVIHIKYDPjbvfs7TRE2 GQdCp8h1qCjTSJsxaxD1fEHFpi6X/PK3JM3ZJexEOw7sZaOfArjhKDXEIrcs58PfBu fTrXiWx+nCaetwixzaMPGzyRAxqVnurZTZCjfRZOs/soxI9V/w6cSFS2VaaSHyqtT2 YNpHXgdGvNaVITTDNffbVh6qgyzuLKXo/5GJtuRYuGJ0Iv82aaYqFvAFCQdOXxYWHK N6eRyNMziBWZf4U1QPE6xUSd+MgaeE8L408erKj/gFKO/SPCw7TsYV81WNdlL6rLVh Md6CLGTcvKTNA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 1AD9D67B3B; Fri, 19 Sep 2025 14:15:59 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Fri, 19 Sep 2025 14:14:17 -0600 Message-ID: <20250919201507.4024144-11-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250919201507.4024144-1-sjg@u-boot.org> References: <20250919201507.4024144-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: YWGQIADQLUOJNTDA76M47JTWGHUABXO5 X-Message-ID-Hash: YWGQIADQLUOJNTDA76M47JTWGHUABXO5 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: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 10/42] video: truetype: Rename the FONT_ENTRY() macro 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/YWGQIADQLUOJNTDA76M47JTWGHUABXO5/> 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 |
video: Support a cursor more generally
|
|
Commit Message
Simon Glass
Sept. 19, 2025, 8:14 p.m. UTC
From: Simon Glass <sjg@chromium.org> Rename this macro in preparation for allowing truetype to use bitmap fonts. This avoids a conflict with FONT_ENTRY() in video_font.h Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/video/console_truetype.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/video/console_truetype.c b/drivers/video/console_truetype.c index f185552261c..a17519282fc 100644 --- a/drivers/video/console_truetype.c +++ b/drivers/video/console_truetype.c @@ -520,7 +520,7 @@ struct font_info { extern u8 __ttf_ ## _name ## _begin[]; \ extern u8 __ttf_ ## _name ## _end[]; -#define FONT_ENTRY(_name) { \ +#define TT_FONT_ENTRY(_name) { \ .name = #_name, \ .begin = __ttf_ ## _name ## _begin, \ .end = __ttf_ ## _name ## _end, \ @@ -535,22 +535,22 @@ FONT_DECL(ubuntu_bold); static struct font_info font_table[] = { #ifdef CONFIG_CONSOLE_TRUETYPE_NIMBUS - FONT_ENTRY(nimbus_sans_l_regular), + TT_FONT_ENTRY(nimbus_sans_l_regular), #endif #ifdef CONFIG_CONSOLE_TRUETYPE_ANKACODER - FONT_ENTRY(ankacoder_c75_r), + TT_FONT_ENTRY(ankacoder_c75_r), #endif #ifdef CONFIG_CONSOLE_TRUETYPE_RUFSCRIPT - FONT_ENTRY(rufscript010), + TT_FONT_ENTRY(rufscript010), #endif #ifdef CONFIG_CONSOLE_TRUETYPE_CANTORAONE - FONT_ENTRY(cantoraone_regular), + TT_FONT_ENTRY(cantoraone_regular), #endif #ifdef CONFIG_CONSOLE_TRUETYPE_UBUNTU_LIGHT - FONT_ENTRY(ubuntu_light), + TT_FONT_ENTRY(ubuntu_light), #endif #ifdef CONFIG_CONSOLE_TRUETYPE_UBUNTU_BOLD - FONT_ENTRY(ubuntu_bold), + TT_FONT_ENTRY(ubuntu_bold), #endif {} /* sentinel */ };