# 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 math
import numpy as np
from ..TeXUnit import *
from ..Tools.Logging import print_card
        for y in xrange(self.height):
            line = ''
            for x in xrange(self.width):
                if glyph_bitmap[y,x]:
                    line += 'x'
                else:
                    line += ' '
            print '%3u |%s|' % (y, line)

        print axis
        print_label_axis()

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

    def print_summary(self):

        string_format = ''' Char %u
 - TFM width: %.3f * design size
              %.1f pt
              %.1f mm
 - dm:                %3u px
 - dx:                %3u px
 - dy:                %3u px
 - Height:            %3u px
 - Width:             %3u px
 - Horizontal Offset: %3u px
 - Vertical Offset:   %3u px
'''
        width = self.get_scaled_width(self.pk_font.design_font_size)


# 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/PkGlyph.py
import math
import numpy as np
from ..TeXUnit import *
from ..Tools.Logging import print_card

        for y in xrange(self.height):
            line = ''
            for x in xrange(self.width):
                if glyph_bitmap[y,x]:
                    line += 'x'
                else:
                    line += ' '
            print '%3u |%s|' % (y, line)

        print axis
        print_label_axis()

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

    def print_summary(self):

        string_format = ''' Char %u
 - TFM width: %.3f * design size
              %.1f pt
              %.1f mm
 - dm:                %3u px
 - dx:                %3u px
 - dy:                %3u px
 - Height:            %3u px
 - Width:             %3u px
 - Horizontal Offset: %3u px
 - Vertical Offset:   %3u px
'''
        width = self.get_scaled_width(self.pk_font.design_font_size)


        print_card(string_format % (