changeset 866:f0f8ab1d6609

don't ignore font attributes when falling back to HELVETICA
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sat, 31 Jan 2009 13:08:28 +0100
parents 638daf5ec7f4
children 414bd2961945
files dw/fltkplatform.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dw/fltkplatform.cc	Sat Jan 31 11:30:50 2009 +0100
+++ b/dw/fltkplatform.cc	Sat Jan 31 13:08:28 2009 +0100
@@ -59,7 +59,7 @@
        * If using xft, fltk::HELVETICA just means sans, fltk::COURIER
        * means mono, and fltk::TIMES means serif.
        */
-      font = HELVETICA;
+      font = HELVETICA->plus (fa);
    }      
 
    setfont(font, size);