]> git.ipfire.org Git - thirdparty/plymouth.git/commit
ply-kmsg-reader: Fix doubly underlined text output
authorTomita Moeko <tomitamoeko@gmail.com>
Wed, 7 May 2025 13:59:28 +0000 (21:59 +0800)
committerRay Strode <halfline@gmail.com>
Wed, 18 Jun 2025 15:14:25 +0000 (15:14 +0000)
commit1e3565662523698857cf461259056c9a1b44513a
tree1053e6413e7ef5ec02097199d90d5262fc1a36d5
parent184b7dc2abdbf4a030ce31d945f618e08cf6ad8c
ply-kmsg-reader: Fix doubly underlined text output

Currently plymouth applies Select Graphic Rendition (SGR) attribute 21
to disable bold text. However, per ECMA-48 [1], this attribute is for
doubly underlined text, not for disabling bold, resulting unintended
doubly underlined output on boot. Fix it by conditionally applying
standard bold attribute (SGR 1) on bold text.

[1] 8.3.117, https://www.ecma-international.org/wp-content/uploads/ECMA-48_5th_edition_june_1991.pdf

Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
src/libply-splash-core/ply-kmsg-reader.c