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:
b1a2384
)
[config] Disable hb-ot-font code if HB_NO_OT_FONT
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 20 Jun 2019 01:32:40 +0000
(18:32 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 20 Jun 2019 01:32:40 +0000
(18:32 -0700)
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
src/hb-ot-font.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-font.cc
b/src/hb-ot-font.cc
index
0707a2f
..
5895c7b
100644
(file)
--- a/
src/hb-ot-font.cc
+++ b/
src/hb-ot-font.cc
@@
-26,6
+26,8
@@
#include "hb.hh"
+#ifndef HB_NO_OT_FONT
+
#include "hb-ot.h"
#include "hb-font.hh"
@@
-317,3
+319,6
@@
hb_ot_font_set_funcs (hb_font_t *font)
&font->face->table,
nullptr);
}
+
+
+#endif