mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Pavel Nikulin <pavel@noa-labs.com>
Cc: Jocelyn Falempe <jfalempe@redhat.com>,
	Arnd Bergmann <arnd@arndb.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Fonts: Adding all Terminus fronts from 12 to 32 in bold, and normal versions
Date: Tue, 3 Jun 2025 10:53:05 +0200	[thread overview]
Message-ID: <CAMuHMdUyX-7Qh7RcdrFPmL++OSVFuUqXks6NArsssQvHX_Epog@mail.gmail.com> (raw)
In-Reply-To: <20250603053120.3985-1-pavel@noa-labs.com>

        Hi Pavel,

Thanks for your patch!

On Tue, 3 Jun 2025 at 07:31, Pavel Nikulin <pavel@noa-labs.com> wrote:
>
> This patch adds an option to compile-in all terminus fonts, and removed the old bold only terminus version
>
> These fonts were convereted from Terminus psf files with the help of psftools and a script.

converted

>
> This patch is non-intrusive, no options are enabled by default so most users won't notice a thing.
>
> I am placing my changes under the GPL 2.0 just as source Terminus font.
>
> Signed-off-by: Pavel Nikulin <pavel@noa-labs.com>

> --- a/lib/fonts/Kconfig
> +++ b/lib/fonts/Kconfig
> @@ -112,15 +112,141 @@ config FONT_SUN12x22
>           big letters (like the letters used in the SPARC PROM). If the
>           standard font is unreadable for you, say Y, otherwise say N.
>
> -config FONT_TER16x32

So FONT_TER16x32 is now gone, thus impacting current users?

> +config FONT_TER6x12N
> +       bool "Terminus 6x12 bold font (not supported by all drivers)"
> +       depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
> +       depends on !SPARC && FONTS || SPARC
> +       help
> +         Terminus Font is a clean, fixed width bitmap font, designed
> +         for long (8 and more hours per day) work with computers.
> +
> +config FONT_TER8x14B
> +       bool "Terminus 8x14 font (not supported by all drivers)"

IIRC, the "not supported by all drivers" comment is only applicable
to fonts with a width that is not a multiple of 8.

> +       depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
> +       depends on !SPARC && FONTS || SPARC
> +       help
> +         Terminus Font is a clean, fixed width bitmap font, designed
> +         for long (8 and more hours per day) work with computers.
> +

> --- a/lib/fonts/Makefile
> +++ b/lib/fonts/Makefile
> @@ -14,7 +14,23 @@ font-objs-$(CONFIG_FONT_PEARL_8x8) += font_pearl_8x8.o
>  font-objs-$(CONFIG_FONT_ACORN_8x8) += font_acorn_8x8.o
>  font-objs-$(CONFIG_FONT_MINI_4x6)  += font_mini_4x6.o
>  font-objs-$(CONFIG_FONT_6x10)      += font_6x10.o
> -font-objs-$(CONFIG_FONT_TER16x32)  += font_ter16x32.o
> +font-objs-$(CONFIG_FONT_TER6x12N)  += font_ter-112n.o
> +font-objs-$(CONFIG_FONT_TER8x14B)  += font_ter-114b.o
> +font-objs-$(CONFIG_FONT_TER8x14N)  += font_ter-114n.o
> +font-objs-$(CONFIG_FONT_TER8x16B)  += font_ter-116b.o
> +font-objs-$(CONFIG_FONT_TER8x16N)  += font_ter-116n.o
> +font-objs-$(CONFIG_FONT_TER10x18B)  += font_ter-118b.o
> +font-objs-$(CONFIG_FONT_TER10x18N)  += font_ter-118n.o
> +font-objs-$(CONFIG_FONT_TER10x20B)  += font_ter-120b.o
> +font-objs-$(CONFIG_FONT_TER10x20N)  += font_ter-120n.o
> +font-objs-$(CONFIG_FONT_TER11x22B)  += font_ter-122b.o
> +font-objs-$(CONFIG_FONT_TER11x22N)  += font_ter-122n.o
> +font-objs-$(CONFIG_FONT_TER12x24B)  += font_ter-124b.o
> +font-objs-$(CONFIG_FONT_TER12x24N)  += font_ter-124n.o
> +font-objs-$(CONFIG_FONT_TER14x28B)  += font_ter-128b.o
> +font-objs-$(CONFIG_FONT_TER14x28N)  += font_ter-128n.o
> +font-objs-$(CONFIG_FONT_TER16x32B)  += font_ter-132b.o
> +font-objs-$(CONFIG_FONT_TER16x32N)  += font_ter-132n.o

Please use descriptive names for the font files, matching the
font names.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

  reply	other threads:[~2025-06-03  8:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-03  5:31 Pavel Nikulin
2025-06-03  8:53 ` Geert Uytterhoeven [this message]
2025-06-14 12:31   ` Pavel Nikulin
2025-06-15 18:03     ` Pavel Nikulin
2025-06-16 23:28   ` Pavel Nikulin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMuHMdUyX-7Qh7RcdrFPmL++OSVFuUqXks6NArsssQvHX_Epog@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=arnd@arndb.de \
    --cc=jfalempe@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@noa-labs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®