[varc] Mark as experimental feature with HB_NO_VAR_COMPOSITES

This commit is contained in:
Behdad Esfahbod committed 2022-12-09 18:59:43 -07:00
1 parent 82b4f3791e
commit 5cf0b9ae7d
2 files changed
+5

No files matched your search

+4
View File
@@ -236,11 +236,13 @@ struct Glyph
if (unlikely (!points.resize (num_points))) return false;
break;
}
#ifndef HB_NO_VAR_COMPOSITES
case VAR_COMPOSITE:
{
for (auto &item : get_var_composite_iterator ())
if (unlikely (!item.get_points (points))) return false;
}
#endif
default:
break;
}
@@ -357,6 +359,7 @@ struct Glyph
all_points.extend (phantoms);
} break;
#ifndef HB_NO_VAR_COMPOSITES
case VAR_COMPOSITE:
{
contour_point_vector_t comp_points;
@@ -396,6 +399,7 @@ struct Glyph
}
all_points.extend (phantoms);
} break;
#endif
default:
all_points.extend (phantoms);
break;
+1
View File
@@ -37,6 +37,7 @@
#ifndef HB_EXPERIMENTAL
#define HB_NO_BEYOND_64K
#define HB_NO_VAR_COMPOSITES
#endif
#ifdef HB_TINY