summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2021-08-15 03:47:10 +0100
committerJohn-Mark Bell <jmb@netsurf-browser.org>2021-08-15 03:47:10 +0100
commit421bacf56744d00db7ccef93daa119ab8ea4ac55 (patch)
tree7bd9dadd15bb9761ab1229d5c62215841cf9846e /include
parentd59f17a6fb3d4f20a931ab45bf60ff910685b241 (diff)
downloadlibrufl-421bacf56744d00db7ccef93daa119ab8ea4ac55.tar.gz
librufl-421bacf56744d00db7ccef93daa119ab8ea4ac55.tar.bz2
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.
Diffstat (limited to 'include')
-rw-r--r--include/rufl.h2
1 files changed, 1 insertions, 1 deletions
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);
/**