mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-14 02:33:48 +01:00
...
This commit is contained in:
parent
d1bb088d88
commit
f48c2abb06
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue