summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-03-16 03:46:17 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-03-16 04:20:25 -0400
commit9cac172f82dd492d068590434199989021be236e (patch)
treeb773098f5c09b7cafbd7e39cea5016b178210f8a /build
parent7ee9ab4b2519131a9753499175ec43871232c84d (diff)
downloadpango-9cac172f82dd492d068590434199989021be236e.tar.gz
[HB] 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.
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions