summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rufl_decompose.c2
-rw-r--r--rufl_metrics.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/rufl_decompose.c b/rufl_decompose.c
index ad0e98e..5889a7b 100644
--- a/rufl_decompose.c
+++ b/rufl_decompose.c
@@ -104,7 +104,7 @@ rufl_code rufl_decompose_glyph(const char *font_family,
/* Allocate and initialise buffer */
buf = malloc(buf_size);
if (!buf) {
- LOG("Failed allocating buffer", 0);
+ LOG("Failed to allocate decompose buffer of size %i", buf_size);
return rufl_OUT_OF_MEMORY;
}
buf[0] = 0;
diff --git a/rufl_metrics.c b/rufl_metrics.c
index 9309139..2ed4681 100644
--- a/rufl_metrics.c
+++ b/rufl_metrics.c
@@ -49,7 +49,8 @@ rufl_code rufl_font_metrics(const char *font_family, rufl_style font_style,
}
if (misc_size == 0) {
- LOG("No font metrics in file", 0);
+ LOG("no miscellaneous information in metrics for %s",
+ rufl_font_list[font].identifier);
/** \todo better error code */
return rufl_FONT_NOT_FOUND;
}