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:
c73d7ba
)
Fix -Wunused-function on HB_NO_SHAPE_AAT
author
Ebrahim Byagowi
<ebrahim@gnu.org>
Tue, 14 May 2019 11:28:51 +0000
(15:58 +0430)
committer
GitHub
<noreply@github.com>
Tue, 14 May 2019 11:28:51 +0000
(15:58 +0430)
We should add a bot for it
Part of #1652
src/hb-ot-shape.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-shape.cc
b/src/hb-ot-shape.cc
index
89de008
..
c63c3ad
100644
(file)
--- a/
src/hb-ot-shape.cc
+++ b/
src/hb-ot-shape.cc
@@
-55,6
+55,7
@@
hb_ot_shape_collect_features (hb_ot_shape_planner_t *planner,
const hb_feature_t *user_features,
unsigned int num_user_features);
+#ifndef HB_NO_SHAPE_AAT
static inline bool
_hb_apply_morx (hb_face_t *face)
{
@@
-69,6
+70,7
@@
_hb_apply_morx (hb_face_t *face)
0, nullptr, nullptr)) &&
hb_aat_layout_has_substitution (face);
}
+#endif
hb_ot_shape_planner_t::hb_ot_shape_planner_t (hb_face_t *face,
const hb_segment_properties_t *props) :