Logo Search packages:      
Sourcecode: khmerconverter version File versions  Download package

def khmerconverter v.1.4::modules::FontDataXML::FontData::defaultFont (   self,
  fonttype 
)
return default font name according to fontname

Definition at line 110 of file FontDataXML.py.

                                   :
        """return default font name according to fontname"""
        if not FontData.fontElements.has_key(fonttype):
            return fonttype
        element = FontData.fontElements[fonttype]
        fontname = element.getAttribute("default")
        if (fontname):
            return fontname
        return fonttype


Generated by  Doxygen 1.6.0   Back to index