projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ddbfa0
)
Add HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 12 Apr 2019 13:35:29 +0000
(09:35 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 12 Apr 2019 13:35:29 +0000
(09:35 -0400)
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
src/hb-ot-shape-complex-thai.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-shape-complex-thai.cc
b/src/hb-ot-shape-complex-thai.cc
index
650c980
..
130ea1c
100644
(file)
--- a/
src/hb-ot-shape-complex-thai.cc
+++ b/
src/hb-ot-shape-complex-thai.cc
@@
-218,6
+218,10
@@
do_thai_pua_shaping (const hb_ot_shape_plan_t *plan HB_UNUSED,
hb_buffer_t *buffer,
hb_font_t *font)
{
+#if defined(HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK)
+ return;
+#endif
+
thai_above_state_t above_state = thai_above_start_state[NOT_CONSONANT];
thai_below_state_t below_state = thai_below_start_state[NOT_CONSONANT];
unsigned int base = 0;