[hvgl] Hook up to face

This commit is contained in:
Behdad Esfahbod committed 2025-03-02 16:56:38 -07:00
1 parent a438ea6252
commit a391ccf5bf
2 files changed
+7 -3

No files matched your search

+4 -3
View File
@@ -16,7 +16,7 @@ namespace AAT {
using namespace OT;
namespace hvgl {
namespace hvgl_impl {
struct coordinates_t
{
@@ -415,6 +415,8 @@ struct IndexOf : Index
using PartsIndex = IndexOf<Part>;
} // namespace hvgl_impl
struct hvgl
{
public:
@@ -425,7 +427,7 @@ struct hvgl
if (unlikely (!c->check_struct (this))) return_trace (false);
hb_barrier ();
const auto &parts = StructAtOffset<PartsIndex> (this, partsOff);
const auto &parts = StructAtOffset<hvgl_impl::PartsIndex> (this, partsOff);
if (unlikely (!parts.sanitize (c, (unsigned) partCount))) return_trace (false);
return_trace (true);
@@ -443,7 +445,6 @@ struct hvgl
DEFINE_SIZE_STATIC (24);
};
} // namespace hvgl
} // namespace AAT
#endif // HB_NO_VAR_HVF
+3
View File
@@ -132,6 +132,9 @@ HB_OT_TABLE (AAT, trak)
HB_OT_TABLE (AAT, ltag)
HB_OT_TABLE (AAT, feat)
// HB_OT_TABLE (AAT, opbd)
#ifndef HB_NO_VAR_HVF
HB_OT_CORE_TABLE (AAT, hvgl)
#endif
#endif
/* OpenType color fonts. */