# Path: PyDvi/Tools/Logging.py
# def print_card(text, **kwargs):
# 
#     """ Print the string *text* formated by :meth:`format_card`.  The remaining keyword arguments
#     *kwargs* are passed to :meth:`format_card`.
#     """
#     
#     print format_card(text, **kwargs)


import string
from ..Tools.Logging import print_card
            return char
        else:
            return self.char_code

    ##############################################

    def print_summary(self):

        string_format = '''TFM Char %u %s
 - width             %.3f
 - height            %.3f
 - depth             %.3f
 - italic correction %.3f
 - lig kern program index %s
 - next larger char       %s'''

        message = string_format % (self.char_code, self.chr(),
                                   self.width,
                                   self.height,
                                   self.depth,
                                   self.italic_correction,
                                   str(self.lig_kern_program_index),
                                   str(self.next_larger_char),
                                   )

        first_lig_kern = self.get_lig_kern_program()
        if first_lig_kern is not None:
            for lig_kern in first_lig_kern:
                message += '\n' + str(lig_kern)


# Path: PyDvi/Tools/Logging.py
# def print_card(text, **kwargs):
# 
#     """ Print the string *text* formated by :meth:`format_card`.  The remaining keyword arguments
#     *kwargs* are passed to :meth:`format_card`.
#     """
#     
#     print format_card(text, **kwargs)


# Path: PyDvi/Font/Tfm.py
import string
from ..Tools.Logging import print_card

            return char
        else:
            return self.char_code

    ##############################################

    def print_summary(self):

        string_format = '''TFM Char %u %s
 - width             %.3f
 - height            %.3f
 - depth             %.3f
 - italic correction %.3f
 - lig kern program index %s
 - next larger char       %s'''

        message = string_format % (self.char_code, self.chr(),
                                   self.width,
                                   self.height,
                                   self.depth,
                                   self.italic_correction,
                                   str(self.lig_kern_program_index),
                                   str(self.next_larger_char),
                                   )

        first_lig_kern = self.get_lig_kern_program()
        if first_lig_kern is not None:
            for lig_kern in first_lig_kern:
                message += '\n' + str(lig_kern)


        print_card(message)