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:
e655fd3
)
[kern] Minor
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 10 Oct 2018 14:18:39 +0000
(10:18 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 10 Oct 2018 14:19:07 +0000
(10:19 -0400)
src/hb-ot-shape-fallback.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-shape-fallback.cc
b/src/hb-ot-shape-fallback.cc
index
62104b3
..
655f45c
100644
(file)
--- a/
src/hb-ot-shape-fallback.cc
+++ b/
src/hb-ot-shape-fallback.cc
@@
-460,7
+460,9
@@
_hb_ot_shape_fallback_kern (const hb_ot_shape_plan_t *plan,
hb_font_t *font,
hb_buffer_t *buffer)
{
- if (!font->has_glyph_h_kerning_func () && !font->has_glyph_v_kerning_func ())
+ if (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction) ?
+ !font->has_glyph_h_kerning_func () :
+ !font->has_glyph_v_kerning_func ())
return;
hb_ot_shape_fallback_kern_driver_t driver (font, buffer);
hb_kern_machine_t<hb_ot_shape_fallback_kern_driver_t> machine (driver);