From 290cef39bed5fcc05e3a424ce05b1797507a0a03 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 21 Apr 2023 12:22:30 -0600 Subject: [PATCH] [glyf] When instancing, just spew empty VarComposites Before we were dropping the entire glyf table. --- src/OT/glyf/Glyph.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OT/glyf/Glyph.hh b/src/OT/glyf/Glyph.hh index 6346b8c04..c9c0de45e 100644 --- a/src/OT/glyf/Glyph.hh +++ b/src/OT/glyf/Glyph.hh @@ -240,7 +240,8 @@ struct Glyph #ifndef HB_NO_VAR_COMPOSITES case VAR_COMPOSITE: // TODO - return false; + dest_end = hb_bytes_t (); + break; #endif case COMPOSITE: