Index: third_party/harfbuzz/src/harfbuzz-shaper.h |
diff --git a/third_party/harfbuzz/src/harfbuzz-shaper.h b/third_party/harfbuzz/src/harfbuzz-shaper.h |
index f7c7714743772014fd0374d1169ba089107d3503..0bdf3ecd3f4b58ff64ed46cd09defa43f0a869cd 100644 |
--- a/third_party/harfbuzz/src/harfbuzz-shaper.h |
+++ b/third_party/harfbuzz/src/harfbuzz-shaper.h |
@@ -154,7 +154,11 @@ typedef enum { |
typedef enum { |
HB_ShaperFlag_Default = 0, |
HB_ShaperFlag_NoKerning = 1, |
- HB_ShaperFlag_UseDesignMetrics = 2 |
+ HB_ShaperFlag_UseDesignMetrics = 1 << 1, |
+ /* Arabic vowels in some fonts (Times New Roman, at least) have |
+ non-zero advances, when they should be zero. Setting this shaper |
+ flag causes us to zero out the advances for mark glyphs. */ |
+ HB_ShaperFlag_ArabicHack = 1 << 2 |
} HB_ShaperFlag; |
/* |