From e86311e0ba87a26080b9c1faf3d62890ad9429cf Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 7 Apr 2021 15:52:02 -0700
Subject: [PATCH] Fixed inconsistent spaces vs tabs in harfbuzz python scripts
---
external/harfbuzz-2.8.0/src/gen-arabic-table.py | 2 +-
external/harfbuzz-2.8.0/src/gen-ucd-table.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/external/harfbuzz-2.8.0/src/gen-arabic-table.py b/external/harfbuzz-2.8.0/src/gen-arabic-table.py
index 621d5b6..0f6d84d 100755
--- a/external/harfbuzz-2.8.0/src/gen-arabic-table.py
+++ b/external/harfbuzz-2.8.0/src/gen-arabic-table.py
@@ -199,7 +199,7 @@ def print_shaping_table(f):
min_u, max_u = min (keys), max (keys)
for u in range (min_u, max_u + 1):
s = [shapes[u][shape] if u in shapes and shape in shapes[u] else 0
- for shape in ['initial', 'medial', 'final', 'isolated']]
+ for shape in ['initial', 'medial', 'final', 'isolated']]
value = ', '.join ("0x%04Xu" % c for c in s)
print (" {%s}, /* U+%04X %s */" % (value, u, names[u] if u in names else ""))
diff --git a/external/harfbuzz-2.8.0/src/gen-ucd-table.py b/external/harfbuzz-2.8.0/src/gen-ucd-table.py
index 35fba2d..9ed8fd5 100755
--- a/external/harfbuzz-2.8.0/src/gen-ucd-table.py
+++ b/external/harfbuzz-2.8.0/src/gen-ucd-table.py
@@ -11,7 +11,7 @@
logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO)
if len (sys.argv) not in (2, 3):
- sys.exit (__doc__)
+ sys.exit (__doc__)
# https://github.com/harfbuzz/packtab
import packTab