Index: trunk/private/themesite.class.php
===================================================================
--- trunk/private/themesite.class.php (Revision 24698)
+++ trunk/private/themesite.class.php (Arbeitskopie)
@@ -704,9 +704,12 @@
if($setting['type'] == "file")
{
$value_info = $this->my_pathinfo($value);
- /* fonts from the fontpack dont need to exist */
+ /* fonts from the fontpack dont need to exist
+ * also accept '-' filenames used to explicitely
+ * deactivate loading a file */
$fname = preg_replace("/\.fnt\s*$/","",$value_info['filename']);
- if (preg_match("/\.fnt\s*$/", $value) && $this->isfontpackfont($fname)) {
+ if (preg_match("/\.fnt\s*$/", $value) && $this->isfontpackfont($fname)
+ || $value == '-') {
$found = true;
break;
}