From 76e6feb77f373a47fa035620e518daee199e66c9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 14 Jul 2022 13:45:39 -0600 Subject: [PATCH] [util/ansi] Enable all symbols in Chafa Gives vastly smoother output. The previous setting was equivalent to our in-house renderer. --- util/helper-cairo-ansi.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/helper-cairo-ansi.hh b/util/helper-cairo-ansi.hh index 7f8c8fd61..a35e32793 100644 --- a/util/helper-cairo-ansi.hh +++ b/util/helper-cairo-ansi.hh @@ -82,9 +82,9 @@ chafa_print_image_rgb24 (const void *data, int width, int height, int stride) /* Create the configuration */ symbol_map = chafa_symbol_map_new (); - chafa_symbol_map_add_by_tags (symbol_map, - (ChafaSymbolTags) (CHAFA_SYMBOL_TAG_BLOCK - | CHAFA_SYMBOL_TAG_SPACE)); + chafa_symbol_map_add_by_tags (symbol_map, CHAFA_SYMBOL_TAG_ALL + /*(ChafaSymbolTags) (CHAFA_SYMBOL_TAG_BLOCK + | CHAFA_SYMBOL_TAG_SPACE)*/); config = chafa_canvas_config_new (); chafa_canvas_config_set_canvas_mode (config, mode);