aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-11-17 21:41:04 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-11-17 21:41:04 +0100
commite086ba408da281bbac5ac222371bf3b9626d6968 (patch)
tree93beace3dff603eb0166fb3e5ebd6b25b766fd87 /dw/layout.hh
parent27c5e68d73ba6ad4c65b21865fb1a5f6734a1a6c (diff)
properly handle comma separated lists of font names in CSS
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);