HarfBuzz text shaping engine
Go to file
Behdad Esfahbod 4b8487d83e Fix the mystery bug!
A couple bugs joined forces to exhibit the mystery behavior of
crashes / infinite loops on OS X / wrong kerning / invalid memory
access.  Pooh!

The bugs were involved:

  - Wrong pointer math with ValueRecord in PairPosFormat1

  - Fallout from avoiding flex arrays, code not correctly updated
    to remove sizeof() usage.

We strictly never use sizeof() directly now.  And the PairPos code
is cleaned up.  Should fix them all.  Bugs are:

  Bug 605655 - Pango 1.26.2 introduces kerning bug
  Bug 611229 - Pango reads from uninitialized memory
  Bug 593240 - (pangoosx) Crash / infinite loop with Mac OS X

We were also doing wrong math converting Device adjustments to
hb_position_t.  Fallout from FreeType days.  Should shift 16, not
6.  Fixed that too.

There's still another bug: we don't sanitize Device records
referenced from value records.  Fixing that also.
2010-04-21 01:41:29 -04:00
src Fix the mystery bug! 2010-04-21 01:41:29 -04:00
AUTHORS Add build system 2009-11-02 16:34:59 -05:00
COPYING Add build system 2009-11-02 16:34:59 -05:00
Makefile.am Distribute autogen.sh 2009-12-15 03:53:45 -05:00
NEWS Add build system 2009-11-02 16:34:59 -05:00
README Add build system 2009-11-02 16:34:59 -05:00
TODO [TODO] Add kern/GPOS interaction 2010-01-26 12:17:37 -05:00
autogen.sh Disable configure cache 2009-11-02 18:52:21 -05:00
configure.ac Fix compile with older FreeType 2009-12-20 23:05:02 +01:00
git.mk Add build system 2009-11-02 16:34:59 -05:00
harfbuzz.pc.in Add build system 2009-11-02 16:34:59 -05:00

README

This is HarfBuzz, an OpenType Layout engine.

Bug reports on these files should be sent to the HarfBuzz mailing list as
listed on http://freedesktop.org/wiki/Software/harfbuzz

For license information, see the file COPYING.

Behdad Esfahbod
May 24, 2009