[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Nov 8 02:58:51 UTC 2018


 src/hb-aat-layout.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 15326826bf20f1f3d5ef3ddde2ad17b0ccbfa605
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Nov 7 21:58:04 2018 -0500

    [aat] Ignore cross-stream offset of deleted-glyphs
    
    I think it makes sense to accumulate it, but Ned tells me that's
    what CoreText does.

diff --git a/src/hb-aat-layout.cc b/src/hb-aat-layout.cc
index b3b56c08..74d52689 100644
--- a/src/hb-aat-layout.cc
+++ b/src/hb-aat-layout.cc
@@ -232,7 +232,7 @@ hb_aat_layout_zero_width_deleted_glyphs (hb_buffer_t *buffer)
   hb_glyph_position_t *pos = buffer->pos;
   for (unsigned int i = 0; i < count; i++)
     if (unlikely (info[i].codepoint == AAT::DELETED_GLYPH))
-      pos[i].x_advance = pos[i].y_advance = 0;
+      pos[i].x_advance = pos[i].y_advance = pos[i].x_offset = pos[i].y_offset = 0;
 }
 
 static bool


More information about the HarfBuzz mailing list