[HarfBuzz] harfbuzz: Branch 'stable'

Simon Hausmann hausmann at kemper.freedesktop.org
Sat Sep 1 23:35:08 PDT 2007


 src/harfbuzz-buffer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 62f22c9c2a386e02477eaf2ffa9fb26fd70ec410 (from 8dd0a6c211b32705af991a93fe15803d5bd5d921)
Author: Behdad Esfahbod   <behdad at gnome.org>
Date:   Sun Sep 2 08:33:04 2007 +0200

    Fix placement of a diacritic marks for an arabic ligature is not correct
    
    This one fixing issue that first ligature in a line was having wrong
    mark attachments.  I was debugging a bigger problem with mark
    attachments, that's ongoing.
    
    http://bugzilla.gnome.org/show_bug.cgi?id=302952 (fixed)
    
    http://bugzilla.gnome.org/show_bug.cgi?id=437633 (not fixed yet)
    
    2007-08-29  Behdad Esfahbod  <behdad at 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.

diff --git a/src/harfbuzz-buffer.c b/src/harfbuzz-buffer.c
index 3d233b4..40a7d2b 100644
--- a/src/harfbuzz-buffer.c
+++ b/src/harfbuzz-buffer.c
@@ -223,5 +223,5 @@ hb_buffer_copy_output_glyph ( HB_Buffer 
 FT_UShort
 hb_buffer_allocate_ligid( HB_Buffer buffer )
 {
-  return buffer->max_ligID++;
+  return ++buffer->max_ligID;
 }



More information about the HarfBuzz mailing list