aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2014-05-01 15:16:14 -0700
committerBehdad Esfahbod <behdad@behdad.org>2014-05-01 15:16:14 -0700
commitf09164a0de9882c62f783ad608882db25626541a (patch)
treeeb1992a33d2680339d87390d7f292a01217f1f5e
parent497863a190b70a51e9f6c8013e19e2424a69acfb (diff)
downloadfonttools-f09164a0de9882c62f783ad608882db25626541a.tar.gz
[subset] Don't recalculate "modified" timestamp
To recalculate (which was the default before), use --recalc-timestamp Fixes https://github.com/behdad/fonttools/issues/115
-rw-r--r--Lib/fontTools/subset.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/fontTools/subset.py b/Lib/fontTools/subset.py
index f99d430a..f65a5a36 100644
--- a/Lib/fontTools/subset.py
+++ b/Lib/fontTools/subset.py
@@ -1824,6 +1824,7 @@ class Options(object):
notdef_outline = False # No need for notdef to have an outline really
recommended_glyphs = False # gid1, gid2, gid3 for TrueType
recalc_bounds = False # Recalculate font bounding boxes
+ recalc_timestamp = False # Recalculate font modified timestamp
canonical_order = False # Order tables as recommended
flavor = None # May be 'woff'
@@ -2113,6 +2114,7 @@ def load_font(fontFile,
allowVID=allowVID,
checkChecksums=checkChecksums,
recalcBBoxes=options.recalc_bounds,
+ recalcTimestamp=options.recalc_timestamp,
lazy=lazy)
# Hack: