Revert "vt: update ucs_width.c using gen_ucs_width.py"

This reverts commit 3a1ab63aa0.

A new version of the series was submitted, so it's easier to revert the
old one and add the new one due to the changes invovled.

Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Greg Kroah-Hartman
2025-04-26 11:21:21 +02:00
parent 06df3bcefa
commit 67a4bb2746
2 changed files with 26 additions and 475 deletions

View File

@@ -29,7 +29,11 @@ u32 conv_8bit_to_uni(unsigned char c);
int conv_uni_to_8bit(u32 uni);
void console_map_init(void);
bool ucs_is_double_width(uint32_t cp);
bool ucs_is_zero_width(uint32_t cp);
static inline bool ucs_is_zero_width(uint32_t cp)
{
/* coming soon */
return false;
}
#else
static inline u16 inverse_translate(const struct vc_data *conp, u16 glyph,
bool use_unicode)