From e086ba408da281bbac5ac222371bf3b9626d6968 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 17 Nov 2009 21:41:04 +0100 Subject: properly handle comma separated lists of font names in CSS --- dw/fltkplatform.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dw/fltkplatform.cc') diff --git a/dw/fltkplatform.cc b/dw/fltkplatform.cc index 56a73a19..b9aa6bd8 100644 --- a/dw/fltkplatform.cc +++ b/dw/fltkplatform.cc @@ -83,6 +83,12 @@ FltkFont::~FltkFont () fontsTable->remove (this); } +bool +FltkPlatform::fontExists (const char *name) +{ + return ::fltk::font(name) != NULL; +} + FltkFont* FltkFont::create (core::style::FontAttrs *attrs) { -- cgit v1.2.3