Commit de45d93f authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Greg Kroah-Hartman
Browse files

vt: create ucs_fallback_table.h_shipped with gen_ucs_fallback_table.py



The generated table maps complex characters to their simpler fallback
forms for a terminal display when corresponding glyphs are unavailable.
A page-based approach is used to reduce compiled binary footprint.

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
Link: https://lore.kernel.org/r/20250507141535.40655-6-nico@fluxnic.net


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5071ddc1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,5 +2,6 @@
/conmakehash
/consolemap_deftbl.c
/defkeymap.c
/ucs_fallback_table.h
/ucs_recompose_table.h
/ucs_width_table.h
+4 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o \

# Files generated that shall be removed upon make clean
clean-files :=	consolemap_deftbl.c defkeymap.c \
		ucs_width_table.h ucs_recompose_table.h
		ucs_width_table.h ucs_recompose_table.h ucs_fallback_table.h

hostprogs += conmakehash

@@ -58,4 +58,7 @@ endif
$(obj)/ucs_recompose_table.h: $(src)/gen_ucs_recompose_table.py
	$(PYTHON3) $< -o $@ $(gen_recomp_arg)

$(obj)/ucs_fallback_table.h: $(src)/gen_ucs_fallback_table.py
	$(PYTHON3) $< -o $@

endif
+3440 −0

File added.

Preview size limit exceeded, changes collapsed.