From 421bacf56744d00db7ccef93daa119ab8ea4ac55 Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Sun, 15 Aug 2021 03:47:10 +0100 Subject: Make dump of unicode maps optional Add a verbose flag to rufl_dump_state() and use it to control whether to dump the individual unicode maps generated when using a non-UCS Font Manager. Change rufl_test to not dump this state (ordinarily, anyway) as it is generally uninteresting and highly verbose. --- include/rufl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/rufl.h b/include/rufl.h index 0164df8..15e889e 100644 --- a/include/rufl.h +++ b/include/rufl.h @@ -185,7 +185,7 @@ rufl_code rufl_font_bbox(const char *font_family, rufl_style font_style, * Dump the internal library state to stdout. */ -void rufl_dump_state(void); +void rufl_dump_state(bool verbose); /** -- cgit v1.2.3