[util] Revert Chafa to use simple blocks only

The wedges are nice but not available on Mac.

Fixes https://github.com/harfbuzz/harfbuzz/issues/3729
This commit is contained in:
Behdad Esfahbod 2022-07-18 10:14:14 -06:00
parent f7f6d278bb
commit b4e95965c8
1 changed files with 5 additions and 3 deletions

View File

@ -82,9 +82,11 @@ 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, CHAFA_SYMBOL_TAG_ALL
/*(ChafaSymbolTags) (CHAFA_SYMBOL_TAG_BLOCK
| CHAFA_SYMBOL_TAG_SPACE)*/);
chafa_symbol_map_add_by_tags (symbol_map,
(ChafaSymbolTags) (CHAFA_SYMBOL_TAG_BLOCK
| CHAFA_SYMBOL_TAG_SPACE
//| CHAFA_SYMBOL_TAG_WEDGE
));
config = chafa_canvas_config_new ();
chafa_canvas_config_set_canvas_mode (config, mode);