summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2007-06-09 14:26:24 (GMT)
committer James Bursa <james@netsurf-browser.org>2007-06-09 14:26:24 (GMT)
commit17bd7cfd66b512c77475647eddc8b32445238b17 (patch)
tree6ca33bb1595409b05f1739b0d21bea92fe7dee66
parentab94ddccb18fffd8792e49c83d147e45bddfeadd (diff)
downloadlibrufl-17bd7cfd66b512c77475647eddc8b32445238b17.tar.gz
librufl-17bd7cfd66b512c77475647eddc8b32445238b17.tar.bz2
Fix LOG warnings.
svn path=/trunk/rufl/; revision=3313
-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;
}