HarfBuzz text shaping engine
Go to file
Behdad Esfahbod c3ba49b6fa Always create sub-blobs in MEMORY_MODE_READONLY
This fixes a design bug with sanitize and sub-blobs that can
cause crashes.  Jonathan and I found and debugged this issue
when we tested a corrupt font with the md5sum / filename:
ea395483d37af0cb933f40689ff7b60a.  Two hours of intense
debugging we found out that the font has overlapping GSUB/GPOS
tables, and as such, sanitizing the second table can modify
the first one, which can cause all kinds of undefined behavior.

The correct way to fix this is to make sure sub-blobs are
always created readonly, since we consider the parent blob
to be a shared resource and can't modify it, even if it *is*
writable.

This essentially makes the READONLY_MAY_MAKE_WRITABLE mode
unused...  Maybe we should simply remove / deprecate it.
2013-02-25 17:06:35 -05:00
contrib Minor 2012-08-12 17:11:27 -04:00
m4 Add ax_pthread.m4 2012-10-02 14:46:34 -04:00
src Always create sub-blobs in MEMORY_MODE_READONLY 2013-02-25 17:06:35 -05:00
test [tests] Add Myanmar torture tests from Martin Hosken 2013-02-19 00:58:10 -05:00
util Disable automatic segment properties guessing 2013-02-15 07:51:47 -05:00
AUTHORS Bump version to 0.9.2 2012-08-10 14:50:05 -04:00
Android.mk Add Android.mk 2012-12-21 11:54:50 -05:00
COPYING Improve license information 2012-10-28 21:26:19 -07:00
Makefile.am Revert "Include config.h.in in tree" 2013-02-06 23:45:27 -05:00
NEWS 0.9.12 2013-01-18 17:10:47 -06:00
README Update README, etc 2011-05-25 15:40:49 -04:00
THANKS Bump version to 0.9.2 2012-08-10 14:50:05 -04:00
TODO Remove TODO items that don't make sense 2013-02-15 09:33:10 -05:00
autogen.sh Revert "[Indic] Import ragel-generated Indic machine in git" 2013-02-06 23:43:27 -05:00
configure.ac Improve checks for setmode() 2013-02-12 15:35:32 -05:00
git.mk Update git.mk to upstream 2012-07-11 18:00:28 -04:00
harfbuzz.doap Minor 2011-05-27 04:14:42 -04:00
harfbuzz.pc.in Add build system 2009-11-02 16:34:59 -05:00

README

This is HarfBuzz, a text shaping library.

For bug reports, mailing list, and other information please visit:

  http://harfbuzz.org/

For license information, see the file COPYING.