[HarfBuzz] harfbuzz: Branch 'master' - 2 commits

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Mar 27 02:55:40 UTC 2018


 src/check-symbols.sh    |    2 --
 src/hb-ot-hdmx-table.hh |    2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 6f46883f5b74b206a3b77246891ab2ac57a27c4e
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Mar 26 19:55:22 2018 -0700

    [hdmx] Minor

diff --git a/src/hb-ot-hdmx-table.hh b/src/hb-ot-hdmx-table.hh
index 8df99576..6ad57af2 100644
--- a/src/hb-ot-hdmx-table.hh
+++ b/src/hb-ot-hdmx-table.hh
@@ -134,7 +134,7 @@ struct hdmx
   inline const DeviceRecord& operator [] (unsigned int i) const
   {
     if (unlikely (i >= num_records)) return Null(DeviceRecord);
-    return StructAtOffset<DeviceRecord> (this, min_size + i * size_device_record);
+    return StructAtOffset<DeviceRecord> (this->data, i * size_device_record);
   }
 
   inline bool serialize (hb_serialize_context_t *c, const hdmx *source_hdmx, hb_subset_plan_t *plan)
commit c589681926e50834bdc614479efced7382dfbf61
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Mar 26 19:55:16 2018 -0700

    Minor

diff --git a/src/check-symbols.sh b/src/check-symbols.sh
index bfc93b34..d4eca507 100755
--- a/src/check-symbols.sh
+++ b/src/check-symbols.sh
@@ -30,7 +30,6 @@ for soname in harfbuzz harfbuzz-subset harfbuzz-icu harfbuzz-gobject; do
 
 		prefix=$symprefix`basename "$so" | sed 's/libharfbuzz/hb/; s/-/_/g; s/[.].*//'`
 
-		echo
 		echo "Checking that $so does not expose internal symbols"
 		if echo "$EXPORTED_SYMBOLS" | grep -v "^${prefix}\(_\|$\)"; then
 			echo "Ouch, internal symbols exposed"
@@ -41,7 +40,6 @@ for soname in harfbuzz harfbuzz-subset harfbuzz-icu harfbuzz-gobject; do
 		if ! test -f "$def"; then
 			echo "'$def' not found; skipping"
 		else
-			echo
 			echo "Checking that $so has the same symbol list as $def"
 			{
 				echo EXPORTS


More information about the HarfBuzz mailing list