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 150B6C6379F for ; Fri, 17 Feb 2023 15:01:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C90A085C48; Fri, 17 Feb 2023 16:01:25 +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="G7yHjLgI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 303FC85C3C; Fri, 17 Feb 2023 16:01:21 +0100 (CET) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (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 1C312851B1 for ; Fri, 17 Feb 2023 16:01:01 +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-ed1-x535.google.com with SMTP id er25so5063985edb.6 for ; Fri, 17 Feb 2023 07:01:01 -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=aQEWam7PkrJuARIc2N1254bIHqD2XGlNqIOyaDkEsZg=; b=G7yHjLgIyly8WXNFTtGGuztDmQVY6t8721q+9G6BmomEgsuk071LZ1ovTMGV3Sa6VZ B4fHaGVg2VhnTPqRQ6agtBpc6H6tzguJ1JNUUONVkgQ+HmHep4yS/YZRC6fTz84wTm48 e0+OibR9Hx+D4UkxO9GWv0ilFxj7rq2QWKrGkfkZyq7icYWkGMWGaMY9clCu5FZwJtRf FL7vzyWd4KtQF/KJs+iVxwCbvBhfTNGjDDGPDD7vXf5tc2bwC7SE9G8+dBfwP/Flh9b0 fVGXdClrpzNwxrsC9m4RMPBTAXVetOfq51p11+7MNmdVZxgC/eKq0Ii3BCHiVf0JaPOL SoRA== 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=aQEWam7PkrJuARIc2N1254bIHqD2XGlNqIOyaDkEsZg=; b=sIr9Zl8MgsiFDABioUXrxIxp2isHKunJNPP3KA6d1l8h9nm1FHZ+l5QG/fxp7bPCUC v2X4LHC9366NdGoh8ct56GU6g0cNRh7kjJQb7StwpFqpJmlh22Tf4oMTEwMKCw2scunN qvscAmrn0N8FnooviLsm3ut66tanzraz+ES9qo1KIt+Ud2oWji+8gHdJk0Kwx+JgvqUe OHMyZDgCYpsRd9Bosy9X3DreBDuMebiZn2K/9IPxwOVR42ZWdMsSOFAmsEQf5DJACfWo DpVgDI0hVJ/dxw9b1pgUYNo3LJiwI1VAEr5yQ8g6i2iNqm3rbXHMBZK9xWI3vDJv/lOr xIlQ== X-Gm-Message-State: AO0yUKUDgJcljYHavhFO//qMKDU8C/0diMn2veEK4J6d0vh7dDBzrsjj xAvuRFBdNDEhcvg+xMzhAIFlxadVG3E= X-Google-Smtp-Source: AK7set8bgvK97fCuyQtnrpPe2UUkLjA/8VGXKFOe4wV2PQ4aWjgPMhD9WXEZ+BtabcIliSADTdMhXQ== X-Received: by 2002:a17:906:80d3:b0:88d:d304:3433 with SMTP id a19-20020a17090680d300b0088dd3043433mr10613205ejx.67.1676646060357; Fri, 17 Feb 2023 07:01:00 -0800 (PST) Received: from debian.localdomain ([37.45.175.233]) by smtp.googlemail.com with ESMTPSA id jo13-20020a170906f6cd00b0088cd8f7255fsm2216440ejb.48.2023.02.17.07.00.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 07:00:59 -0800 (PST) From: Dzmitry Sankouski To: u-boot@lists.denx.de Cc: Dzmitry Sankouski , Anatolij Gustschin , Simon Glass Subject: [PATCH v4 0/1] vidconsole: refactoring and support for wider fonts Date: Fri, 17 Feb 2023 18:00:45 +0300 Message-Id: <20230217150046.1198213-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 In version 4, only first patch sent, because review fixes to this would add large rebase & patch formatting overhead. When it'll receive reviewed tag, I'll resent entire rebased series. 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, 12x22 fonts from linux, and allow font size configuration. There was significant changes in version 2: - fix video tests failures - add runtime font size configuration - add test for 12x22 font In version 3, 'video console: add select font logic to vidconsole uclass driver' patch was removed in favor of already merged patch 'video: Add font functions to the vidconsole API' Dzmitry Sankouski (1): video console: refactoring and optimization drivers/video/console_normal.c | 150 +++--------- drivers/video/console_rotate.c | 364 ++++++++-------------------- drivers/video/vidconsole_internal.h | 148 +++++++++++ 3 files changed, 288 insertions(+), 374 deletions(-) create mode 100644 drivers/video/vidconsole_internal.h -- 2.30.2