From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1199AC4167B for ; Mon, 26 Dec 2022 19:49:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F1A47854F9; Mon, 26 Dec 2022 20:49:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="FkTfNbrX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 03D1985505; Mon, 26 Dec 2022 20:49:39 +0100 (CET) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BFEEE854F9 for ; Mon, 26 Dec 2022 20:49:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dsankouski@gmail.com Received: by mail-ej1-x62e.google.com with SMTP id ud5so27714163ejc.4 for ; Mon, 26 Dec 2022 11:49:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=l2lYfL6LlG//Y5J3L+Fi3lLzBXGTYJM2RBdxztdY54c=; b=FkTfNbrXn9Xg2mACZ5bi2EAc1qNP3GI+/hWdFeMPEhR0r9WV/etECYv0NrZseeQjWo DQqceHzoNpFnVZT0xI98fS+dGjiOvMhsW8qrOZkbEDppIVco7qniEaGqBS6MU5jo/rN5 S8rOKnqK/EW8UQElKaYbXd0hb2lHL2rohIOxsXnxRtnzTYIzHLhiO98VZaFMXhKjSF0m Q87oErqKs/LIQwzkMp2xWfLY9QAaS2IgJFQ5lbmcmOnS2Z66Z2wKxRwxEV5gWvZqP+fo USDT7Nzo3qsBaj3u0ivRhfVUL/2aIu4yqF4kt+75ZLyEFcutsWaQHBg21x7NzVXMxid4 MwgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=l2lYfL6LlG//Y5J3L+Fi3lLzBXGTYJM2RBdxztdY54c=; b=SnEbUPLZcvXE/sBG24WVpy6Ta7GD2WORUJ/XFnNj3E2BePExkDPIOPx048Wmkc+6fg 4mUiYKHgSFeF02Ws3koydcQ3hQACARM6+iKSR/QOtsMYb1v+RDidNYkghU5UejUqwVzM qhNhMY/7X23Dn+fXj8xj40O6VstMNFFM9c7wTk7HE18mZ5Z2BsH/WLR0LQ666KtCZE32 pbkhMNWEZOnJBn+MNXrwqRlS5kUV/atPNd91r/UeolaNGOvmVC7e4o4whYE+LPgWCd2d nTRQvJFWsxGUzQqd2RlSlFJcZzPavaeq9EfKHvOcS+PGA0Ipu7E3w1MkXQ/EgnyXKUzu dCPg== X-Gm-Message-State: AFqh2kpTeMBGIvotpNpPhjloqMkHW3ZzwSY5Aj6Uj+yRb3Xsyn5j3GqV Im+m8UjlhqzR4ikOnF7KJdTlVLGJ7CA= X-Google-Smtp-Source: AMrXdXtCxufIYK/Qa+Pb/uPbwc2RR3aaOZ/Ov+I9rCZtQx16inKv2DZj033b3rqEYmvoEXr0wgM52Q== X-Received: by 2002:a17:907:20b0:b0:7d3:8159:f361 with SMTP id pw16-20020a17090720b000b007d38159f361mr16544407ejb.36.1672084176061; Mon, 26 Dec 2022 11:49:36 -0800 (PST) Received: from localhost.localdomain ([46.216.42.4]) by smtp.googlemail.com with ESMTPSA id kx18-20020a170907775200b007c14ae38a80sm5065666ejc.122.2022.12.26.11.49.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Dec 2022 11:49:35 -0800 (PST) From: Dzmitry Sankouski To: u-boot@lists.denx.de Cc: Dzmitry Sankouski , Anatolij Gustschin Subject: [PATCH 0/5] vidconsole: refactoring and support for wider fonts Date: Mon, 26 Dec 2022 22:49:24 +0300 Message-Id: <20221226194929.166369-1-dsankouski@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Modern mobile phones typically have high pixel density. Bootmenu is hardly readable on those with 8x16 font. This patch series aims to add wider fonts for devices with high ppi. Add 16x32 ter font from linux, and allow font size configuration. Use new font in starqltechn board. Note: Only tested with 32BPP configuration. 8BPP and 16BPP testing may needed. I cannot do it, because I don't have such devices. Dzmitry Sankouski (5): video console: unite normal and rotated files video console: refactoring and optimization video console: add support for fonts wider than 1 byte video console: add 16x32 ter font from linux video console: remove unused 4x6 font configs/starqltechn_defconfig | 1 + drivers/video/Kconfig | 25 +- drivers/video/Makefile | 3 +- drivers/video/console_normal.c | 178 -- .../{console_rotate.c => console_simple.c} | 497 ++-- include/video_font.h | 6 +- include/video_font_4x6.h | 2153 ----------------- include/video_font_data.h | 2 + include/video_font_ter16x32.h | 2068 ++++++++++++++++ 9 files changed, 2361 insertions(+), 2572 deletions(-) delete mode 100644 drivers/video/console_normal.c rename drivers/video/{console_rotate.c => console_simple.c} (53%) delete mode 100644 include/video_font_4x6.h create mode 100644 include/video_font_ter16x32.h -- 2.30.2