diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-10-19 09:58:45 -0700 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-10-19 10:17:02 -0700 |
commit | 2352cc3539b2e58d0481cdb8b9cd48cbc09a778e (patch) | |
tree | 456fda21f36d8b1103e5e9196b21a204b603100e | |
parent | 114f66dda6a07d61b5e64da5c44b05db7aa51cc9 (diff) | |
download | harfbuzz_ng-2352cc3539b2e58d0481cdb8b9cd48cbc09a778e.tar.gz |
[kerx] Whitespace
-rw-r--r-- | src/hb-aat-layout-kerx-table.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index c09a6d310..9727e3964 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -143,12 +143,12 @@ struct KerxSubTableFormat1 if (flags & Reset) { - depth = 0; + depth = 0; } if (flags & Push) { - if (likely (depth < ARRAY_LENGTH (stack))) + if (likely (depth < ARRAY_LENGTH (stack))) stack[depth++] = buffer->idx; else depth = 0; /* Probably not what CoreText does, but better? */ @@ -157,14 +157,14 @@ struct KerxSubTableFormat1 if (entry->data.kernActionIndex != 0xFFFF) { const FWORD *actions = &kernAction[entry->data.kernActionIndex]; - if (!c->sanitizer.check_array (actions, depth)) + if (!c->sanitizer.check_array (actions, depth)) { depth = 0; return false; } hb_mask_t kern_mask = c->plan->kern_mask; - for (unsigned int i = 0; i < depth; i++) + for (unsigned int i = 0; i < depth; i++) { /* Apparently, when spec says "Each pops one glyph from the kerning stack * and applies the kerning value to it.", it doesn't mean it in that order. |