On Jun 17, 2008, at 6:15 PM, Nate Lowrie wrote:

> on this system.") % val
> dabo.dException.FontNotFoundException: The font 'MS Shell Dlg 2'  
> doesn't exist o
> n this system.
>
> Note I created and saved the file on the same system I got the error.

        I looked into the dFont code, and found one of those pesky bare  
excepts. Can you replace the 'trySetFont()' method with the following  
debug code, repeat the steps you took to get the above error, and post  
the output?

                def trySetFont(val):
                        if val in availableFonts:
                                try:
                                        return self._nativeFont.SetFaceName(val)
                                except StandardError, e:
                                        print "FONT ERR:", e
                                        return False
                        return False


-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to