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:
eb8bd2f
)
[metrics] Don't use metrics API in _common
author
Ebrahim Byagowi
<ebrahim@gnu.org>
Sun, 21 Jul 2019 21:36:07 +0000
(
02:06
+0430)
committer
GitHub
<noreply@github.com>
Sun, 21 Jul 2019 21:36:07 +0000
(
02:06
+0430)
As it is exposed with a different condition
src/hb-ot-metrics.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-metrics.cc
b/src/hb-ot-metrics.cc
index
1f2402b
..
0aedc92
100644
(file)
--- a/
src/hb-ot-metrics.cc
+++ b/
src/hb-ot-metrics.cc
@@
-56,7
+56,7
@@
hb_ot_metrics_get_position_common (hb_font_t *font,
switch ((unsigned int) metrics_tag)
{
#ifndef HB_NO_VAR
switch ((unsigned int) metrics_tag)
{
#ifndef HB_NO_VAR
-#define GET_VAR
hb_ot_metrics_get_variation (face, metrics_tag
)
+#define GET_VAR
face->table.MVAR->get_var (metrics_tag, nullptr, 0
)
#else
#define GET_VAR .0f
#endif
#else
#define GET_VAR .0f
#endif