src/reportlab/lib/fonts.py
branchpy33
changeset 3723 99aa837b6703
parent 3721 0c93dd8ff567
child 4128 309d3bc30482
equal deleted inserted replaced
3722:29c11b905751 3723:99aa837b6703
    61             ('zapfdingbats', 0, 1) :'ZapfDingbats',
    61             ('zapfdingbats', 0, 1) :'ZapfDingbats',
    62             ('zapfdingbats', 1, 1) :'ZapfDingbats',
    62             ('zapfdingbats', 1, 1) :'ZapfDingbats',
    63             }
    63             }
    64 
    64 
    65 _ps2tt_map={}
    65 _ps2tt_map={}
    66 for k,v in list(_tt2ps_map.items()):
    66 for k,v in _tt2ps_map.items():
    67     if k not in _ps2tt_map:
    67     if k not in _ps2tt_map:
    68         _ps2tt_map[v.lower()] = k
    68         _ps2tt_map[v.lower()] = k
    69 
    69 
    70 def ps2tt(psfn):
    70 def ps2tt(psfn):
    71     'ps fontname to family name, bold, italic'
    71     'ps fontname to family name, bold, italic'