aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/layout.hh')
-rw-r--r--dw/layout.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/layout.hh b/dw/layout.hh
index 39311c38..304cf166 100644
--- a/dw/layout.hh
+++ b/dw/layout.hh
@@ -322,6 +322,11 @@ public:
return platform->createFont (attrs, tryEverything);
}
+ inline bool fontExists (const char *name)
+ {
+ return platform->fontExists (name);
+ }
+
inline style::Color *createColor (int color)
{
return platform->createColor (color);