mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d1bb088d88
commit
f48c2abb06
@ -74,8 +74,8 @@ def subset_all_fonts(container, font_stats, report):
|
|||||||
if nlen == olen:
|
if nlen == olen:
|
||||||
report(_('The font %s was already subset')%font_name)
|
report(_('The font %s was already subset')%font_name)
|
||||||
else:
|
else:
|
||||||
report(_('Decreased the font %s to %.1f%% of its original size')%
|
report(_('Decreased the font {0} to {1:.1f}% of its original size').format(
|
||||||
(font_name, nlen/olen * 100))
|
font_name, nlen/olen * 100))
|
||||||
changed = True
|
changed = True
|
||||||
f.seek(0), f.truncate(), f.write(nraw)
|
f.seek(0), f.truncate(), f.write(nraw)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user