diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-06-17 11:47:18 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-06-17 11:47:18 +0200 |
commit | 3c68ef28d0518579c4269c3545699c623d8df47b (patch) | |
tree | 9c7ed2ff269beab8e7428d546dbd098592bf0ac8 /vdr.c | |
parent | 79b1c68ffbe11ada50d8e288efc0255eba268185 (diff) | |
download | vdr-3c68ef28d0518579c4269c3545699c623d8df47b.tar.gz vdr-3c68ef28d0518579c4269c3545699c623d8df47b.tar.bz2 |
Using dummy font if no fonts are installed
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 1.292 2007/06/15 13:20:34 kls Exp $ + * $Id: vdr.c 1.293 2007/06/17 11:23:08 kls Exp $ */ #include <getopt.h> @@ -550,6 +550,12 @@ int main(int argc, char *argv[]) )) EXIT(2); + if (!*cFont::GetFontFileName(Setup.FontOsd)) { + const char *msg = "no fonts available - OSD will not show any text!"; + fprintf(stderr, "vdr: %s\n", msg); + esyslog("ERROR: %s", msg); + } + // Recordings: Recordings.Update(); |