Re: i10n shutdown dialog problem

XiouXin Huang <[email protected]>
Newsgroups gmane.comp.video.freevo.devel
Message-ID <[email protected]>
2009/9/1 Adam Charrett <[email protected]>:
> Just an oversight on my part, the new code doesn't use the code is osd.py
> so didn't check the OSD_FORCE_FONTNAME variable, I look into fixing this.
>

Adam, TIA for your hard working.
The highlighted buttons with color change look very nice.

Besides the shutdown dialog, I have a feeling that
the start-up messages would not allow non-ANSI characters neither.

It's not a problem since the start-up message is just
"Starting Freevo-1.9.0,please wait...".
But as I've modified the "base.fxd", I'd have to either hard-link or
copy the big fat
chinese font (odosung.ttc) under share/freevo/fonts/,
otherwise freevo won't start, the error is:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/freevo/main.py", line 520, in <module>
    dialog.init()
  File "/usr/lib/python2.6/site-packages/freevo/dialog/__init__.py",
line 72, in init
    skins.osd.xml.load(config.DIALOG_SKIN_XML_FILE)
  File "/usr/lib/python2.6/site-packages/freevo/skins/osd/xml.py",
line 415, in load
    prepare_fonts()
  File "/usr/lib/python2.6/site-packages/freevo/skins/osd/xml.py",
line 320, in prepare_fonts
    font.instantiate()
  File "/usr/lib/python2.6/site-packages/freevo/skins/osd/xml.py",
line 273, in instantiate
    self.font = imlib2.load_font(self.name, self.size)
  File "/usr/lib/python2.6/site-packages/kaa/imlib2/__init__.py", line
133, in load_font
    return Font(font + "/" + str(size))
  File "/usr/lib/python2.6/site-packages/kaa/imlib2/font.py", line 74,
in __init__
    self._font = _Imlib2.load_font(fontdesc)
IOError: Couldn't open font: odosung.ttc/24


As I've said, this is not serious at all, just for your reference.

XiouXin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.