public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Janne Grunau <j@jannau.net>
To: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Simon Glass <sjg@chromium.org>,
	Andre Przywara <andre.przywara@arm.com>,
	u-boot@lists.denx.de, Anatolij Gustschin <agust@denx.de>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>
Subject: Re: [PATCH v3 4/7] efi_selftest: Add international characters test
Date: Tue, 19 Mar 2024 22:28:13 +0100	[thread overview]
Message-ID: <ZfoDbRh1dgz0V6vm@robin> (raw)
In-Reply-To: <4630a614-70d0-41f7-8f40-d28d0966c4d2@gmx.de>

On Sun, Mar 17, 2024 at 10:24:13AM +0100, Heinrich Schuchardt wrote:
> On 3/16/24 22:50, Janne Grunau via B4 Relay wrote:
> > From: Andre Przywara <andre.przywara@arm.com>
> >
> > UEFI relies entirely on unicode output, which actual fonts displayed on
> > the screen might not be ready for.
> >
> > Add a test displaying some international characters, to reveal missing
> > glyphs, especially in our builtin fonts.
> > This would be needed to be manually checked on the screen for
> > correctness.
> >
> > Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> > Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> > Signed-off-by: Janne Grunau <j@jannau.net>
> > ---
> >   lib/efi_selftest/efi_selftest_textoutput.c | 21 +++++++++++++++++++++
> >   1 file changed, 21 insertions(+)
> >
> > diff --git a/lib/efi_selftest/efi_selftest_textoutput.c b/lib/efi_selftest/efi_selftest_textoutput.c
> > index cc44b38bc2..917903473d 100644
> > --- a/lib/efi_selftest/efi_selftest_textoutput.c
> > +++ b/lib/efi_selftest/efi_selftest_textoutput.c
> > @@ -31,6 +31,21 @@ static int execute(void)
> >   		0xD804, 0xDC22,
> >   		0};
> >
> > +	const u16 text[] =
> > +u"This should render international characters as described\n"
> > +u"U+00D6 \u00D6 - Latin capital letter O with diaresis\n"
> > +u"U+00DF \u00DF - Latin small letter sharp s\n"
> > +u"U+00E5 \u00E5 - Latin small letter a with ring above\n"
> > +u"U+00E9 \u00E9 - Latin small letter e with acute\n"
> > +u"U+00F1 \u00F1 - Latin small letter n with tilde\n"
> > +u"U+00F6 \u00F6 - Latin small letter o with diaresis\n"
> > +u"The following characters will render as '?' with bitmap fonts\n"
> > +u"U+00F8 \u00F8 - Latin small letter o with stroke\n"
> > +u"U+03AC \u03AC - Greek small letter alpha with tonus\n"
> > +u"U+03BB \u03BB - Greek small letter lambda\n"
> > +u"U+03C2 \u03C2 - Greek small letter final sigma\n"
> > +u"U+1F19 \u1F19 - Greek capital letter epsilon with dasia\n";
> 
> The strings should be indented by two tabs.

done locally for all selftests, I'm waiting on fedback for Patch 2 and 3
before resending.

thanks

Janne

  reply	other threads:[~2024-03-19 21:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-16 21:50 [PATCH v3 0/7] video: Add UTF-8 support for UEFI applications Janne Grunau via B4 Relay
2024-03-16 21:50 ` [PATCH v3 1/7] lib: charset: Fix and extend utf8_to_utf32_stream() documentation Janne Grunau via B4 Relay
2024-03-17  9:30   ` Heinrich Schuchardt
2024-03-16 21:50 ` [PATCH v3 2/7] video: console: Parse UTF-8 character sequences Janne Grunau via B4 Relay
2024-03-16 21:50 ` [PATCH v3 3/7] lib/charset: Map Unicode code points to CP437 code points 1-31 Janne Grunau via B4 Relay
2024-03-16 21:50 ` [PATCH v3 4/7] efi_selftest: Add international characters test Janne Grunau via B4 Relay
2024-03-17  9:24   ` Heinrich Schuchardt
2024-03-19 21:28     ` Janne Grunau [this message]
2024-03-16 21:50 ` [PATCH v3 5/7] efi_selftest: Add box drawing character selftest Janne Grunau via B4 Relay
2024-03-17  9:37   ` Heinrich Schuchardt
2024-03-16 21:50 ` [PATCH v3 6/7] efi_selftest: Add geometric shapes " Janne Grunau via B4 Relay
2024-03-17  9:38   ` Heinrich Schuchardt
2024-03-16 21:50 ` [PATCH v3 7/7] efi_selftest: Update StrToFat() unit test after CP473 map extension Janne Grunau via B4 Relay
2024-03-17  9:44   ` Heinrich Schuchardt

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=ZfoDbRh1dgz0V6vm@robin \
    --to=j@jannau.net \
    --cc=agust@denx.de \
    --cc=andre.przywara@arm.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /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