[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Fri Oct 19 18:03:38 UTC 2018


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

New commits:
commit 79b63561552bdfe8dc67a450d740fda8802486ad
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Fri Oct 19 11:00:20 2018 -0700

    [trak] Fix extrapolation at end side

diff --git a/src/hb-aat-layout-trak-table.hh b/src/hb-aat-layout-trak-table.hh
index 4b4bc2ff..16729d16 100644
--- a/src/hb-aat-layout-trak-table.hh
+++ b/src/hb-aat-layout-trak-table.hh
@@ -136,7 +136,7 @@ struct TrackData
     /* TODO bfind() */
     hb_array_t<Fixed> size_table ((base+sizeTable).arrayZ, sizes);
     unsigned int size_index;
-    for (size_index = 0; size_index < sizes; size_index++)
+    for (size_index = 0; size_index < sizes - 1; size_index++)
       if (size_table[size_index].to_float () >= csspx)
         break;
 


More information about the HarfBuzz mailing list