From 8fd83aaf6e50c2c25002c51fee26d82847a61769 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 11 May 2012 17:18:37 +0200 Subject: [PATCH] [GSUB/GPOS] Fix wrong buffer access in backward skippy mask matching --- src/hb-ot-layout-gsubgpos-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh index 03a561a..77dc704 100644 --- a/src/hb-ot-layout-gsubgpos-private.hh +++ b/src/hb-ot-layout-gsubgpos-private.hh @@ -200,7 +200,7 @@ struct hb_apply_context_t idx--; } while (_hb_ot_layout_skip_mark (c->face, &c->buffer->out_info[idx], lookup_props, property_out)); num_items--; - return !!(c->buffer->info[idx].mask & mask); + return !!(c->buffer->out_info[idx].mask & mask); } inline bool prev (unsigned int *property_out = NULL) { -- 2.7.4