summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2006-07-20 22:58:00 (GMT)
committer John Mark Bell <jmb@netsurf-browser.org>2006-07-20 22:58:00 (GMT)
commitf08f15e06aed53db8270110c787ba91be2201b9d (patch)
tree6b78703c4d29160bfc5f364f47133a28d323cef4
parentd36d5c88aa7ca35235ac5251dc213bdd3b21919c (diff)
downloadlibrufl-f08f15e06aed53db8270110c787ba91be2201b9d.tar.gz
librufl-f08f15e06aed53db8270110c787ba91be2201b9d.tar.bz2
Fix rufl_font_bbox
svn path=/trunk/rufl/; revision=2787
-rw-r--r--rufl_paint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rufl_paint.c b/rufl_paint.c
index 024db42..c08c4a0 100644
--- a/rufl_paint.c
+++ b/rufl_paint.c
@@ -192,7 +192,7 @@ rufl_code rufl_process(rufl_action action,
flags &= ~rufl_BLEND_FONT;
}
- if (length == 0) {
+ if (length == 0 && action != rufl_FONT_BBOX) {
if (action == rufl_WIDTH)
*width = 0;
else if (action == rufl_X_TO_OFFSET || action == rufl_SPLIT) {