summaryrefslogtreecommitdiff
path: root/modules.cfg
diff options
context:
space:
mode:
authorHarsha <mm.harsha@gmail.com>2010-12-25 16:34:56 +0100
committerWerner Lemberg <wl@gnu.org>2010-12-25 16:34:56 +0100
commit7774ac67ec562add4212930c82e402a7d7cdff8b (patch)
tree861373c4bbd9da212b805fe9f925557437a8a949 /modules.cfg
parent312d26a4915bcf7ca1e428f7bdf7ed631574dc13 (diff)
downloadfreetype2-7774ac67ec562add4212930c82e402a7d7cdff8b.tar.gz
Apply Savannah patch #7422.
If we encouter a space in a string then the sbit buffer is NULL, height and width are 0s. So the check in ftc_snode_compare will always pass for spaces (comparision with 255). Here the comments above the condition are proper but the implementation is not. When we create an snode I think it is the proper way to initialize the width to 255 and then put a check for being equal to 255 in snode compare function. * src/cache/ftcsbits.c (FTC_SNode_New): Initialize sbit widths with value 255. (ftc_snode_compare): Fix condition.
Diffstat (limited to 'modules.cfg')
0 files changed, 0 insertions, 0 deletions