mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
01c47148e9
commit
2a26bb7be4
@ -199,7 +199,7 @@ def option_parser():
|
||||
parser.add_option('-c', '--codes', default=False, action='store_true',
|
||||
help='If specified, the list of characters is interpreted as '
|
||||
'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'
|
||||
return parser
|
||||
|
||||
@ -281,6 +281,7 @@ def main(args):
|
||||
f.write(sf)
|
||||
prints('Subset font written to:', off)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
import init_calibre
|
||||
@ -370,5 +371,3 @@ def all():
|
||||
|
||||
|
||||
# }}}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user