diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-01-07 12:42:37 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-01-07 12:42:37 +0100 |
commit | dbf342df3c401cfc4cd4d5df28c98c175ba252bc (patch) | |
tree | 3dd5be461bee0bdc2768ad7ac76e36a921b44d3b /font.h | |
parent | 3cf87dfe8a45e07de8df973bf8458b446d731fb9 (diff) | |
download | vdr-dbf342df3c401cfc4cd4d5df28c98c175ba252bc.tar.gz vdr-dbf342df3c401cfc4cd4d5df28c98c175ba252bc.tar.bz2 |
cFont::CreateFont() now returns a dummy font in case there are no fonts installed
Diffstat (limited to 'font.h')
-rw-r--r-- | font.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: font.h 2.7 2013/02/17 13:17:42 kls Exp $ + * $Id: font.h 3.1 2014/01/07 12:11:55 kls Exp $ */ #ifndef __FONT_H @@ -75,7 +75,7 @@ public: ///< default width. Name is of the form "Family:Style", for instance ///< "Verdana:Bold Italic" or "Times New Roman". See GetAvailableFontNames() ///< for how to get a list of all available font names. - ///< If the requested font can't be created, NULL is returned. + ///< If the requested font can't be created, a dummy font is returned. ///< The caller must delete the font when it is no longer needed. static bool GetAvailableFontNames(cStringList *FontNames, bool Monospaced = false); ///< Queries the font configuration for a list of available font names, |