aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkplatform.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/fltkplatform.cc')
-rw-r--r--dw/fltkplatform.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/dw/fltkplatform.cc b/dw/fltkplatform.cc
index f5d686c4..21c0866a 100644
--- a/dw/fltkplatform.cc
+++ b/dw/fltkplatform.cc
@@ -122,6 +122,7 @@ FltkFont::FltkFont (core::style::FontAttrs *attrs)
int xx, xy, xw, xh;
fl_text_extents("x", xx, xy, xw, xh);
xHeight = xh;
+ zeroWidth = (int) fl_width("0");
descent = fl_descent();
ascent = fl_height() - descent;
}