[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Mar 26 08:14:40 UTC 2018


 src/hb-aat-layout-ltag-table.hh |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

New commits:
commit a289aaff477dfbda25b90ba5ffb1296518d68d21
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Mar 26 01:14:07 2018 -0700

    [aat/ltag] Whitespace

diff --git a/src/hb-aat-layout-ltag-table.hh b/src/hb-aat-layout-ltag-table.hh
index 62eaf203..81ada383 100644
--- a/src/hb-aat-layout-ltag-table.hh
+++ b/src/hb-aat-layout-ltag-table.hh
@@ -37,14 +37,13 @@ struct FTStringRange
   inline bool sanitize (hb_sanitize_context_t *c, const void *base) const
   {
     TRACE_SANITIZE (this);
-    return_trace (c->check_struct (this) &&
-      tag (base).sanitize (c, length));
+    return_trace (c->check_struct (this) && tag (base).sanitize (c, length));
   }
 
   protected:
   OffsetTo<UnsizedArrayOf<HBUINT8> >
 		tag;	/* Offset from the start of the table to
-			   the beginning of the string */
+			 * the beginning of the string */
   HBUINT16	length;	/* String length (in bytes) */
   public:
   DEFINE_SIZE_STATIC (4);
@@ -61,15 +60,14 @@ struct ltag
   inline bool sanitize (hb_sanitize_context_t *c) const
   {
     TRACE_SANITIZE (this);
-    return_trace (c->check_struct (this) &&
-      tagRanges.sanitize (c, this));
+    return_trace (c->check_struct (this) && tagRanges.sanitize (c, this));
   }
 
   protected:
-  HBUINT32	version;/* Table version; currently 1 */
-  HBUINT32	flags;	/* Table flags; currently none defined */
+  HBUINT32	version;	/* Table version; currently 1 */
+  HBUINT32	flags;		/* Table flags; currently none defined */
   ArrayOf<FTStringRange, HBUINT32>
-  	tagRanges;	/* Range for each tag's string */
+		tagRanges;	/* Range for each tag's string */
   public:
   DEFINE_SIZE_ARRAY (12, tagRanges);
 };


More information about the HarfBuzz mailing list