summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-08-29 08:46:50 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-08-29 08:46:50 +0000
commit95831e0e8ea1bd3974ef08a3f53610592d1a3c63 (patch)
tree0fdb881ef445ace46892fe67553e4dbfb7d77b45
parent1fd52a7891ee85180d6f64e6aeb660d0ab473a99 (diff)
downloadpango-95831e0e8ea1bd3974ef08a3f53610592d1a3c63.tar.gz
Bug 302952 – The placement of a diacritic marks for an arabic ligature
2007-08-29 Behdad Esfahbod <behdad@gnome.org> 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. svn path=/trunk/; revision=2418
-rw-r--r--ChangeLog8
-rw-r--r--pango/opentype/harfbuzz-buffer.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ff40a50e..5a2c2064 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-08-29 Behdad Esfahbod <behdad@gnome.org>
+
+ 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.
+
2007-08-28 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot-ruleset.c (pango_ot_ruleset_init),
diff --git a/pango/opentype/harfbuzz-buffer.c b/pango/opentype/harfbuzz-buffer.c
index 3d233b4a..40a7d2b8 100644
--- a/pango/opentype/harfbuzz-buffer.c
+++ b/pango/opentype/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;
}