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

def odf::odf2xhtml::ODF2XHTML::s_style_font_face (   self,
  tag,
  attrs 
)

It is possible that the HTML browser doesn't know how to
    show a particular font. Luckily ODF provides generic fallbacks
    Unluckily they are not the same as CSS2.
    CSS2: serif, sans-serif, cursive, fantasy, monospace
    ODF: roman, swiss, modern, decorative, script, system

Definition at line 713 of file odf2xhtml.py.

00713                                            :
        """ It is possible that the HTML browser doesn't know how to
            show a particular font. Luckily ODF provides generic fallbacks
            Unluckily they are not the same as CSS2.
            CSS2: serif, sans-serif, cursive, fantasy, monospace
            ODF: roman, swiss, modern, decorative, script, system
        """
        name = attrs[(STYLENS,"name")]
        family = attrs[(SVGNS,"font-family")]
        generic = attrs.get( (STYLENS,'font-family-generic'),"" )
        self.cs.save_font(name, family, generic)

    def s_style_page_layout(self, tag, attrs):


Generated by  Doxygen 1.6.0   Back to index