This commit is contained in:
Kovid Goyal 2018-11-21 20:02:07 +05:30
parent 01c47148e9
commit 2a26bb7be4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -199,7 +199,7 @@ def option_parser():
parser.add_option('-c', '--codes', default=False, action='store_true', parser.add_option('-c', '--codes', default=False, action='store_true',
help='If specified, the list of characters is interpreted as ' help='If specified, the list of characters is interpreted as '
'numeric unicode codes instead of characters. So to specify the ' 'numeric unicode codes instead of characters. So to specify the '
'characters a,b you would use 97,98') 'characters a,b you would use 97,98 or U+0061,U+0062')
parser.prog = 'subset-font' parser.prog = 'subset-font'
return parser return parser
@ -281,6 +281,7 @@ def main(args):
f.write(sf) f.write(sf)
prints('Subset font written to:', off) prints('Subset font written to:', off)
if __name__ == '__main__': if __name__ == '__main__':
try: try:
import init_calibre import init_calibre
@ -370,5 +371,3 @@ def all():
# }}} # }}}