summaryrefslogtreecommitdiff
path: root/font.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-05-02 20:34:46 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2008-05-02 20:34:46 +0200
commit8ce144c6078baf856fb82a96e7da2a725a06be5c (patch)
treedc025e7192e6637d745298708c0b07127ca5f408 /font.c
parentb6eaa08dbf03973928f788d90e67699d129316d5 (diff)
downloadvdr-8ce144c6078baf856fb82a96e7da2a725a06be5c.tar.gz
vdr-8ce144c6078baf856fb82a96e7da2a725a06be5c.tar.bz2
No longer calling FcFini() to avoid problems with older (broken) versions of fontconfig
Diffstat (limited to 'font.c')
-rw-r--r--font.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/font.c b/font.c
index b458e890..f962a09c 100644
--- a/font.c
+++ b/font.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: font.c 1.25 2008/03/01 10:19:41 kls Exp $
+ * $Id: font.c 2.1 2008/05/02 16:16:51 kls Exp $
*/
#include "font.h"
@@ -395,7 +395,7 @@ bool cFont::GetAvailableFontNames(cStringList *FontNames, bool Monospaced)
FcFontSetDestroy(fontset);
FcPatternDestroy(pat);
FcObjectSetDestroy(os);
- FcFini();
+ //FcFini(); // older versions of fontconfig are broken - and FcInit() can be called more than once
FontNames->Sort();
}
return FontNames->Size() > 0;
@@ -431,7 +431,7 @@ cString cFont::GetFontFileName(const char *FontName)
esyslog("ERROR: no usable font found for '%s'", FontName);
FcPatternDestroy(pat);
free(fn);
- FcFini();
+ //FcFini(); // older versions of fontconfig are broken - and FcInit() can be called more than once
}
return FontFileName;
}