Author: duncan
Date: Fri Sep 22 13:43:21 2006
New Revision: 8228

Modified:
   branches/rel-1-5/freevo/src/osd.py

Log:
Increase the font size for chinese, now fixed

Modified: branches/rel-1-5/freevo/src/osd.py
==============================================================================
--- branches/rel-1-5/freevo/src/osd.py  (original)
+++ branches/rel-1-5/freevo/src/osd.py  Fri Sep 22 13:43:21 2006
@@ -215,9 +215,9 @@
 
         _debug_('Loading font "%s"' % filename, 2)
 
-    if config.OSD_FORCE_FONT:
-        filename = config.OSD_FORCE_FONT
-        ptsize *= 1.5
+        if hasattr(config, 'OSD_FORCE_FONT') and config.OSD_FORCE_FONT:
+            filename = config.OSD_FORCE_FONT
+            ptsize *= 1.5
 
         font   = self.__loadfont__(filename, ptsize)
         if not font:

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to