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:
2c93f0d
)
[subset] Add HB_NO_SUBSET_CFF
author
Behdad Esfahbod
<behdad@behdad.org>
Sat, 11 May 2019 06:36:42 +0000
(23:36 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sat, 11 May 2019 06:36:42 +0000
(23:36 -0700)
Doesn't fully prune all the relevant code. To be fixed later.
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
src/hb-subset.cc
patch
|
blob
|
history
diff --git
a/src/hb-subset.cc
b/src/hb-subset.cc
index
aa6934b
..
a8ec14f
100644
(file)
--- a/
src/hb-subset.cc
+++ b/
src/hb-subset.cc
@@
-196,6
+196,8
@@
_subset_table (hb_subset_plan_t *plan,
case HB_OT_TAG_post:
result = _subset<const OT::post> (plan);
break;
+
+#ifndef HB_NO_SUBSET_CFF
case HB_OT_TAG_cff1:
result = _subset<const OT::cff1> (plan);
break;
@@
-205,6
+207,7
@@
_subset_table (hb_subset_plan_t *plan,
case HB_OT_TAG_VORG:
result = _subset<const OT::VORG> (plan);
break;
+#endif
#ifndef HB_NO_SUBSET_LAYOUT
case HB_OT_TAG_GDEF: