[util/ansi] Enable all symbols in Chafa

Gives vastly smoother output. The previous setting was
equivalent to our in-house renderer.
This commit is contained in:
Behdad Esfahbod 2022-07-14 13:45:39 -06:00
parent 679c87ca36
commit 76e6feb77f
1 changed files with 3 additions and 3 deletions

View File

@ -82,9 +82,9 @@ chafa_print_image_rgb24 (const void *data, int width, int height, int stride)
/* Create the configuration */ /* Create the configuration */
symbol_map = chafa_symbol_map_new (); symbol_map = chafa_symbol_map_new ();
chafa_symbol_map_add_by_tags (symbol_map, chafa_symbol_map_add_by_tags (symbol_map, CHAFA_SYMBOL_TAG_ALL
(ChafaSymbolTags) (CHAFA_SYMBOL_TAG_BLOCK /*(ChafaSymbolTags) (CHAFA_SYMBOL_TAG_BLOCK
| CHAFA_SYMBOL_TAG_SPACE)); | CHAFA_SYMBOL_TAG_SPACE)*/);
config = chafa_canvas_config_new (); config = chafa_canvas_config_new ();
chafa_canvas_config_set_canvas_mode (config, mode); chafa_canvas_config_set_canvas_mode (config, mode);