From 2b33371a362b05ffab2f31137cab91bd27e664bf Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 10 Mar 2022 18:08:56 +0800 Subject: [PATCH] add emoji back into the tts set this is helpful for debugging --- services/graphics-server/src/style_macros.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/graphics-server/src/style_macros.rs b/services/graphics-server/src/style_macros.rs index b082061bd..247fcac1e 100644 --- a/services/graphics-server/src/style_macros.rs +++ b/services/graphics-server/src/style_macros.rs @@ -102,9 +102,12 @@ macro_rules! en_audio_rules { ($base_style: expr, $emoji_style: expr, $ch: ident) => { match $base_style($ch) { Ok(g) => g, - _ => match $base_style(REPLACEMENT) { + _ => match $emoji_style($ch) { + Ok(g) => g, + _ => match $base_style(REPLACEMENT) { Ok(g) => g, _ => NULL_GLYPH_SPRITE, + }, }, } };