mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -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:
|
||||
report(_('The font %s was already subset')%font_name)
|
||||
else:
|
||||
report(_('Decreased the font %s to %.1f%% of its original size')%
|
||||
(font_name, nlen/olen * 100))
|
||||
report(_('Decreased the font {0} to {1:.1f}% of its original size').format(
|
||||
font_name, nlen/olen * 100))
|
||||
changed = True
|
||||
f.seek(0), f.truncate(), f.write(nraw)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user