diff options
author | Elliott Hughes <enh@google.com> | 2018-10-30 14:11:58 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-11-05 12:18:33 -0800 |
commit | 69c9acab6a81c7bce36329972332cdbd0d11f449 (patch) | |
tree | 34a739b3dd0e612719459f0e5da542200be4c5fe /Lib/fontTools/ttLib/woff2.py | |
parent | 467aa0fba5e99b4bcc2651a15843d5b37e7929c1 (diff) | |
download | fonttools-69c9acab6a81c7bce36329972332cdbd0d11f449.tar.gz |
Upgrade fonttools from 3.28.0 to 3.31.0.android-wear-8.0.0_r2android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7android-n-iot-release-ihome-igv1nougat-iot-release
Ran `tools/external_updater/updater.sh update fonttools`.
Bug: N/A
Test: builds
Change-Id: I59a0dfbf4585d3a95d2120d49730321b84c884ff
Diffstat (limited to 'Lib/fontTools/ttLib/woff2.py')
-rw-r--r-- | Lib/fontTools/ttLib/woff2.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/fontTools/ttLib/woff2.py b/Lib/fontTools/ttLib/woff2.py index 1952682c..c0c0e704 100644 --- a/Lib/fontTools/ttLib/woff2.py +++ b/Lib/fontTools/ttLib/woff2.py @@ -582,8 +582,7 @@ class WOFF2LocaTable(getTableClass('loca')): locations.append(self.locations[i] // 2) else: locations = array.array("I", self.locations) - if sys.byteorder != "big": - locations.byteswap() + if sys.byteorder != "big": locations.byteswap() data = locations.tostring() else: # use the most compact indexFormat given the current glyph offsets @@ -627,8 +626,7 @@ class WOFF2GlyfTable(getTableClass('glyf')): self.bboxStream = self.bboxStream[bboxBitmapSize:] self.nContourStream = array.array("h", self.nContourStream) - if sys.byteorder != "big": - self.nContourStream.byteswap() + if sys.byteorder != "big": self.nContourStream.byteswap() assert len(self.nContourStream) == self.numGlyphs if 'head' in ttFont: |