From dd810b76bc554278d3a226cf89901d16992cf56d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 29 Aug 2007 08:46:50 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20302952=20=E2=80=93=20The=20placement=20of?= =?UTF-8?q?=20a=20diacritic=20marks=20for=20an=20arabic=20ligature?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2007-08-29 Behdad Esfahbod Bug 302952 – The placement of a diacritic marks for an arabic ligature is not correct * pango/opentype/harfbuzz-buffer.c (hb_buffer_allocate_ligid): Don't use zero as allocated ligature id. Zero means no ligature id. --- src/harfbuzz-buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/harfbuzz-buffer.c b/src/harfbuzz-buffer.c index 3d233b4ab..40a7d2b82 100644 --- a/src/harfbuzz-buffer.c +++ b/src/harfbuzz-buffer.c @@ -223,5 +223,5 @@ hb_buffer_copy_output_glyph ( HB_Buffer buffer ) FT_UShort hb_buffer_allocate_ligid( HB_Buffer buffer ) { - return buffer->max_ligID++; + return ++buffer->max_ligID; }