[FREETYPE] Update to v2.9.0 and use this as a chance to slim down our lib a bit....
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 18 Jan 2018 12:34:21 +0000 (13:34 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 18 Jan 2018 22:29:50 +0000 (23:29 +0100)
453 files changed:
media/doc/3rd Party Files.txt
sdk/lib/3rdparty/freetype/CMakeLists.txt
sdk/lib/3rdparty/freetype/ChangeLog
sdk/lib/3rdparty/freetype/README
sdk/lib/3rdparty/freetype/autogen.sh
sdk/lib/3rdparty/freetype/configure
sdk/lib/3rdparty/freetype/devel/ft2build.h
sdk/lib/3rdparty/freetype/devel/ftoption.h
sdk/lib/3rdparty/freetype/include/freetype/config/ftconfig.h
sdk/lib/3rdparty/freetype/include/freetype/config/ftheader.h
sdk/lib/3rdparty/freetype/include/freetype/config/ftoption.h
sdk/lib/3rdparty/freetype/include/freetype/config/ftstdlib.h
sdk/lib/3rdparty/freetype/include/freetype/freetype.h
sdk/lib/3rdparty/freetype/include/freetype/ftadvanc.h
sdk/lib/3rdparty/freetype/include/freetype/ftautoh.h [deleted file]
sdk/lib/3rdparty/freetype/include/freetype/ftbbox.h
sdk/lib/3rdparty/freetype/include/freetype/ftbdf.h
sdk/lib/3rdparty/freetype/include/freetype/ftbitmap.h
sdk/lib/3rdparty/freetype/include/freetype/ftbzip2.h
sdk/lib/3rdparty/freetype/include/freetype/ftcache.h
sdk/lib/3rdparty/freetype/include/freetype/ftcffdrv.h [deleted file]
sdk/lib/3rdparty/freetype/include/freetype/ftchapters.h
sdk/lib/3rdparty/freetype/include/freetype/ftcid.h
sdk/lib/3rdparty/freetype/include/freetype/ftdriver.h [new file with mode: 0644]
sdk/lib/3rdparty/freetype/include/freetype/fterrdef.h
sdk/lib/3rdparty/freetype/include/freetype/fterrors.h
sdk/lib/3rdparty/freetype/include/freetype/ftfntfmt.h
sdk/lib/3rdparty/freetype/include/freetype/ftgasp.h
sdk/lib/3rdparty/freetype/include/freetype/ftglyph.h
sdk/lib/3rdparty/freetype/include/freetype/ftgxval.h
sdk/lib/3rdparty/freetype/include/freetype/ftgzip.h
sdk/lib/3rdparty/freetype/include/freetype/ftimage.h
sdk/lib/3rdparty/freetype/include/freetype/ftincrem.h
sdk/lib/3rdparty/freetype/include/freetype/ftlcdfil.h
sdk/lib/3rdparty/freetype/include/freetype/ftlist.h
sdk/lib/3rdparty/freetype/include/freetype/ftlzw.h
sdk/lib/3rdparty/freetype/include/freetype/ftmac.h
sdk/lib/3rdparty/freetype/include/freetype/ftmm.h
sdk/lib/3rdparty/freetype/include/freetype/ftmodapi.h
sdk/lib/3rdparty/freetype/include/freetype/ftmoderr.h
sdk/lib/3rdparty/freetype/include/freetype/ftotval.h
sdk/lib/3rdparty/freetype/include/freetype/ftoutln.h
sdk/lib/3rdparty/freetype/include/freetype/ftparams.h [new file with mode: 0644]
sdk/lib/3rdparty/freetype/include/freetype/ftpcfdrv.h [deleted file]
sdk/lib/3rdparty/freetype/include/freetype/ftpfr.h
sdk/lib/3rdparty/freetype/include/freetype/ftrender.h
sdk/lib/3rdparty/freetype/include/freetype/ftsizes.h
sdk/lib/3rdparty/freetype/include/freetype/ftsnames.h
sdk/lib/3rdparty/freetype/include/freetype/ftstroke.h
sdk/lib/3rdparty/freetype/include/freetype/ftsynth.h
sdk/lib/3rdparty/freetype/include/freetype/ftsystem.h
sdk/lib/3rdparty/freetype/include/freetype/fttrigon.h
sdk/lib/3rdparty/freetype/include/freetype/ftttdrv.h [deleted file]
sdk/lib/3rdparty/freetype/include/freetype/fttypes.h
sdk/lib/3rdparty/freetype/include/freetype/ftwinfnt.h
sdk/lib/3rdparty/freetype/include/freetype/internal/autohint.h
sdk/lib/3rdparty/freetype/include/freetype/internal/cffotypes.h [new file with mode: 0644]
sdk/lib/3rdparty/freetype/include/freetype/internal/cfftypes.h [moved from sdk/lib/3rdparty/freetype/src/cff/cfftypes.h with 98% similarity]
sdk/lib/3rdparty/freetype/include/freetype/internal/ftcalc.h
sdk/lib/3rdparty/freetype/include/freetype/internal/ftdebug.h
sdk/lib/3rdparty/freetype/include/freetype/internal/ftdrv.h [moved from sdk/lib/3rdparty/freetype/include/freetype/internal/ftdriver.h with 98% similarity]
sdk/lib/3rdparty/freetype/include/freetype/internal/ftgloadr.h
sdk/lib/3rdparty/freetype/include/freetype/internal/ftmemory.h
sdk/lib/3rdparty/freetype/include/freetype/internal/ftobjs.h
sdk/lib/3rdparty/freetype/include/freetype/internal/ftpic.h
sdk/lib/3rdparty/freetype/include/freetype/internal/ftpsprop.h [new file with mode: 0644]
sdk/lib/3rdparty/freetype/include/freetype/internal/ftrfork.h
sdk/lib/3rdparty/freetype/include/freetype/internal/ftserv.h
sdk/lib/3rdparty/freetype/include/freetype/internal/ftstream.h
sdk/lib/3rdparty/freetype/include/freetype/internal/fttrace.h
sdk/lib/3rdparty/freetype/include/freetype/internal/ftvalid.h
sdk/lib/3rdparty/freetype/include/freetype/internal/internal.h
sdk/lib/3rdparty/freetype/include/freetype/internal/psaux.h
sdk/lib/3rdparty/freetype/include/freetype/internal/pshints.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svbdf.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svcfftl.h [new file with mode: 0644]
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svcid.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svfntfmt.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svgldict.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svgxval.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svkern.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svmetric.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svmm.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svotval.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svpfr.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svpostnm.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svprop.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svpscmap.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svpsinfo.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svsfnt.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svttcmap.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svtteng.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svttglyf.h
sdk/lib/3rdparty/freetype/include/freetype/internal/services/svwinfnt.h
sdk/lib/3rdparty/freetype/include/freetype/internal/sfnt.h
sdk/lib/3rdparty/freetype/include/freetype/internal/t1types.h
sdk/lib/3rdparty/freetype/include/freetype/internal/tttypes.h
sdk/lib/3rdparty/freetype/include/freetype/t1tables.h
sdk/lib/3rdparty/freetype/include/freetype/ttnameid.h
sdk/lib/3rdparty/freetype/include/freetype/tttables.h
sdk/lib/3rdparty/freetype/include/freetype/tttags.h
sdk/lib/3rdparty/freetype/include/freetype/ttunpat.h [deleted file]
sdk/lib/3rdparty/freetype/include/ft2build.h
sdk/lib/3rdparty/freetype/modules.cfg
sdk/lib/3rdparty/freetype/src/autofit/afangles.c
sdk/lib/3rdparty/freetype/src/autofit/afblue.c
sdk/lib/3rdparty/freetype/src/autofit/afblue.cin
sdk/lib/3rdparty/freetype/src/autofit/afblue.dat
sdk/lib/3rdparty/freetype/src/autofit/afblue.h
sdk/lib/3rdparty/freetype/src/autofit/afblue.hin
sdk/lib/3rdparty/freetype/src/autofit/afcjk.c
sdk/lib/3rdparty/freetype/src/autofit/afcjk.h
sdk/lib/3rdparty/freetype/src/autofit/afcover.h
sdk/lib/3rdparty/freetype/src/autofit/afdummy.c
sdk/lib/3rdparty/freetype/src/autofit/afdummy.h
sdk/lib/3rdparty/freetype/src/autofit/aferrors.h
sdk/lib/3rdparty/freetype/src/autofit/afglobal.c
sdk/lib/3rdparty/freetype/src/autofit/afglobal.h
sdk/lib/3rdparty/freetype/src/autofit/afhints.c
sdk/lib/3rdparty/freetype/src/autofit/afhints.h
sdk/lib/3rdparty/freetype/src/autofit/afindic.c
sdk/lib/3rdparty/freetype/src/autofit/afindic.h
sdk/lib/3rdparty/freetype/src/autofit/aflatin.c
sdk/lib/3rdparty/freetype/src/autofit/aflatin.h
sdk/lib/3rdparty/freetype/src/autofit/aflatin2.c
sdk/lib/3rdparty/freetype/src/autofit/aflatin2.h
sdk/lib/3rdparty/freetype/src/autofit/afloader.c
sdk/lib/3rdparty/freetype/src/autofit/afloader.h
sdk/lib/3rdparty/freetype/src/autofit/afmodule.c
sdk/lib/3rdparty/freetype/src/autofit/afmodule.h
sdk/lib/3rdparty/freetype/src/autofit/afpic.c
sdk/lib/3rdparty/freetype/src/autofit/afpic.h
sdk/lib/3rdparty/freetype/src/autofit/afranges.c
sdk/lib/3rdparty/freetype/src/autofit/afranges.h
sdk/lib/3rdparty/freetype/src/autofit/afscript.h
sdk/lib/3rdparty/freetype/src/autofit/afshaper.c
sdk/lib/3rdparty/freetype/src/autofit/afshaper.h
sdk/lib/3rdparty/freetype/src/autofit/afstyles.h
sdk/lib/3rdparty/freetype/src/autofit/aftypes.h
sdk/lib/3rdparty/freetype/src/autofit/afwarp.c
sdk/lib/3rdparty/freetype/src/autofit/afwarp.h
sdk/lib/3rdparty/freetype/src/autofit/afwrtsys.h
sdk/lib/3rdparty/freetype/src/autofit/autofit.c
sdk/lib/3rdparty/freetype/src/base/basepic.c
sdk/lib/3rdparty/freetype/src/base/basepic.h
sdk/lib/3rdparty/freetype/src/base/ftadvanc.c
sdk/lib/3rdparty/freetype/src/base/ftapi.c
sdk/lib/3rdparty/freetype/src/base/ftbase.c
sdk/lib/3rdparty/freetype/src/base/ftbase.h
sdk/lib/3rdparty/freetype/src/base/ftbbox.c
sdk/lib/3rdparty/freetype/src/base/ftbdf.c
sdk/lib/3rdparty/freetype/src/base/ftbitmap.c
sdk/lib/3rdparty/freetype/src/base/ftcalc.c
sdk/lib/3rdparty/freetype/src/base/ftcid.c
sdk/lib/3rdparty/freetype/src/base/ftdbgmem.c
sdk/lib/3rdparty/freetype/src/base/ftdebug.c
sdk/lib/3rdparty/freetype/src/base/ftfntfmt.c
sdk/lib/3rdparty/freetype/src/base/ftfstype.c
sdk/lib/3rdparty/freetype/src/base/ftgasp.c
sdk/lib/3rdparty/freetype/src/base/ftgloadr.c
sdk/lib/3rdparty/freetype/src/base/ftglyph.c
sdk/lib/3rdparty/freetype/src/base/ftgxval.c
sdk/lib/3rdparty/freetype/src/base/ftinit.c
sdk/lib/3rdparty/freetype/src/base/ftlcdfil.c
sdk/lib/3rdparty/freetype/src/base/ftmac.c
sdk/lib/3rdparty/freetype/src/base/ftmm.c
sdk/lib/3rdparty/freetype/src/base/ftobjs.c
sdk/lib/3rdparty/freetype/src/base/ftotval.c
sdk/lib/3rdparty/freetype/src/base/ftoutln.c
sdk/lib/3rdparty/freetype/src/base/ftpatent.c
sdk/lib/3rdparty/freetype/src/base/ftpfr.c
sdk/lib/3rdparty/freetype/src/base/ftpic.c
sdk/lib/3rdparty/freetype/src/base/ftpsprop.c [new file with mode: 0644]
sdk/lib/3rdparty/freetype/src/base/ftrfork.c
sdk/lib/3rdparty/freetype/src/base/ftsnames.c
sdk/lib/3rdparty/freetype/src/base/ftstream.c
sdk/lib/3rdparty/freetype/src/base/ftstroke.c
sdk/lib/3rdparty/freetype/src/base/ftsynth.c
sdk/lib/3rdparty/freetype/src/base/ftsystem.c
sdk/lib/3rdparty/freetype/src/base/fttrigon.c
sdk/lib/3rdparty/freetype/src/base/fttype1.c
sdk/lib/3rdparty/freetype/src/base/ftutil.c
sdk/lib/3rdparty/freetype/src/base/ftwinfnt.c
sdk/lib/3rdparty/freetype/src/bdf/README
sdk/lib/3rdparty/freetype/src/bdf/bdfdrivr.c
sdk/lib/3rdparty/freetype/src/bdf/bdflib.c
sdk/lib/3rdparty/freetype/src/bzip2/ftbzip2.c
sdk/lib/3rdparty/freetype/src/cache/ftcache.c
sdk/lib/3rdparty/freetype/src/cache/ftcbasic.c
sdk/lib/3rdparty/freetype/src/cache/ftccache.c
sdk/lib/3rdparty/freetype/src/cache/ftccache.h
sdk/lib/3rdparty/freetype/src/cache/ftccback.h
sdk/lib/3rdparty/freetype/src/cache/ftccmap.c
sdk/lib/3rdparty/freetype/src/cache/ftcerror.h
sdk/lib/3rdparty/freetype/src/cache/ftcglyph.c
sdk/lib/3rdparty/freetype/src/cache/ftcglyph.h
sdk/lib/3rdparty/freetype/src/cache/ftcimage.c
sdk/lib/3rdparty/freetype/src/cache/ftcimage.h
sdk/lib/3rdparty/freetype/src/cache/ftcmanag.c
sdk/lib/3rdparty/freetype/src/cache/ftcmanag.h
sdk/lib/3rdparty/freetype/src/cache/ftcmru.c
sdk/lib/3rdparty/freetype/src/cache/ftcmru.h
sdk/lib/3rdparty/freetype/src/cache/ftcsbits.c
sdk/lib/3rdparty/freetype/src/cache/ftcsbits.h
sdk/lib/3rdparty/freetype/src/cff/cff.c
sdk/lib/3rdparty/freetype/src/cff/cffcmap.c
sdk/lib/3rdparty/freetype/src/cff/cffcmap.h
sdk/lib/3rdparty/freetype/src/cff/cffdrivr.c
sdk/lib/3rdparty/freetype/src/cff/cffdrivr.h
sdk/lib/3rdparty/freetype/src/cff/cfferrs.h
sdk/lib/3rdparty/freetype/src/cff/cffgload.c
sdk/lib/3rdparty/freetype/src/cff/cffgload.h
sdk/lib/3rdparty/freetype/src/cff/cffload.c
sdk/lib/3rdparty/freetype/src/cff/cffload.h
sdk/lib/3rdparty/freetype/src/cff/cffobjs.c
sdk/lib/3rdparty/freetype/src/cff/cffobjs.h
sdk/lib/3rdparty/freetype/src/cff/cffparse.c
sdk/lib/3rdparty/freetype/src/cff/cffparse.h
sdk/lib/3rdparty/freetype/src/cff/cffpic.c
sdk/lib/3rdparty/freetype/src/cff/cffpic.h
sdk/lib/3rdparty/freetype/src/cff/cfftoken.h
sdk/lib/3rdparty/freetype/src/cid/ciderrs.h
sdk/lib/3rdparty/freetype/src/cid/cidgload.c
sdk/lib/3rdparty/freetype/src/cid/cidgload.h
sdk/lib/3rdparty/freetype/src/cid/cidload.c
sdk/lib/3rdparty/freetype/src/cid/cidload.h
sdk/lib/3rdparty/freetype/src/cid/cidobjs.c
sdk/lib/3rdparty/freetype/src/cid/cidobjs.h
sdk/lib/3rdparty/freetype/src/cid/cidparse.c
sdk/lib/3rdparty/freetype/src/cid/cidparse.h
sdk/lib/3rdparty/freetype/src/cid/cidriver.c
sdk/lib/3rdparty/freetype/src/cid/cidriver.h
sdk/lib/3rdparty/freetype/src/cid/cidtoken.h
sdk/lib/3rdparty/freetype/src/cid/type1cid.c
sdk/lib/3rdparty/freetype/src/gxvalid/README
sdk/lib/3rdparty/freetype/src/gxvalid/gxvalid.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvalid.h
sdk/lib/3rdparty/freetype/src/gxvalid/gxvbsln.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvcommn.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvcommn.h
sdk/lib/3rdparty/freetype/src/gxvalid/gxverror.h
sdk/lib/3rdparty/freetype/src/gxvalid/gxvfeat.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvfeat.h
sdk/lib/3rdparty/freetype/src/gxvalid/gxvfgen.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvjust.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvkern.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvlcar.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmod.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmod.h
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmort.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmort.h
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmort0.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmort1.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmort2.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmort4.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmort5.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmorx.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmorx.h
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmorx0.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmorx1.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmorx2.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmorx4.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvmorx5.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvopbd.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvprop.c
sdk/lib/3rdparty/freetype/src/gxvalid/gxvtrak.c
sdk/lib/3rdparty/freetype/src/gzip/ftgzip.c
sdk/lib/3rdparty/freetype/src/gzip/zconf.h [deleted file]
sdk/lib/3rdparty/freetype/src/lzw/ftlzw.c
sdk/lib/3rdparty/freetype/src/lzw/ftzopen.c
sdk/lib/3rdparty/freetype/src/lzw/ftzopen.h
sdk/lib/3rdparty/freetype/src/otvalid/otvalid.c
sdk/lib/3rdparty/freetype/src/otvalid/otvalid.h
sdk/lib/3rdparty/freetype/src/otvalid/otvbase.c
sdk/lib/3rdparty/freetype/src/otvalid/otvcommn.c
sdk/lib/3rdparty/freetype/src/otvalid/otvcommn.h
sdk/lib/3rdparty/freetype/src/otvalid/otverror.h
sdk/lib/3rdparty/freetype/src/otvalid/otvgdef.c
sdk/lib/3rdparty/freetype/src/otvalid/otvgpos.c
sdk/lib/3rdparty/freetype/src/otvalid/otvgpos.h
sdk/lib/3rdparty/freetype/src/otvalid/otvgsub.c
sdk/lib/3rdparty/freetype/src/otvalid/otvjstf.c
sdk/lib/3rdparty/freetype/src/otvalid/otvmath.c
sdk/lib/3rdparty/freetype/src/otvalid/otvmod.c
sdk/lib/3rdparty/freetype/src/otvalid/otvmod.h
sdk/lib/3rdparty/freetype/src/pcf/pcfdrivr.c
sdk/lib/3rdparty/freetype/src/pcf/pcfread.c
sdk/lib/3rdparty/freetype/src/pfr/pfr.c
sdk/lib/3rdparty/freetype/src/pfr/pfrcmap.c
sdk/lib/3rdparty/freetype/src/pfr/pfrcmap.h
sdk/lib/3rdparty/freetype/src/pfr/pfrdrivr.c
sdk/lib/3rdparty/freetype/src/pfr/pfrdrivr.h
sdk/lib/3rdparty/freetype/src/pfr/pfrerror.h
sdk/lib/3rdparty/freetype/src/pfr/pfrgload.c
sdk/lib/3rdparty/freetype/src/pfr/pfrgload.h
sdk/lib/3rdparty/freetype/src/pfr/pfrload.c
sdk/lib/3rdparty/freetype/src/pfr/pfrload.h
sdk/lib/3rdparty/freetype/src/pfr/pfrobjs.c
sdk/lib/3rdparty/freetype/src/pfr/pfrobjs.h
sdk/lib/3rdparty/freetype/src/pfr/pfrsbit.c
sdk/lib/3rdparty/freetype/src/pfr/pfrsbit.h
sdk/lib/3rdparty/freetype/src/pfr/pfrtypes.h
sdk/lib/3rdparty/freetype/src/psaux/afmparse.c
sdk/lib/3rdparty/freetype/src/psaux/afmparse.h
sdk/lib/3rdparty/freetype/src/psaux/cffdecode.c [new file with mode: 0644]
sdk/lib/3rdparty/freetype/src/psaux/cffdecode.h [new file with mode: 0644]
sdk/lib/3rdparty/freetype/src/psaux/psarrst.c [moved from sdk/lib/3rdparty/freetype/src/cff/cf2arrst.c with 98% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psarrst.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2arrst.h with 96% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psaux.c
sdk/lib/3rdparty/freetype/src/psaux/psauxerr.h
sdk/lib/3rdparty/freetype/src/psaux/psauxmod.c
sdk/lib/3rdparty/freetype/src/psaux/psauxmod.h
sdk/lib/3rdparty/freetype/src/psaux/psblues.c [moved from sdk/lib/3rdparty/freetype/src/cff/cf2blues.c with 99% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psblues.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2blues.h with 97% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psconv.c
sdk/lib/3rdparty/freetype/src/psaux/psconv.h
sdk/lib/3rdparty/freetype/src/psaux/pserror.c [moved from sdk/lib/3rdparty/freetype/src/cff/cf2error.c with 96% similarity]
sdk/lib/3rdparty/freetype/src/psaux/pserror.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2error.h with 96% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psfixed.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2fixed.h with 97% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psfont.c [moved from sdk/lib/3rdparty/freetype/src/cff/cf2font.c with 91% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psfont.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2font.h with 94% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psft.c [moved from sdk/lib/3rdparty/freetype/src/cff/cf2ft.c with 65% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psft.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2ft.h with 60% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psglue.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2glue.h with 96% similarity]
sdk/lib/3rdparty/freetype/src/psaux/pshints.c [moved from sdk/lib/3rdparty/freetype/src/cff/cf2hints.c with 96% similarity]
sdk/lib/3rdparty/freetype/src/psaux/pshints.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2hints.h with 98% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psintrp.c [moved from sdk/lib/3rdparty/freetype/src/cff/cf2intrp.c with 55% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psintrp.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2intrp.h with 95% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psobjs.c
sdk/lib/3rdparty/freetype/src/psaux/psobjs.h
sdk/lib/3rdparty/freetype/src/psaux/psread.c [moved from sdk/lib/3rdparty/freetype/src/cff/cf2read.c with 97% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psread.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2read.h with 96% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psstack.c [moved from sdk/lib/3rdparty/freetype/src/cff/cf2stack.c with 98% similarity]
sdk/lib/3rdparty/freetype/src/psaux/psstack.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2stack.h with 97% similarity]
sdk/lib/3rdparty/freetype/src/psaux/pstypes.h [moved from sdk/lib/3rdparty/freetype/src/cff/cf2types.h with 96% similarity]
sdk/lib/3rdparty/freetype/src/psaux/t1cmap.c
sdk/lib/3rdparty/freetype/src/psaux/t1cmap.h
sdk/lib/3rdparty/freetype/src/psaux/t1decode.c
sdk/lib/3rdparty/freetype/src/psaux/t1decode.h
sdk/lib/3rdparty/freetype/src/pshinter/pshalgo.c
sdk/lib/3rdparty/freetype/src/pshinter/pshalgo.h
sdk/lib/3rdparty/freetype/src/pshinter/pshglob.c
sdk/lib/3rdparty/freetype/src/pshinter/pshglob.h
sdk/lib/3rdparty/freetype/src/pshinter/pshinter.c
sdk/lib/3rdparty/freetype/src/pshinter/pshmod.c
sdk/lib/3rdparty/freetype/src/pshinter/pshmod.h
sdk/lib/3rdparty/freetype/src/pshinter/pshnterr.h
sdk/lib/3rdparty/freetype/src/pshinter/pshpic.c
sdk/lib/3rdparty/freetype/src/pshinter/pshpic.h
sdk/lib/3rdparty/freetype/src/pshinter/pshrec.c
sdk/lib/3rdparty/freetype/src/pshinter/pshrec.h
sdk/lib/3rdparty/freetype/src/psnames/psmodule.c
sdk/lib/3rdparty/freetype/src/psnames/psmodule.h
sdk/lib/3rdparty/freetype/src/psnames/psnamerr.h
sdk/lib/3rdparty/freetype/src/psnames/psnames.c
sdk/lib/3rdparty/freetype/src/psnames/pspic.c
sdk/lib/3rdparty/freetype/src/psnames/pspic.h
sdk/lib/3rdparty/freetype/src/psnames/pstables.h
sdk/lib/3rdparty/freetype/src/raster/ftmisc.h
sdk/lib/3rdparty/freetype/src/raster/ftraster.c
sdk/lib/3rdparty/freetype/src/raster/ftraster.h
sdk/lib/3rdparty/freetype/src/raster/ftrend1.c
sdk/lib/3rdparty/freetype/src/raster/ftrend1.h
sdk/lib/3rdparty/freetype/src/raster/raster.c
sdk/lib/3rdparty/freetype/src/raster/rasterrs.h
sdk/lib/3rdparty/freetype/src/raster/rastpic.c
sdk/lib/3rdparty/freetype/src/raster/rastpic.h
sdk/lib/3rdparty/freetype/src/sfnt/pngshim.c
sdk/lib/3rdparty/freetype/src/sfnt/pngshim.h
sdk/lib/3rdparty/freetype/src/sfnt/sfdriver.c
sdk/lib/3rdparty/freetype/src/sfnt/sfdriver.h
sdk/lib/3rdparty/freetype/src/sfnt/sferrors.h
sdk/lib/3rdparty/freetype/src/sfnt/sfnt.c
sdk/lib/3rdparty/freetype/src/sfnt/sfntpic.c
sdk/lib/3rdparty/freetype/src/sfnt/sfntpic.h
sdk/lib/3rdparty/freetype/src/sfnt/sfobjs.c
sdk/lib/3rdparty/freetype/src/sfnt/sfobjs.h
sdk/lib/3rdparty/freetype/src/sfnt/ttbdf.c
sdk/lib/3rdparty/freetype/src/sfnt/ttbdf.h
sdk/lib/3rdparty/freetype/src/sfnt/ttcmap.c
sdk/lib/3rdparty/freetype/src/sfnt/ttcmap.h
sdk/lib/3rdparty/freetype/src/sfnt/ttcmapc.h
sdk/lib/3rdparty/freetype/src/sfnt/ttkern.c
sdk/lib/3rdparty/freetype/src/sfnt/ttkern.h
sdk/lib/3rdparty/freetype/src/sfnt/ttload.c
sdk/lib/3rdparty/freetype/src/sfnt/ttload.h
sdk/lib/3rdparty/freetype/src/sfnt/ttmtx.c
sdk/lib/3rdparty/freetype/src/sfnt/ttmtx.h
sdk/lib/3rdparty/freetype/src/sfnt/ttpost.c
sdk/lib/3rdparty/freetype/src/sfnt/ttpost.h
sdk/lib/3rdparty/freetype/src/sfnt/ttsbit.c
sdk/lib/3rdparty/freetype/src/sfnt/ttsbit.h
sdk/lib/3rdparty/freetype/src/smooth/ftgrays.c
sdk/lib/3rdparty/freetype/src/smooth/ftgrays.h
sdk/lib/3rdparty/freetype/src/smooth/ftsmerrs.h
sdk/lib/3rdparty/freetype/src/smooth/ftsmooth.c
sdk/lib/3rdparty/freetype/src/smooth/ftsmooth.h
sdk/lib/3rdparty/freetype/src/smooth/ftspic.c
sdk/lib/3rdparty/freetype/src/smooth/ftspic.h
sdk/lib/3rdparty/freetype/src/smooth/smooth.c
sdk/lib/3rdparty/freetype/src/tools/afblue.pl
sdk/lib/3rdparty/freetype/src/tools/docmaker/content.py
sdk/lib/3rdparty/freetype/src/tools/docmaker/docmaker.py
sdk/lib/3rdparty/freetype/src/tools/docmaker/formatter.py
sdk/lib/3rdparty/freetype/src/tools/docmaker/sources.py
sdk/lib/3rdparty/freetype/src/tools/docmaker/tohtml.py
sdk/lib/3rdparty/freetype/src/tools/docmaker/utils.py
sdk/lib/3rdparty/freetype/src/tools/glnames.py
sdk/lib/3rdparty/freetype/src/truetype/truetype.c
sdk/lib/3rdparty/freetype/src/truetype/ttdriver.c
sdk/lib/3rdparty/freetype/src/truetype/ttdriver.h
sdk/lib/3rdparty/freetype/src/truetype/tterrors.h
sdk/lib/3rdparty/freetype/src/truetype/ttgload.c
sdk/lib/3rdparty/freetype/src/truetype/ttgload.h
sdk/lib/3rdparty/freetype/src/truetype/ttgxvar.c
sdk/lib/3rdparty/freetype/src/truetype/ttgxvar.h
sdk/lib/3rdparty/freetype/src/truetype/ttinterp.c
sdk/lib/3rdparty/freetype/src/truetype/ttinterp.h
sdk/lib/3rdparty/freetype/src/truetype/ttobjs.c
sdk/lib/3rdparty/freetype/src/truetype/ttobjs.h
sdk/lib/3rdparty/freetype/src/truetype/ttpic.c
sdk/lib/3rdparty/freetype/src/truetype/ttpic.h
sdk/lib/3rdparty/freetype/src/truetype/ttpload.c
sdk/lib/3rdparty/freetype/src/truetype/ttpload.h
sdk/lib/3rdparty/freetype/src/truetype/ttsubpix.c
sdk/lib/3rdparty/freetype/src/truetype/ttsubpix.h
sdk/lib/3rdparty/freetype/src/type1/t1afm.c
sdk/lib/3rdparty/freetype/src/type1/t1afm.h
sdk/lib/3rdparty/freetype/src/type1/t1driver.c
sdk/lib/3rdparty/freetype/src/type1/t1driver.h
sdk/lib/3rdparty/freetype/src/type1/t1errors.h
sdk/lib/3rdparty/freetype/src/type1/t1gload.c
sdk/lib/3rdparty/freetype/src/type1/t1gload.h
sdk/lib/3rdparty/freetype/src/type1/t1load.c
sdk/lib/3rdparty/freetype/src/type1/t1load.h
sdk/lib/3rdparty/freetype/src/type1/t1objs.c
sdk/lib/3rdparty/freetype/src/type1/t1objs.h
sdk/lib/3rdparty/freetype/src/type1/t1parse.c
sdk/lib/3rdparty/freetype/src/type1/t1parse.h
sdk/lib/3rdparty/freetype/src/type1/t1tokens.h
sdk/lib/3rdparty/freetype/src/type1/type1.c
sdk/lib/3rdparty/freetype/src/type42/t42drivr.c
sdk/lib/3rdparty/freetype/src/type42/t42drivr.h
sdk/lib/3rdparty/freetype/src/type42/t42error.h
sdk/lib/3rdparty/freetype/src/type42/t42objs.c
sdk/lib/3rdparty/freetype/src/type42/t42objs.h
sdk/lib/3rdparty/freetype/src/type42/t42parse.c
sdk/lib/3rdparty/freetype/src/type42/t42parse.h
sdk/lib/3rdparty/freetype/src/type42/t42types.h
sdk/lib/3rdparty/freetype/src/type42/type42.c
sdk/lib/3rdparty/freetype/src/winfonts/fnterrs.h
sdk/lib/3rdparty/freetype/src/winfonts/winfnt.c
sdk/lib/3rdparty/freetype/src/winfonts/winfnt.h

index 463f347..ccd1a75 100644 (file)
@@ -23,7 +23,7 @@ Used Version: 1.1
 Website: http://www.geocities.com/dborca/opengl/tc.html
 
 Title: FreeType
-Used Version: 2.8.1
+Used Version: 2.9.0
 Website: http://www.freetype.org
 
 Title: Mesa3D
index 6a41e3d..0f2f5a3 100644 (file)
@@ -11,12 +11,7 @@ list(APPEND SOURCE
     src/base/ftbbox.c
     src/base/ftbitmap.c
     src/base/ftcalc.c
-    src/base/ftcid.c
-    src/base/ftdbgmem.c
-    src/base/ftdebug.c
     src/base/ftfntfmt.c
-    src/base/ftfstype.c
-    src/base/ftgasp.c
     src/base/ftgloadr.c
     src/base/ftglyph.c
     src/base/ftgxval.c
@@ -29,6 +24,7 @@ list(APPEND SOURCE
     src/base/ftoutln.c
     src/base/ftpatent.c
     src/base/ftpfr.c
+    src/base/ftpsprop.c
     src/base/ftrfork.c
     src/base/ftsnames.c
     src/base/ftstream.c
@@ -40,8 +36,6 @@ list(APPEND SOURCE
     src/base/ftutil.c
     src/base/ftwinfnt.c
     src/bdf/bdf.c
-    src/bzip2/ftbzip2.c
-    src/cache/ftcache.c
     src/cff/cff.c
     src/cid/type1cid.c
     src/gzip/ftgzip.c
index f6de03c..fa38730 100644 (file)
@@ -1,13 +1,12 @@
-2017-09-16  Werner Lemberg  <wl@gnu.org>
+2018-01-08  Werner Lemberg  <wl@gnu.org>
 
-       * Version 2.8.1 released.
-       =========================
+       * Version 2.9 released.
+       =======================
 
 
-       Tag sources with `VER-2-8-1'.
+       Tag sources with `VER-2-9'.
 
-       * docs/VERSION.TXT: Add entry for version 2.8.1.
-       * docs/CHANGES: Updated.
+       * docs/VERSION.TXT: Add entry for version 2.9.
 
        * README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj,
        builds/windows/vc2005/index.html,
        builds/windows/visualce/freetype.dsp,
        builds/windows/visualce/freetype.vcproj,
        builds/windows/visualce/index.html,
+       builds/windows/ftver.rc,
        builds/wince/vc2005-ce/freetype.vcproj,
        builds/wince/vc2005-ce/index.html,
        builds/wince/vc2008-ce/freetype.vcproj,
-       builds/wince/vc2008-ce/index.html: s/2.8/2.8.1/, s/28/281/.
+       builds/wince/vc2008-ce/index.html: s/2.8.1/2.9/, s/281/29/.
 
-       * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
+       * include/freetype/freetype.h (FREETYPE_MINOR): Set to 9.
+       (FREETYPE_PATCH): Set to 0.
 
-       * builds/unix/configure.raw (version_info): Set to 21:0:15.
+       * builds/unix/configure.raw (version_info): Set to 22:0:16.
        * CMakeLists.txt (VERSION_PATCH): Set to 1.
 
-2017-09-13  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
+2018-01-07  Werner Lemberg  <wl@gnu.org>
 
-       [sfnt] lowest gcc for vectors (e1d0249e) is changed to 4.7.
+       Add check for librt, needed for `ftbench' (#52824).
 
-       __builtin_shuffle() was introduced in gcc-4.7.  The lowest
-       gcc to enable vector operation is delayed from 4.6 to 4.7.
+       * builds/unix/configure.raw (LIB_CLOCK_GETTIME): Define; this will
+       hold `-lrt' if necessary.
 
-       * src/sfnt/pngshim.c (premultiply_data): Fix cpp-macro to
-       enable the vector operation, to change the lowest gcc version
-       from 4.6 to 4.7.
+       * builds/unix/unix-cc.in (LIB_CLOCK_GETTIME): New variable.
 
-2017-09-13  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
+2018-01-07  Ewald Hew  <ewaldhew@gmail.com>
 
-       [cache] Fix a possible overflow by signed integer comparison.
+       [psaux] Fix Type 1 glyphs with too many stem hints.
 
-       Improve the code by 5d3ff05615dda6d1325ed612381a17a0df04c975 ,
-       issues are found by Behdad Esfahbod and Werner Lemberg.
+       According to the CFF specification, charstrings can have up to 96 stem
+       hints. Due to hint replacement routines in Type 1 charstrings, some
+       glyphs are rejected by the Adobe engine, which implements the above
+       limit. This fix turns off hinting for such glyphs.
 
-       * src/cache/ftcbasic.c (FTC_ImageCache_Lookup): Replace
-       a subtraction to check higher bit by a bit operation,
-       and cpp-conditionalize for appropriate systems.  Add better
-       documentation to the comment.
-       (FTC_ImageCache_LookupScaler): Ditto.
-       (FTC_SBitCache_Lookup): Ditto.
-       (FTC_SBitCache_LookupScaler): Ditto.
+       * src/psaux/pshints.c (cf2_hintmap_build): Reset the error from calling
+       `cf2_hintmask_setAll' on a problematic Type 1 charstring and turn off
+       hinting.
 
-2017-09-13  Werner Lemberg  <wl@gnu.org>
+2018-01-06  Werner Lemberg  <wl@gnu.org>
 
-       [autofit] Really fix #41334 (#52000).
+       Add `FT_Done_MM_Var'.
 
-       * src/autofit/aflatin.c (af_latin_hints_compute_segments): Set
-       `segment->delta' everywhere.
+       This is necessary in case the application's memory routines differ
+       from FreeType.  A typical example is a Python application on Windows
+       that calls FreeType compiled as a DLL via the `ctypes' interface.
 
-2017-09-12  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
+       * include/freetype/ftmm.h, src/base/ftmm.c (FT_Done_MM_Var): Declare
+       and define.
 
-       [autofit, sfnt] Fix for `make multi'.
+       * docs/CHANGES: Updated.
 
-       * src/autofit/afshaper.c: Include FT_ADVANCE_H, to use
-       FT_Get_Advance() in it.
-       * src/sfnt/ttcmap.c: Include FT_SERVICE_POSTSCRIPT_CMAPS_H
-       to use PS_Unicodes in it, also include `ttpost.h' to use
-       tt_face_get_ps_name() in it.
+2018-01-03  Werner Lemberg  <wl@gnu.org>
 
-2017-09-11  Azzuro  <azzuro@team-mediaportal.com>
+       [truetype] Round offsets of glyph components only if hinting is on.
 
-       [build] Improve builds with different MS Visual Studio versions.
+       * src/truetype/ttgload.c (TT_Process_Composite_Component): Implement
+       it.
 
-       * builds/windows/vc2010/freetype.vcxproj: Switch platform toolset
-       according to the Visual Studio version.
+2018-01-03  Werner Lemberg  <wl@gnu.org>
 
-2017-09-11  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttgxvar.c (ft_var_to_design): Remove dead code.
 
-       * src/sfnt/ttkern.c (tt_face_load_kern): Reject format 2 tables.
+       This is a better fix than the previous commit, which is now
+       reverted.
 
-       Reported by Behdad.
+2018-01-03  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-2017-09-09  Werner Lemberg  <wl@gnu.org>
+       Move internal LCD-related declarations.
 
-       [autofit] Improve communication with ftgrid.
+       * include/freetype/ftlcdfil.h (ft_lcd_padding, ft_lcd_filter_fir):
+       Move from here...
+       * include/freetype/internal/ftobjs.h: ... to here.
 
-       * src/autofit/afhints.c (af_glyph_hints_get_segment_offset):
-       Provide values in font units.
+2018-01-03  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-2017-09-08  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
+       * include/freetype/config/ftconfig.h (FT_EXPORT, FT_EXPORT_DEF)
+       [_MSC_VER]: Limit Visual C++ attributes.
 
-       [base] Remove a check for resource ID in the resource fork driver.
+2018-01-03  Werner Lemberg  <wl@gnu.org>
 
-       LastResort.dfont has a marginal resource ID 0xFFFF for sfnt
-       resource.  Inside Macintosh: More Macintosh Toolbox, `Resource IDs'
-       (1-46), tells that some IDs are reserved and should not be used.
-       FreeType2 just uses resource ID to sort the fragmented resource.
-       To accept the marginal fonts, the checking is removed.
+       [truetype] Make blend/design coordinate round-tripping work.
 
-       * src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Remove res_id
-       validity check, fix a trace message format.
+       Behdad reported that setting blend coordinates, then getting design
+       coordinates did incorrectly return the default instance's
+       coordinates.
 
-2017-09-08  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
+       * src/truetype/ttgxvar.c (tt_set_mm_blend): Fix it.
 
-       [sfnt, truetype] Register the tags for marginal fonts.
+2017-12-31  Werner Lemberg  <wl@gnu.org>
 
-       The first 32bit of standard TrueType variants is 0x00010000,
-       `OTTO', `ttcf', `true' or `typ1'.  2 marginal dfonts on legacy Mac
-       OS X, Keyboard.dfont and LastResort.dfont, have the sfnt resources
-       starting 0xA5 followed by `kbd' or `lst'.  Considering the following
-       data could be parsed as conventional TrueType fonts, the header
-       checking is updated to allow these tags.  It seems that recent Mac
-       OS X has already switched to normal TTF for these fonts.
+       * src/sfnt/ttcmap.c (tt_cmap2_char_next): Fix endless loop.
 
-       See the discussion at
-       http://u88.n24.queensu.ca/exiftool/forum/index.php?topic=3931.0
+       Reported as
 
-       * include/freetype/tttags.h (TTAG_0xA5kbd, TTAG_0xA5lst): New header
-       tags for Keyboard.dfont and LastResort.dfont.
-       * src/sfnt/sfobjs.c (sfnt_open_font): Accept the sfnt resource
-       starts with TTAG_0xA5kbd or TTAG_0xA5lst.
-       * src/truetype/ttobjs.c (tt_face_init): Accept the face with the
-       format tag is TTAG_0xA5kbd or TTAG_0xA5lst.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4838
 
-2017-09-05  Werner Lemberg  <wl@gnu.org>
+2017-12-31  Werner Lemberg  <wl@gnu.org>
 
-       Fix multiple calls of `FT_Bitmap_Convert'.
+       Synchronize other Windows project files.
 
-       The documentation of `FT_Bitmap_Convert' says that multiple calls do
-       proper reallocation of the target FT_Bitmap object.  However, this
-       failed for the sequence
+       * builds/windows/*: Add missing files.
 
-         non-empty bitmap
-         empty bitmap
-         non-empty bitmap
+2017-12-31  Werner Lemberg  <wl@gnu.org>
 
-       Reason was that `FT_Bitmap_Convert' only reallocated the bitmap
-       buffer if it became too small; it didn't make the buffer smaller.
-       For an empty bitmap following a non-empty one, only the buffer
-       dimension got set to zero, without deallocation.  If the next call
-       was a non-empty buffer again, an assertion in `ft_mem_qrealloc' was
-       triggered.
+       Update Visual C 2010 project files.
 
-       * src/base/ftbitmap.c (FT_Bitmap_Convert): Always reallocate target
-       buffer to the correct size.
+       Problem reported by Hin-Tak.
 
-       * docs/CHANGES: Document it.
+       * builds/windows/vc2010/freetype.vcxproj: Add files `ftbdf.c' and
+       `ftcid.c'.
+       Sort entries.
+       * builds/windows/vc2010/freetype.vcxproj.filter: Ditto.
+       Fix members of `FT_MODULE' group.
 
-2017-09-05  Werner Lemberg  <wl@gnu.org>
+2017-12-30  Werner Lemberg  <wl@gnu.org>
 
-       [bdf] Fix size and resolution handling.
+       * builds/vms/ftconfig.h: Synchronize with unix `ftconfig.in' file.
 
-       * src/bdf/bdfdrivr.c (BDF_Face_Init): Use `SIZE' values if
-       `POINT_SIZE', `RESOLUTION_X', or `RESOLUTION_Y' properties are
-       missing.
+2017-12-28  Werner Lemberg  <wl@gnu.org>
 
-       * docs/CHANGES: Document it.
+       * builds/unix/ftconfig.in: Synchronize with main `ftconfig.h' file.
 
-2017-08-25  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       Reported by Nikolaus.
 
-       Swap `ALLOC_MULT' arguments (#51833).
+2017-12-27  Werner Lemberg  <wl@gnu.org>
 
-       * src/base/ftbitmap.c (ft_bitmap_assure_buffer): Updated.
-       * src/winfonts/winfnt.c (FNT_Load_Glyph): Updated.
-       * src/raster/ftrend1.c (ft_raster1_render): Updated.
+       Fix compiler warnings.
 
-2017-08-23  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftbitmap.c (ft_bitmap_assure_buffer): Make `pitch' and
+       `new_pitch' unsigned.
 
-       [sfnt] Fix clang compilation (#51788).
+       * src/base/ftpsprop.c: Include FT_INTERNAL_POSTSCRIPT_PROPS_H.
 
-       * src/sfnt/pngshim.c (premultiply_data): Use vectors instead of
-       scalars.
-       (vector_shuffle): New macro to take care of a different built-in
-       function name on clang.
+2017-12-27  Werner Lemberg  <wl@gnu.org>
 
-2017-08-22  Werner Lemberg  <wl@gnu.org>
+       Fixes for `make multi'.
 
-       [base] Don't zero out allocated memory twice (#51816).
+       * include/freetype/internal/ftpsprop.h: Use `FT_BASE_CALLBACK'.
+       (ps_property_get): Harmonize declaration with corresponding
+       function typedef.
 
-       Patch applied from bug report.
+       * include/freety[e/internal/fttrace.h: Add `trace_psprops'.
 
-       * src/base/ftutil.c (ft_mem_qrealloc): Use low-level allocation to
-       avoid unnecessary overhead.
+       * src/base/ftpsprop.c: Include necessary header files.
+       (FT_COMPONENT): Define.
+       (ps_property_set): Tag with `FT_BASE_CALLBACK_DEF'.
+       (ps_property_get): Tag with `FT_BASE_CALLBACK_DEF'.
+       Harmonize declaration with corresponding function typedef.
 
-2017-08-22  Werner Lemberg  <wl@gnu.org>
+2017-12-27  Werner Lemberg  <wl@gnu.org>
 
-       [truetype] Integer overflow.
+       Provide support for intra-module callback functions.
 
-       Changes triggered by
+       This is needed especially for `make multi' with C++.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3107
+       * include/freetype/config/ftconfig.h (FT_BASE_CALLBACK,
+       FT_BASE_CALLBACK_DEF): New macros.
 
-       * src/truetype/ttinterp.c (Ins_MDRP, Ins_MIRP, Ins_ALIGNPTS): Use
-       NEG_LONG.
+2017-12-25  Ewald Hew  <ewaldhew@gmail.com>
 
-2017-08-17  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       Move PostScript drivers' property handlers to `base'.
 
-       [sfnt] Avoid synthetic unicode for symbol fonts with PUA.
+       This reduces the amount of duplicated code across PostScript
+       drivers.
 
-       Reported as
+       * src/cff/cffdrivr.c, src/cid/cidriver.c, src/type1/t1driver.c
+       ({cff,cid,t1}_property_{get,set}): Moved to...
+       * include/freetype/internal/ftpsprop.h: ...this new file.
+       (ps_property_{get,set}): New functions to replace moved ones.
 
-         https://bugs.chromium.org/p/chromium/issues/detail?id=754574
+       * src/base/ftpsprop.c: New file that implements above functions.
 
-       * src/sfnt/sfobjs.c (sfnt_load_face): Check for FT_ENCODING_MS_SYMBOL.
+       * include/freetype/internal/internal.h
+       (FT_INTERNAL_POSTSCRIPT_PROPS_H): New macro.
 
-2017-08-16  Werner Lemberg  <wl@gnu.org>
+       * src/cff/cffdrivr.c, src/cid/cidriver.c, src/type1/t1driver.c:
+       Updated.
 
-       * src/sfnt/pngshim.c (premultiply_data): Fix compiler warnings.
+       * src/base/Jamfile, src/base/rules.mk (BASE_SRC), src/base/ftbase.c:
+       Updated.
 
-2017-08-15  Behdad Esfahbod  <behdad@behdad.org>
+2017-12-20  Werner Lemberg  <wl@gnu.org>
 
-       [sfnt] Speed up PNG image loading.
+       Speed up FT_Set_Var_{Design,Blend}_Coordinates if curr == new.
 
-       This reduces the overhead of `premultiply_data' by 60%.
+       We exit early if the current design or blend coordinates are
+       identical to the new ones.
 
-       * src/sfnt/pngshim.c (premultiply_data): Provide code which uses
-       gcc's (and clang's) `vector_byte' attribute to process 4 pixels at a
-       time.
+       * src/truetype/ttgxvar.c (tt_set_mm_blend, TT_Set_Var_Design):
+       Implement it, returning internal error code -1 if there will be no
+       variation change.
 
-2017-08-11  Werner Lemberg  <wl@gnu.org>
+       * src/type1/t1load.c (t1_set_mm_blend): Ditto.
 
-       [sfnt, truetype] Improve handling of missing sbits.
+       * src/base/ftmm.c (FT_Set_Var_Design_Coordinates,
+       FT_Set_MM_Blend_Coordinates, FT_Set_Var_Blend_Coordinates): Updated.
 
-       Requested by Behdad.
+2017-12-18  Werner Lemberg  <wl@gnu.org>
 
-       Modern bitmap-only SFNTs like `NotoColorEmoji.ttf' don't contain
-       entries in the bitmap strike(s) for empty glyphs.  Instead, they
-       rely that a space glyph gets created from the font's metrics data.
-       This commit makes FreeType behave accordingly.
+       [sfnt] Fix charmap type 2 iterator (#52646).
 
-       * include/freetype/fterrdef.h (FT_Err_Missing_Bitmap): New error
-       code.
+       The subsetted demo font of the report that exhibits the bug has a
+       very unusual type 2 cmap for Unicode(!): It contains only two
+       sub-headers, one for one-byte characters (covering the range 0x20 to
+       0xFA), and a second one for higher byte 0x01 (just for character
+       code U+0131).
 
-       * src/sfnt/ttsbit.c (tt_sbit_decoder_load_image): Change error codes
-       to make a distinction between a missing bitmap in a composite and a
-       simple missing bitmap.
+       Before this commit, the iterator wasn't able to correctly handle a
+       sub-header for higher byte 0x01.
 
-       * src/truetype/ttgload.c (TT_Load_Glyph): For a missing bitmap (in a
-       bitmap-only font), synthesize an empty bitmap glyph if metrics are
-       available.
+       * src/sfnt/ttcmap.c (tt_cmap2_char_next): Fix character increment
+       for outer loop.
 
-2017-08-10  Werner Lemberg  <wl@gnu.org>
+2017-12-18  Matthias Clasen  <matthias.clasen@gmail.com>
 
-       [base] Minor API improvement for default variation axis setting.
+       [truetype] Fix clamping, minor tracing code beautification.
 
-       * src/base/ftmm.c (FT_Set_MM_Design_Coordinates,
-       FT_Set_Var_Design_Coordinates, FT_Set_MM_Blend_Coordinates,
-       FT_Set_Var_Blend_Coordinates): Allow coords==NULL if num_coords==0.
+       * src/truetype/ttgxvar.c (ft_var_to_normalized): Trace number of
+       design coordinates.
+       Use clamped value.
 
-       * docs/CHANGES: Updated.
+2017-12-18  Werner Lemberg  <wl@gnu.org>
 
-2017-08-08  Werner Lemberg  <wl@gnu.org>
+       * src/*/*: Only use `ft_' and `FT_' variants of stdc library stuff.
 
-       [psnames] Really fix issue #49949.
+2017-12-18  Werner Lemberg  <wl@gnu.org>
 
-       We now use a separate preprocessor macro to handle both definition
-       and declaration of the glyph name arrays.
+       * src/truetype/ttgxvar.c (tt_face_vary_cvt): Add size guard (#52688).
 
-       * src/psnames/psmodule.c (DEFINE_PS_TABLE_DATA): New macro.
+2017-12-18  Werner Lemberg  <wl@gnu.org>
 
-       * src/tools/glnames.py (StringTable::dump,
-       StringTable::dump_sublist): Use `DEFINE_PS_TABLE_DATA'.
-       (dump_encoding): Ditto.
-       (main): Use `wb' mode for writing the output file, which works on
-       Windows also.
+       [truetype] Fix previous commit.
 
-       * src/psnames/pstables.h: Regenerated.
+       * src/truetype/ttgload.c (TT_Process_Simple_Glyph): Correctly handle
+       unhinted phantom points, which must be properly scaled.
 
-2017-08-08  Alexei Podtelezhnikov  <apodtele@gmail.com>
+2017-12-18  Werner Lemberg  <wl@gnu.org>
 
-       [smooth] Harmony LCD rendering.
+       [truetype] Don't apply HVAR and VVAR deltas twice (#52683).
 
-       This is a new technology for LCD-optimized rendering. It capitalizes
-       on the fact that each color channel grid is shifted by a third of a
-       pixel.  Therefore it is logical to render 3 separate monochrome
-       bitmaps shifting the outline by 1/3 pixel, and then combine them.
-       Importantly, the resulting output does not require additional LCD
-       filtering.
+       * src/truetype/ttgload.c (TT_Process_Simple_Glyph): Always adjust
+       `pp1' to `pp4', except if we have an HVAR and/or VVAR table.
 
-       * src/smooth/ftsmooth.c (ft_smooth_render_generic)
-       [!FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Implement new LCD-optimized
-       rendering.
+       * src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Handle
+       alternative code branch identically w.r.t. presence of an HVAR
+       and/or VVAR table.
 
-       * include/freetype/ftlcdfil.h, include/freetype/freetype.h,
-       include/freetype/config/ftoption.h, devel/ftoption.h: Updated
-       documentation.
+2017-12-17  Jonathan Kew  <jfkthame@gmail.com>
 
-2017-08-08  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       [truetype] Correctly handle variation font phantom points (#52683).
 
-       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Clean up.
+       * src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Fix phantom
+       point indices.
 
-2017-08-08  Alexei Podtelezhnikov  <apodtele@gmail.com>
+2017-12-17  Jonathan Kew  <jfkthame@gmail.com>
 
-       * src/sfnt/ttpost.c (format): Use otspec-compliant versions.
+       Fix incorrect advance width scaling (#52683).
 
-2017-08-05  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftadvance.c (FT_Get_Advances): Always respect the
+       FT_LOAD_NO_SCALE flag if present.
 
-       [truetype] Integer overflow.
+2017-12-16  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       Reported as
+       * builds/windows/vc2010/freetype.vcxproj: AfterBuild copy.
+       * objs/.gitignore: Ignore almost everything.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2868
+2017-12-11  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttinterp.c (Ins_ALIGNRP): Use NEG_LONG.
+       Fix compiler warning (#52640).
 
-2017-08-05  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftbitmap.c (ft_bitmap_assure_buffer): Remove unused
+       variable.
 
-       [base, truetype] New function `FT_Get_Var_Axis_Flags'.
+2017-12-08  Azzuro  <azzuro@team-mediaportal.com>
 
-       The reserved `flags' field got a value in OpenType version 1.8.2;
-       unfortunately, the public `FT_Var_Axis' structure misses the
-       corresponding element.  Since we can't add a new field, we add an
-       access function.
+       * builds/windows/vc2010/freetype.vcxproj: Adjust output directory.
 
-       * src/base/ftmm.c (FT_Get_Var_Axis_Flags): New function.
+       This allows builds with different configurations in parallel.
 
-       * include/freetype/ftmm.h (FT_VAR_AXIS_FLAG_HIDDEN): New macro.
-       Updated.
+2017-12-08  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Increase allocated memory
-       of `mmvar' to hold axis flags.
-       Fill the axis flags array.
+       Fix `make setup dos', second try (#52622).
 
-       * docs/CHANGES: Updated.
+       * builds/detect.mk (dos_setup): Don't use literal `>' character at
+       all.  Mixing the different escaping rules from make, dos, and
+       windows is too fragile.
 
-2017-08-03  Nikolaus Waxweiler  <madigens@gmail.com>
+2017-12-08  Werner Lemberg  <wl@gnu.org>
 
-       [truetype] Fix metrics of B/W hinting in v40 mode.
+       [docmaker] Fix code section parsing.
 
-       Phantom points are now saved outside v40 backwards compatibility
-       mode.  This fixes the jumping glyphs when switching between v35 and
-       v40 monochrome mode.
+       Stuff like
 
-       * src/truetype/ttgload.c (TT_Hint_Glyph): Fix inversed bool logic.
+         {
+           <bla>
+         }
 
-2017-08-03  Nikolaus Waxweiler  <madigens@gmail.com>
+       confused the parser, which incorrectly treated `<bla>' as a markup
+       tag.
 
-       [truetype] Do not set any ClearType flags in v40 monochrome mode.
+       * src/tools/docmaker/content.py (ContentProcessor::process_content):
+       Apply `re_markup_tags' only outside of code sections.
 
-       This fixes weird behavior of instructions that resulted in rendering
-       differences between v35 and v40 in monochrome mode, e.g., in
-       `timesbi.ttf'.
+2017-12-08  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttinterp.c (Ins_GETINFO)
-       [TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL]: Check
-       `subpixel_hinting_lean'.
+       New `ftdriver.h' file, covering all driver modules.
 
-2017-08-01  Werner Lemberg  <wl@gnu.org>
+       This reduces redundancy and increases synergy; it also reduces the
+       number of header files.
 
-       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Fix thinko.
+       * include/freetype/config/ftheader.h (FT_DRIVER_H): New macro.
+       (FT_AUTOHINTER_H, FT_CFF_DRIVER_H, FT_TRUETYPE_DRIVER_H,
+       FT_PCF_DRIVER_H, FT_TYPE1_DRIVER_H): Make them aliases to
+       FT_DRIVER_H.
 
-2017-08-01  Behdad Esfahbod  <behdad@behdad.org>
+       * include/freetype/ftautoh.h, include/freetype/ftcffdrv.h,
+       include/freetype/ftpcfdrv.h, include/freetype/ftt1drv.h,
+       include/freetype/ftttdrv.h: Replaced with...
+       * include/freetype/ftdriver.h: ...this new file.
+       (FT_CFF_HINTING_ADOBE, FT_T1_HINTING_ADOBE): Renamed to...
+       (FT_HINTING_ADOBE): ... this new macro.
+       (FT_CFF_HINTING_FREETYPE, FT_T1_HINTING_FREETYPE): Renamed to...
+       (FT_HINTING_FREETYPE): ... this new macro.
 
-       [truetype] Fix loading of named instances.
+       * src/*/*: Updated accordingly.
 
-       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Preserve file position
-       while loading the `avar' table.
+2017-12-08  Werner Lemberg  <wl@gnu.org>
 
-2017-08-01  Werner Lemberg  <wl@gnu.org>
+       Move `ftdriver.h' to `ftdrv.h'.
 
-       [sfnt, truetype] Minor adjustments for OpenType 1.8.2.
+       * include/freetype/internal/ftdriver.h: Renamed to...
+       * include/freetype/internal/ftdrv.h: ... this name.
 
-       * src/sfnt/sfobjs.c (sfnt_load_face): The units per EM value has now
-       (tighter) limits.
+       * include/freetype/internal/internal.h (FT_INTERNAL_DRIVER_H):
+       Updated.
 
-       * src/truetype/ttgload.c (load_truetype_glyph): The new OpenType
-       version explicitly allows all negative values for the number of
-       contours if we have a composite glyph (this is for better backwards
-       compatibility I guess), but it still recommends value -1.
+2017-12-08  Werner Lemberg  <wl@gnu.org>
 
-2017-07-26  Werner Lemberg  <wl@gnu.org>
+       Fix access to uninitalized memory (#52613).
 
-       [cff] Integer overflow.
+       Also reported as
 
-       Reported as
+         https://bugs.chromium.org/p/chromium/issues/detail?id=791317
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2738
+       * src/base/ftbitmap.c (ft_bitmap_assure_buffer): If increasing the
+       bitmap size needs a larger bitmap buffer, assure that the new memory
+       areas are initialized also.
 
-       * src/cff/cf2hints.c (cf2_glyphpath_computeOffset,
-       cf2_glyphpath_curveTo): Use ADD_INT32.
+2017-12-08  Werner Lemberg  <wl@gnu.org>
 
-2017-07-13  Werner Lemberg  <wl@gnu.org>
+       Fix `make setup dos' (#52622).
 
-       [base] Fix memory leak.
+       * builds/detect.mk (dos_setup): Properly escape literal `>'
+       character.
 
-       Reported as
+2017-12-07  Werner Lemberg  <wl@gnu.org>
 
-         https://bugs.chromium.org/p/chromium/issues/detail?id=738362
+       Fix C++ compilation.
 
-       * src/base/ftglyph.c (FT_Get_Glyph): Do proper deallocation in case
-       of error.
+       * src/psaux/psauxmod.h: Use FT_CALLBACK_TABLE macro where necessary.
 
-2017-07-12  Werner Lemberg  <wl@gnu.org>
+       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Fix warning.
 
-       [base] Integer overflow.
+2017-12-07  Werner Lemberg  <wl@gnu.org>
 
-       Reported as
-
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2573
+       Fix `make multi'.
 
-       * src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics): Use
-       FT_PIX_CEIL_LONG and FT_PIX_ROUND_LONG.
+       * include/freetype/internal/fttrace.h: Remove unused tracing macros.
+       s/pshalgo2/pshalgo/.
+       Add `trace_cffdecode'.
+       * src/pshinter/pshalgo.c (FT_COMPONENT): Updated.
 
-2017-07-12  Werner Lemberg  <wl@gnu.org>
+       * src/cff/cffload.c: Include FT_INTERNAL_POSTSCRIPT_AUX_H.
+       * src/cff/cffobjs.c: Include FT_SERVICE_METRICS_VARIATIONS_H and
+       FT_SERVICE_CFF_TABLE_LOAD_H.
 
-       * src/truetype/ttpload.c (tt_face_get_location): Off-by-one typo.
+       * src/cid/cidriver.c: Include FT_INTERNAL_POSTSCRIPT_AUX_H.
 
-       Also improve tracing message.
+       * src/psaux/cffdecode.c: Include FT_FREETYPE_H and
+       FT_INTERNAL_DEBUG_H.
+       (FT_COMPONENT): Define.
+       * src/psaux/cffdecode.h: Include FT_INTERNAL_POSTSCRIPT_AUX_H.
+       * src/psaux/psauxmod.h: Include FT_INTERNAL_POSTSCRIPT_AUX_H.
+       Declare `cff_builder_funcs' and `ps_builder_funcs'.
+       * src/psaux/psft.c: Include `psobjs.h' and `cffdecode.h'.
+       * src/psaux/psobjs.c : Include `psauxmod.h'.
 
-       Problem reported as
+2017-12-07  Werner Lemberg  <wl@gnu.org>
 
-         https://bugs.chromium.org/p/chromium/issues/detail?id=738919
+       * include/freetype/config/ftheader.h: Some clean-up.
 
-2017-07-07  Werner Lemberg  <wl@gnu.org>
+       This commit removes documentation of deprecated macros and does some
+       minor streamlining.
 
-       [cff] Integer overflow.
+2017-12-06  Werner Lemberg  <wl@gnu.org>
 
-       Reported as
+       * builds/symbian/bld.inf: Updated.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2517
+2017-12-06  Werner Lemberg  <wl@gnu.org>
 
-       * src/cff/cf2blues.c (cf2_blues_capture): Use SUB_INT32.
+       New header file `ftparams.h' that collects all parameter tags.
 
-2017-07-05  Werner Lemberg  <wl@gnu.org>
+       * include/freetype/config/ftheader.h (FT_PARAMETER_TAGS_H): New
+       macro.
+       (FT_TRUETYPE_UNPATENTED_H, FT_UNPATENTED_HINTING_H): Define it to
+       `ftparams.h'.
 
-       * src/sfnt/ttcmap.c (tt_cmap_unicode_class_rec): Fix warning.
+       * include/freetype/ftautoh.h, include/freetype/ftcffdrv.h,
+       include/freetype/ftincrem.h, include/freetype/ftlcdfil.h,
+       include/freetype/ftsnames.h, include/freetype/ftt1drv.h: Include
+       FT_PARAMETER_TAGS_H.
+       Move FT_PARAM_TAG_XXX definitions to...
+       * include/freetype/ftparams.h: ...this new file.
 
-2017-07-05  Werner Lemberg  <wl@gnu.org>
+       * include/freetype/ttunpat.h: Remove.  No longer needed.
 
-       * src/truetype/ttgxvar.c (FT_Stream_SeekSet): Fix warning (#51395).
+2017-12-05  Werner Lemberg  <wl@gnu.org>
 
-2017-07-04  Werner Lemberg  <wl@gnu.org>
+       Improve tracing messages by using singular and plural forms.
 
-       [truetype] Prevent address overflow (#51365).
+       * src/*/*.c: Implement it.
 
-       * src/truetype/ttgxvar.c (FT_Stream_SeekSet): Add guard.
+2017-12-04  Werner Lemberg  <wl@gnu.org>
 
-2017-07-03  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       [truetype] Allow shared points in `cvar' table (#52532).
 
-       * src/base/ftlcdfil.c (ft_lcd_filter_fir): Improve code.
+       * src/truetype/ttgxvar.c (tt_face_vary_cvt): Implement it by copying
+       and adjusting the corresponding code from
+       `TT_Vary_Apply_Glyph_Deltas'.
 
-2017-07-03  Werner Lemberg  <wl@gnu.org>
+2017-11-28  Werner Lemberg  <wl@gnu.org>
 
-       [truetype] Integer overflow.
+       [truetype] Improving tracing of composite glyphs.
 
-       Reported as
+       * src/truetype/ttgload.c (TT_Load_Composite_Glyph)
+       [FT_DEBUG_LEVEL_TRACE]: Show composite glyph information.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2455
+2017-11-27  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttinterp.c (Ins_SCFS): Use SUB_LONG.
+       [type1] Allow (again) `/Encoding' with >256 elements (#52464).
 
-2017-07-01  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       In version 2.6.1, this has been disallowed to better reject
+       malformed fonts; however, this restriction was too strong.  This
+       time, we only take the first 256 elements into account, since
+       encoding arrays are always accessed with a 8bit integer, according
+       to the PostScript Language Reference.
 
-       * src/sfnt/sfobjs.c (sfnt_load_face): Ignore No_Unicode_Glyph_Name.
+       * src/type1/t1load.c (parse_encoding): Implement it.
 
-2017-06-28  Ben Wagner  <bungeman@google.com>
+2017-11-27  Jan Alexander Steffens (heftig)  <jan.steffens@gmail.com>
 
-       Avoid Microsoft compiler warnings (#51331).
+       Fix last commit (#52522).
 
-       While clang's sanitizer recommends a cast to unsigned for safe
-       negation (to handle -INT_MIN), both MSVC and Visualc emit warning
-       C4146 if an unsigned value gets negated.
+       * builds/freetype.mk: Set `FT_OPTION_H' and `FTOPTION_FLAG'
+       properly if we have `ftoption.h' in `BUILD_DIR'.
 
-       * include/freetype/internal/ftcalc.h (NEG_LONG, NEG_INT32),
-       src/base/ftcalc.c (FT_MOVE_SIGN): Replace negation with a
-       subtraction.
+2017-11-24  Werner Lemberg  <wl@gnu.org>
 
-2017-06-27  Werner Lemberg  <wl@gnu.org>
+       [unix] Install a massaged `ftoption.h' file (#51780).
 
-       * src/cff/cffparse.c (do_fixed): Fix typo.
+       * builds/unix/configure.raw (ftoption_set, ftoption_unset): New
+       auxiliary functions to construct...
+       (FTOPTION_H_SED): ... this new variable.
+       Apply it as a sed argument while copying `ftoption.h' to the
+       `builds/unix' directory (using `AC_CONFIG_FILES').
+       Simplify code of test that checks cpp's computation of bit length
+       (the test previously created an empty `ftoption.h' file and deleted
+       it immediately afterwards); without this change, it can happen on my
+       GNU/Linux box that `configure's execution of `config.status' doesn't
+       create `ftoption.h' (no idea why this happens).
 
-       Spotted by chris <chris@gcjd.org>.
+       * builds/unix/install.mk (install): Install
+       `builds/unix/ftoption.h'.
 
-2017-06-27  Werner Lemberg  <wl@gnu.org>
+       * builds/unix/unix-def.in (DISTCLEAN): Updated.
 
-       [truetype] Integer overflows.
+       * builds/unix/.gitignore: Updated.
 
-       Reported as
+2017-11-23  Tor Andersson  <tor.andersson@artifex.com>
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2384
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2391
+       Silence unused function warnings (#52465).
 
-       * src/base/ftcalc.c (FT_MulDiv, FT_MulDiv_No_Round, FT_DivFix): Use
-       NEG_LONG.
+       Some static function declarations cause unused function warnings if
+       certain config options are turned off via `ftoption.h'.
 
-       * src/truetype/ttinterp.c (Ins_SxVTL): Use NEG_LONG.
+       * src/base/ftbase.h, src/base/ftrfork.c, src/sfnt/ttbdf.h,
+       src/truetype/ttgxvar.h: Add #ifdef guards around these sections.
 
-2017-06-24  Werner Lemberg  <wl@gnu.org>
+2017-11-22  Ewald Hew  <ewaldhew@gmail.com>
 
-       [truetype] Integer overflows.
+       * src/psaux/psft.c (cf2_setGlyphWidth): Check format before setting.
 
        Reported as
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2364
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4377
 
-       * src/truetype/ttinterp.c (Ins_ISECT): Use NEG_LONG.
+2017-11-22  Ewald Hew  <ewaldhew@gmail.com>
 
-2017-06-22  Werner Lemberg  <wl@gnu.org>
+       [psaux] Fix CFF advance widths. (#52466)
 
-       [cff, truetype] Integer overflows.
+       Glyph advance widths were being written to the new `PS_Decoder' but not
+       saved to the underlying format specific decoder. This caused pure CFF
+       fonts to have bad advance width.
 
-       Reported as
+       * include/freetype/internal/psaux.h (PS_Decoder): Change `glyph_width'
+       field to pointer.
+       Remove unused fields.
+       * src/psaux/psobjs.c (ps_decoder_init): Change `glyph_width' from copy
+       to reference.
+       Remove unused.
+       * src/psaux/psft.c (cf2_setGlyphWidth): Update code.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2323
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2328
+2017-11-15  Vlad Tsyrklevich  <vtsyrklevich@google.com>
 
-       * src/cff/cf2blues.c (cf2_blues_capture): Use ADD_INT32 and
-       SUB_INT32.
+       * include/freetype/ftrender.h: Fix `FT_Renderer_RenderFunc' type.
 
-       * src/truetype/ttinterp.c (Ins_SDPVTL): Use SUB_LONG and NEG_LONG.
+2017-11-14  Nikolaus Waxweiler  <madigens@gmail.com>
 
-2017-06-21  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       Use Adobe hinting engine for `light' hinting of both CFF and Type 1.
 
-       [sfnt] Synthesize a Unicode charmap if one is missing.
+       Since Ewald Hew factored the Adobe hinting engine out of the CFF
+       driver code, we can now use it on Type 1 (and CID) font formats, as
+       both have the same hinting philosophy.
 
-       * src/sfnt/ttcmap.h (tt_cmap_unicode_class_rec): Declare it.
-       * src/sfnt/ttcmap.c (tt_get_glyph_name, tt_cmap_unicode_init,
-       tt_cmap_unicode_done, tt_cmap_unicode_char_index,
-       tt_cmap_unicode_char_next, tt_cmap_unicode_class_rec): Implement
-       synthetic Unicode charmap class.
-       (tt_get_cmap_info): Make sure the callback is available.
+       This change activates the Adobe hinter when in LIGHT mode, and
+       therefore always unless explicitly asking for the auto-hinter.  This
+       makes LIGHT behavior consistent with CFF fonts.  As of this commit,
+       the hinting engine table looks as follows.
 
-       * src/sfnt/sfobjs.c (sfnt_load_face)
-       [FT_CONFIG_OPTION_POSTSCRIPT_NAMES]: If Unicode charmap is missing,
-       synthesize one.
+                    LIGHT  NORMAL
+         -------------------------
+          TrueType  Auto   v40
+          CFF       Adobe  Adobe
+          Type 1    Adobe  Adobe
 
-       * include/freetype/config/ftoption.h: Document it.
-       * devel/ftoption.h: Ditto.
+2017-11-10  Yuri Levchenko  <yuri_levchenko@boolat.com>
 
-2017-06-20  Tony Theodore  <tonyt@logyst.com>
+       * CMakeLists.txt: Add `DISABLE_FORCE_DEBUG_PREFIX' option.
 
-       Fix pkg-config in freetype-config for cross-compiling (#51274).
+2017-11-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * builds/unix/unix-def.in (PKG_CONFIG): New variable.
-       (freetype-config): Use it in sed expression.
+       * src/base/ftobjs.c (FT_Load_Glyph): Relocate condition.
 
-       * builds/unix/freetype-config.in: s/pkg-config/%PKG_CONFIG%/.
+2017-11-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-2017-06-20  Werner Lemberg  <wl@gnu.org>
+       * src/smooth/ftgrays.c (gray_set_cell): Fix uninitialized variables.
 
-       [cff, truetype] Integer overflows.
+2017-11-03  Ewald Hew  <ewaldhew@gmail.com>
 
-       Reported as
+       [psaux] Fix PostScript interpreter rewinding in Type 1 mode. (#52251)
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2300
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2313
+       The interpreter in Type 1 mode rewinds the charstring after collecting
+       all hints for building the initial hintmap (commit d52dd7f). However,
+       some charstrings use `endchar' in a final subroutine call, rewinding to
+       the start of that subroutine, and only a small section of the actual
+       glyph is drawn.
 
-       * src/cff/cf2hints.c (cf2_hintmap_adjustHints): Use ADD_INT32.
+       * src/psaux/psintrp.c (cf2_interpT2CharString) <cf2_cmdENDCHAR>:
+       Ensure we are on the top level charstring before rewinding.
 
-       * src/truetype/ttinterp.c (Ins_ABS): Avoid FT_ABS.
+2017-11-03  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
-2017-06-17  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       [truetype] Add more tricky fonts.
 
-       [base, smooth] LCD filtering cleanups.
+       See the report by Yang Yinsen.
+       https://lists.gnu.org/archive/html/freetype-devel/2017-11/msg00000.html
 
-       * src/base/ftlcdfil.c (ft_lcd_filter_fir, _ft_lcd_filter_legacy):
-       Clean up, start filtering from the bottom-left origin.
+       * src/truetype/ttobjs.c (trick_names): Add `DFGothic-EB',
+       `DFGyoSho-Lt', `DFHSGothic-W5', `DFHSMincho-W3' and `DFHSMincho-W7'.
+       (tt_check_trickyness_sfnt_ids): Add checksums for DFGothic-EB,
+       DFGyoSho-Lt, DFHSGothic-W5, DFHSMincho-W3 and DFHSMincho-W7.  Also
+       add checksums for DLCLiShu and DLCHayBold which their family names
+       were already listed but their checksums were previously unknown.
 
-       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Updated.
+2017-11-01  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-2017-06-16  Werner Lemberg  <wl@gnu.org>
+       [smooth] Fix complex rendering at high ppem.
 
-       [truetype] Integer overflows.
+       We used to split large glyphs into horizontal bands and continue
+       bisecting them still horizontally if that was not enough.  This is
+       guaranteed to fail when a single scanline cannot fit into the
+       rendering memory pool.  Now we bisect the bands vertically so that
+       the smallest unit is a column of the band height, which is guranteed
+       to fit into memory.
 
-       Reported as
+       * src/smooth/ftgrays.c (gray_convert_glyph): Implement it.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2270
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2276
+2017-10-20  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/truetype/ttinterp.c (Ins_MDRP, _iup_worker_interpolate): Use
-       ADD_LONG and SUB_LONG.
+       [smooth] Improve complex rendering at high ppem.
 
-2017-06-15  Werner Lemberg  <wl@gnu.org>
+       At large sizes almost but not exactly horizontal segments can quickly
+       drain the rendering pool. This patch at least avoids filling the pool
+       with trivial cells. Beyond this, we can only increase the pool size.
 
-       [bdf, cff] Integer overflows.
+       Reported, analyzed, and tested by Colin Fahey.
 
-       Reported as
+       * src/smooth/ftgrays.c (gray_set_cell): Do not record trivial cells.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2244
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2261
+2017-10-20  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/bdf/bdfdrivr.c (BDF_Face_Init): Replace calls to FT_ABS with
-       direct code to avoid value negation.
+       [base] Improve tracing in FT_Load_Glyph, FT_*_Size.
 
-       * src/cff/cf2blues.c (cf2_blues_capture): Use SUB_INT32 and
-       ADD_INT32.
+       * src/base/ftobjs.c (FT_Load_Glyph): Tag tracing messages with
+       function name, glyph index, and load flags.
+       (FT_Select_Metrics, FT_Request_Metrics): Remove all tracing.
+       (FT_Select_Size, FT_Request_Size): Improve tracing.
 
-2017-06-13  Werner Lemberg  <wl@gnu.org>
+2017-10-18  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/winfonts/winfnt.c (FNT_Face_Init): Don't set active encoding.
+       [base] Improve tracing in FT_Render_Glyph.
 
-       FreeType only sets a default active encoding for Unicode.
+       * src/base/ftobjs.c (FT_Render_Glyph_Internal): Add total coverage
+       calculations and downgrade Netpbm dump to bitmap:7.
 
-2017-06-13  Werner Lemberg  <wl@gnu.org>
+2017-10-15  Ewald Hew  <ewaldhew@gmail.com>
 
-       [cff, truetype] Integer overflows.
+       [cff] Fix segfault on missing `psaux' (#52218)
 
-       Reported as
+       * src/cff/cffload.c (cff_done_blend): Add a check for possible nullptr.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2216
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2218
+       * modules.cfg: Update dependency list.
 
-       * src/cff/cf2fixed.h (cf2_fixedAbs): Use NEG_INT32.
+2017-10-15  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/truetype/ttinterp.c (Ins_IP): Use SUB_LONG.
+       [base, cff] Fix MSVC warnings.
 
-2017-06-11  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftobjs.c (FT_New_Library): C4702: unreachable code.
+       (ft_glyphslot_preset_bitmap): C4244: possible loss of data.
+       * src/cff/cffload.c (cff_blend_doBlend): C4244: possible loss of data.
+       Turn `sum' into unsigned.
 
-       [cff] Integer overflows.
+2017-10-14  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       Reported as
+       [base] Netpbm image tracing.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2200
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2210
+       * src/base/ftobjs.c (FT_Load_Glyph): Trace bitmap size.
+       (FT_Render_Glyph_Internal): Trace bitmap in Netpbm format.
 
-       * src/cff/cf2hints.c (cf2_hintmap_insertHint): Use SUB_INT32 and
-       ADD_INT32.
+       * src/smooth/ftgrays.c (gray_sweep): Sweep remnants of span tracing.
 
-       * src/cff/cf2intrp.c (cf2_interpT2CharString) <cf2_cmdVMOVETO>: Use
-       ADD_INT32.
+2017-10-14  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-2017-06-10  Werner Lemberg  <wl@gnu.org>
+       * builds/windows/ftdebug.c (FT_Message): Print to stderr.
+       * builds/wince/ftdebug.c (FT_Message): Ditto.
 
-       [truetype] Fix TT_Set_Var_Design.
+2017-10-14  Behdad Esfahbod  <behdad@behdad.org>
 
-       Reported by Nikolaus Waxweiler <madigens@gmail.com>.
+       [afshaper] Delay creating `hb_set' objects until needed.
 
-       * src/truetype/ttgxvar.c (TT_Set_Var_Design): Correctly handle the
-       case where we have less input coordinates than axes.
+       In runs on Noto Naskh Arabic, this results in 89 sets created
+       instead of 340 before.  Makes auto-hinter setup with HarfBuzz
+       enabled 20% to 30% faster.
 
-2017-06-10  Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afshaper.c (af_shaper_get_coverage): Implement it.
 
-       * src/base/ftcalc.c (FT_DivFix): Fix embarrassing typo.
+2017-10-12  Ewald Hew  <ewaldhew@gmail.com>
 
-       Bug introduced 2017-05-28.
+       [type1, cid] Add hinting engine switch.
 
-2017-06-09  Werner Lemberg  <wl@gnu.org>
+       Implement property service in `type1' and `cid' drivers to allow
+       switching between FreeType or Adobe hinting engine when both are
+       available.
 
-       [cff, truetype] Integer overflows.
+       * src/cid/cidriver.c (cid_property_{set,get}, cid_services),
+       src/type1/t1driver.c (t1_property_{set,get}, t1_services): Add
+       Properties service.
 
-       Reported as
+       * src/cid/cidobjs.c (cid_driver_init), src/type1/t1objs.c
+       (T1_Driver_Init): Add default property values.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2144
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2151
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2153
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2173
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2186
+2017-10-12  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/cff/cf2blues.c (cf2_blues_init): Use SUB_INT32.
+       Add T1_CONFIG_OPTION_OLD_ENGINE configuration option.
 
-       * src/truetype/ttinterp.c (Round_None, Round_To_Grid,
-       Round_To_Half_Grid, Round_Down_To_Grid, Round_Up_To_Grid,
-       Round_To_Double_Grid, Round_Super, Round_Super_45): Use ADD_LONG,
-       SUB_LONG, NEG_LONG, FT_PIX_ROUND_LONG, FT_PIX_CEIL_LONG,
-       FT_PAD_ROUND_LONG
-       (Ins_SxVTL, Ins_MIRP): Use SUB_LONG.
-       (_iup_worker_shift): Use SUB_LONG and ADD_LONG.
+       This controls whether the old Type 1 engine gets compiled into FreeType.
+       It is disabled by default.
 
-2017-06-09  Werner Lemberg  <wl@gnu.org>
+       * devel/ftoption.h, include/freetype/config/ftoption.h
+       (T1_CONFIG_OPTION_OLD_ENGINE): New macro.
 
-       Provide more macros for flooring, ceiling, and rounding.
+       * include/freetype/internal/psaux.h (PS_Decoder): Remove unused field.
+       * include/freetype/internal/psaux.h, src/cid/cidgload.c
+       (cid_load_glyph), src/psaux/psauxmod.c, src/psaux/psobjs.c
+       (ps_builder_add_point), src/psaux/t1decode.c
+       (t1_lookup_glyph_by_stdcharcode, t1_decoder_parse_glyph,
+       t1operator_seac, t1_decoder_parse_charstrings), src/psaux/t1decode.h,
+       src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String): Surround
+       relevant code with macro.
+       Minor code changes.
 
-       These versions don't produce run-time errors due to integer
-       overflow.
+2017-10-12  Ewald Hew  <ewaldhew@gmail.com>
 
-       * include/freetype/internal/ftobjs.h: Include FT_INTERNAL_CALC_H.
-       (FT_PAD_ROUND_LONG, FT_PAD_CEIL_LONG, FT_PIX_ROUND_LONG,
-       FT_PIX_CEIL_LONG): New macros.
-       (FT_PAD_ROUND_INT32, FT_PAD_CEIL_INT32, FT_PIX_ROUND_INT32,
-       FT_PIX_CEIL_INT32): New macros.
+       Extract width parsing from Type 1 parser.
 
-2017-06-09  Werner Lemberg  <wl@gnu.org>
+       Duplicate the fast advance width calculations from the old parser.
+       This is to facilitate adding options for compiling out the old parser.
 
-       Remove unused macros.
+       * src/psaux/t1decode.{c,h} (t1_decoder_parse_metrics): New function.
+       * include/freetype/internal/psaux.h (T1_Decoder_Funcs): New entry
+       `parse_metrics'.
+       * src/psaux/psauxmod.c: Set the new entry.
 
-       * include/freetype/internal/ftcalc.h (ADD_INT, SUB_INT, MUL_INT,
-       NEG_INT): Deleted.
+       * src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String),
+       src/cid/cidgload.c (cid_load_glyph): Separate
+       conditional for selecting engine.
 
-2017-06-09  Werner Lemberg  <wl@gnu.org>
+2017-10-09  Werner Lemberg  <wl@gnu.org>
 
-       */*: Remove `OVERFLOW_' prefix.
+       * src/base/ftoutln.c (FT_Outline_Translate): Fix integer overflow.
 
-       This increases readability.
+       Reported as
 
-2017-06-07  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/chromium/issues/detail?id=772775
 
-       [cff, truetype] Integer overflows.
+2017-10-08  Werner Lemberg  <wl@gnu.org>
+
+       * src/base/ftobjs.c (ft_glyphslot_preset_bitmap): Integer overflows.
 
        Reported as
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2133
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2137
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3579
 
-       * src/cff/cf2hints.c (cf2_hint_init): Use OVERFLOW_SUB_INT32.
+2017-10-07  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttinterp.c (PROJECT, DUALPROJ): Use
-       OVERFLOW_SUB_LONG.
+       [sfnt] Adjust behaviour of PS font names for variation fonts.
 
-2017-06-06  Werner Lemberg  <wl@gnu.org>
+       * src/sfnt/sfdriver.c (sfnt_get_var_ps_name): Use a named instance's
+       PS name only if no variation is applied.
 
-       [cff] Integer overflows.
+2017-10-07  Werner Lemberg  <wl@gnu.org>
 
-       Reported as
+       [cff, truetype] Adjust behaviour of named instances.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2109
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2110
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2122
+       This commit completely separates the interaction between named
+       instances and variation functions.  In particular, resetting the
+       variation returns to the current named instance (if set) and not to
+       the base font.
 
-       * src/cff/cf2blues.c (cf2_blues_init): Use OVERFLOW_SUB_INT32.
+       As a side effect, variation functions no longer change the named
+       instance index.
 
-       * src/cff/cf2hints.c (cf2_hintmap_map): Synchronize if-else
-       branches.
+       * src/cff/cffobjs.c (cff_face_init): Use MM service's `set_instance'
+       function.
+       Also apply `MVAR' table to named instances.
 
-2017-06-05  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Add cast.
+       (tt_set_mm_blend): No longer check whether requested variation
+       coincides with a named instance.
+       (TT_Set_Var_Design): Use current named instance for default
+       coordinates.
+       * src/truetype/ttobjs.c (tt_face_init): Use `TT_Set_Named_Instance'.
 
-       [cff] Integer overflow.
+2017-10-07  Werner Lemberg  <wl@gnu.org>
 
-       Reported as
+       Make `FT_Set_Named_Instance' work.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2089
+       * src/cff/cffdrivr.c (cff_set_instance): New function.
+       (cff_service_multi_masters): Register it.
 
-       * src/cff/cffload.c (cff_blend_doBlend): User OVERFLOW_ADD_INT32.
+       * src/truetype/ttgxvar.c (TT_Set_Named_Instance): New function.
+       * src/truetype/ttgxvar.h: Updated.
+       * src/truetype/ttdriver.c (tt_service_gx_multi_masters): Register
+       it.
 
-2017-06-04  Werner Lemberg  <wl@gnu.org>
+       * src/type1/t1load.c (T1_Reset_MM_Blend): New function.
+       * src/type1/t1load.h: Updated.
+       * src/type1/t1driver.c (t1_service_multi_masters): Register it.
 
-       [cff, truetype] Integer overflows.
+2017-10-07  Werner Lemberg  <wl@gnu.org>
 
-       Reported as
+       Make `FT_FACE_FLAG_VARIATION' work.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2075
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2088
+       * include/freetype/internal/tttypes.h (TT_Face): Remove
+       `is_default_instance'; this can be replaced with a combination of
+       `FT_IS_VARIATION' and `FT_IS_INSTANCE'.
 
-       * src/cff/cf2font.c (cf2_font_setup): Use OVERFLOW_MUL_INT32.
+       * src/cff/cffdrivr.c (cff_get_advances): Updated.
 
-       * src/truetype/ttinterp.c (Ins_ISECT): Use OVERFLOW_MUL_LONG,
-       OVERFLOW_ADD_LONG, and OVERFLOW_SUB_LONG.
+       * src/sfnt/sfdriver.c (sfnt_get_ps_name), src/sfnt/sfobjs.c
+       (sfnt_init_face): Updated.
 
-2017-06-03  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttdriver.c (tt_get_advances), src/truetype/ttgload.c
+       (TT_Process_Simple_Glyph, load_truetype_glyph, IS_DEFAULT_INSTANCE),
+       src/truetype/ttgxvar.c (tt_set_mm_blend): Updated.
+       * src/truetype/ttgxvar.c (TT_Set_MM_Blend, TT_Set_Var_Design):
+       Handle `FT_FACE_FLAG_VARIATION'.
 
-       [base, cff, truetype] Integer overflows.
+       * src/type1/t1load.c (T1_Set_MM_Blend, T1_Set_MM_Design): Handle
+       `FT_FACE_FLAG_VARIATION'.
 
-       Reported as
+2017-10-07  Werner Lemberg  <wl@gnu.org>
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2060
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2062
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2063
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2068
+       New function `FT_Set_Named_Instance'.
 
-       * src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics): Use
-       OVERFLOW_ADD_LONG and OVERFLOW_SUB_LONG.
+       No effect yet.
 
-       * src/cff/cf2blues.c (cf2_blues_capture), src/cff/cf2hints.c
-       (cf2_hintmap_adjustHints): Use OVERFLOW_SUB_INT32.
+       * src/base/ftmm.c (FT_Set_Named_Instance): New function.
 
-       * src/truetype/ttgload.c (compute_glyph_metrics): User
-       OVERFLOW_SUB_LONG.
+       * include/freetype/ftmm.h: Updated.
 
-       * src/truetype/ttinterp.c (Direct_Move, Direct_Move_Orig,
-       Direct_Move_X, Direct_Move_Y, Direct_Move_Orig_X,
-       Direct_Move_Orig_Y, Move_Zp2_Point, Ins_MSIRP): Use
-       OVERFLOW_ADD_LONG and OVERFLOW_SUB_LONG.
+2017-10-07  Werner Lemberg  <wl@gnu.org>
 
-2017-06-03  Werner Lemberg  <wl@gnu.org>
+       Add macros for checking whether a font variation is active.
 
-       * builds/unix/freetype-config.in: Fix pkg-config test (#51162).
+       * include/freetype/freetype.h (FT_FACE_FLAG_VARIATION,
+       FT_IS_VARIATION): New macros.
+       No effect yet.
 
-       Patch directly taken from bug report.
+2017-10-07  Werner Lemberg  <wl@gnu.org>
 
-2017-06-03  Werner Lemberg  <wl@gnu.org>
+       Add framework for setting named instance in MM service.
 
-       [bdf] Synchronize sanity checks with pcf driver.
+       * include/freetype/internal/services/svmm.h (FT_Set_Instance_Func):
+       New function typedef.
+       (MultiMasters): Add `set_instance' member.
+       (FT_DEFINE_SERVICE_MULTIMASTERSREC): Updated.
 
-       Reported as
+       * src/cff/cffdrivr.c (cff_service_multi_masters),
+       src/truetype/ttdriver (tt_service_gx_multi_masters),
+       src/type1/t1driver.c (t1_service_multi_masters): Updated.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2054
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2058
+2017-10-07  Werner Lemberg  <wl@gnu.org>
 
-       * src/bdf/bdfdrivr.c (BDF_Face_Init): Check font ascent and descent.
-       Check AVERAGE_WIDTH, POINT_SIZE, PIXEL_SIZE, RESOLUTION_X, and
-       RESOLUTION_Y properties.
+       [type1] Minor code shuffling.
 
-2017-06-03  Werner Lemberg  <wl@gnu.org>
+       * src/type1/t1load.c (T1_Set_MM_Blend): Make it a wrapper of...
+       (t1_set_mm_blend): ...this new function.
+       (T1_Set_MM_Design): Use `t1_set_mm_blend'.
 
-       [cff, truetype] Integer overflows.
+2017-10-05  Werner Lemberg  <wl@gnu.org>
+
+       * src/base/ftobjs.c (ft_glyphslot_preset_bitmap): Fix integer
+       overflow.
 
        Reported as
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2047
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2057
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3539
 
-       * src/cff/cf2hints.c (cf2_hintmap_map): Use OVERFLOW_SUB_INT32.
+2017-10-05  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttinterp.c (Ins_ADD): Use OVERFLOW_ADD_LONG.
-       (Ins_SUB): Use OVERFLOW_SUB_LONG.
-       (Ins_NEG): Use NEG_LONG.
+       Fix compiler warnings.
 
-2017-06-03  Werner Lemberg  <wl@gnu.org>
+       * src/cff/cffdrivr.c (cff_ps_get_font_extra): Avoid code that relies
+       on numeric overflow.
+       Add cast.
 
-       ftcalc.h: Avoid left-shift of negative numbers.
+       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Fix variable
+       types, add cast.
 
-       Reported as
+2017-10-04  John Tytgat  <John.Tytgat@esko.com>
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2055
+       [cff] Add support for `FSType'.
 
-       * include/freetype/internal/ftcalc.h (INT_TO_F26DOT6,
-       INT_TO_F2DOT14, INT_TO_FIXED, F2DOT14_TO_FIXED): Use multiplication.
+       * include/freetype/internal/cfftypes.h (CFF_FontRec): Add
+       `font_extra' entry.
 
-2017-06-02  Werner Lemberg  <wl@gnu.org>
+       * src/cff/cffdrivr.c (cff_ps_get_font_extra): New function to
+       retrieve FSType info from the embedded PostScript data.
+       (cff_service_ps_info): Register function.
 
-       [cff] Even more integer overflows.
+       * src/cff/cffload.c (cff_font_done): Free `font_extra'.
 
-       Reported as
+2017-09-30  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2046
+       Signedness fixes in bitmap presetting.
 
-       * src/cff/cf2intrp.c (cf2_doStems, cf2_interpT2CharString): Use
-       OVERFLOW_ADD_INT32.
+       Reported as
 
-2017-06-02  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3514.
 
-       [cff] More integer overflows.
+       * src/raster/ftrend1.c (ft_raster1_render): Exlicitly signed height.
+       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Ditto.
+       * src/base/ftobjs.c (ft_glyphslot_preset_bitmap): Explicitly unsigned
+       subtraction.
 
-       Reported as
+2017-09-29  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2032
+       Bitmap metrics presetting [2/2].
 
-       * src/cff/cf2blues.c (cf2_blues_init): Use OVERFLOW_SUB_INT32.
+       * src/base/ftobjs.c (FT_Load_Glyph): Preset the bitmap metrics when
+       appropriate but `FT_Render_Glyph' is not called.
+       * include/freetype/freetype.h (FT_GlyphSlotRec): Document the change.
 
-2017-06-02  Werner Lemberg  <wl@gnu.org>
+2017-09-28  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       [bdf] Don't left-shift negative numbers.
+       [smooth, raster] Miscellaneous cleanups.
 
-       Reported as
+       * src/raster/ftrend1.c (ft_raster1_render): Clean up the exit.
+       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Reduce
+       translations and clean up the exit.
+       (ft_smooth_render_lcd, ft_smooth_render_lcd): Remove unused `error'.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2031
+2017-09-28  Ben Wagner  <bungeman@google.com>
 
-       * src/bdf/bdfdrivr.c (BDF_Face_Init): Use multiplication.
+       [truetype] Really, really fix #52082.
 
-2017-06-02  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttinterp.c (Ins_MDRP): Correct conditional.
 
-       [bdf] Fix integer scanning routines.
+2017-09-28  Werner Lemberg  <wl@gnu.org>
 
-       Reported as
+       * src/psaux/psintrp.c (cf2_doStems): Fix integer overflow.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2029
+       Reported as
 
-       * src/bdf/bdflib.c (_bdf_atoul, _bdf_atol, _bdf_atous, _bdf_atos):
-       Stop scanning if result would overflow.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3510
 
-2017-06-02  Werner Lemberg  <wl@gnu.org>
+2017-09-28  Ewald Hew  <ewaldhew@gmail.com>
 
-       [cff] Fix integer overflows.
+       * src/cid/cidgload.c (cid_slot_load_glyph): Fix memory leak.
 
        Reported as
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2027
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2028
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3489
 
-       * src/cff/cf2hints.c (cf2_hintmap_insertHint), src/cff/cf2intrp.c
-       (cf2_doFlex): Use OVERFLOW_ADD_INT32 and OVERFLOW_SUB_INT32.
+2017-09-28  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-2017-06-01  Werner Lemberg  <wl@gnu.org>
+       Bitmap metrics presetting [1/2].
 
-       [smooth] Some 32bit integer overflow run-time errors.
+       This mainly just extracts the code for presetting the bitmap metrics
+       from the monochrome, grayscale, and LCD renderers into a separate
+       function.
 
-       * src/smooth/ftgrays.c [STANDALONE] (OVERFLOW_ADD_LONG,
-       OVERFLOW_SUB_LONG, OVERFLOW_MUL_LONG, NEG_LONG): New macros.
-       [!STANDALONE]: Include FT_INTERNAL_CALC_H.
-       (gray_render_cubic): Use those macros where appropriate.
+       * src/base/ftobjs.c (ft_glyphslot_preset_bitmap): New function that
+       calculates prospective bitmap metrics for the given rendering mode.
+       * include/freetype/internal/ftobjs.h (ft_glyphslot_preset_bitmap):
+       Declare it.
 
-2017-06-01  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftlcdfil.c (ft_lcd_padding): New helper function that adds
+       padding to CBox taking into account pecularities of LCD rendering.
+       * include/freetype/ftlcdfil.h (ft_lcd_padding): Declare it.
 
-       * src/base/ftglyph.c (FT_Get_Glyph): Check `slot->advance'.
+       * src/raster/ftrend1.c (ft_raster1_render): Reworked to use
+       `ft_glyphslot_preset_bitmap'.
+       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Ditto.
+       (ft_smooth_render_lcd, ft_smooth_render_lcd): The pixel_mode setting
+       is moved to `ft_glyphslot_preset_bitmap'.
 
-2017-06-01  Werner Lemberg  <wl@gnu.org>
+2017-09-28  Ewald Hew  <ewaldhew@gmail.com>
 
-       [psaux] 32bit integer overflow tun-time errors (#46149).
+       [psaux] Fix compiler warning.
 
-       * src/psaux/t1decode.c (t1_decoder_parse_charstrings): Use
-       OVERFLOW_ADD_LONG and OVERFLOW_SUB_LONG where appropriate.
+       * src/psaux/pshints.c (cf2_hintmap_dump): Add switch for tracing
+       code.
 
-2017-06-01  Werner Lemberg  <wl@gnu.org>
+2017-09-27  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter again.
+       * src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning.
 
-       Problem reported by Marek Kašík <mkasik@redhat.com>.
+2017-09-25  Werner Lemberg  <wl@gnu.org>
 
-       The problematic font that exceeds the old limit is Padauk-Bold,
-       version 3.002, containing bytecode generated by a buggy version of
-       ttfautohint.
+       [psaux] Fix compiler warnings.
 
-2017-05-31  Werner Lemberg  <wl@gnu.org>
+       * src/psaux/psft.c (cf2_initLocalRegionBuffer): Remove redundant
+       test.
 
-       [cff] 32bit integer overflow run-time errors 2/2 (#46149).
+       * src/psaux/psintrp.c (cf2_interpT2CharString)
+       <cf2_escCALLOTHERSUBR>: Add casts.
 
-       This commit handles the new engine.
+       * src/psaux/psobjs.c (ps_decoder_init): Add cast.
 
-       * include/freetype/internal/ftcalc.h (OVERFLOW_ADD_INT32,
-       OVERFLOW_SUB_INT32, OVERFLOW_MUL_INT32, NEG_INT, NEG_LONG,
-       NEG_INT32): New macros.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/cff/cf2ft.c (cf2_getScaleAndHintFlag): Use OVERFLOW_ADD_INT32.
+       [psaux] Minor fixes.
 
-       * src/cff/cf2hints.c (cf2_getWindingMomentum, cf2_hint_init,
-       cf2_hintmap_map, cf2_glyphpath_hintPoint,
-       cf2_glyphpath_computeIntersection, cf2_glyphpath_computeOffset,
-       cf2_glyphpath_lineTo, cf2_glyphpath_curveTo): Use
-       OVERFLOW_ADD_INT32, OVERFLOW_SUB_INT32, OVERFLOW_MUL_INT32, and
-       NEG_INT32 where appropriate.
+       * include/freetype/internal/psaux.h, src/psaux/psobjs.{c,h}:
+       Rearrange `ps_builder_init' arguments to conventional order.
 
-       * src/cff/cf2intrp.c (cf2_doFlex, cf2_doBlend,
-       cf2_interpT2CharString): Ditto.
-       Also add some other code where needed to avoid overflow.
+       * src/psaux/psft.c (cf2_decoder_parse_charstrings): Add a check and
+       notice for `SubFont' in Type 1 mode.
 
-2017-05-30  Werner Lemberg  <wl@gnu.org>
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       [cff] 32bit integer overflow run-time errors 1/2 (#46149).
+       [psaux] Move `psdecode' into `psobjs'.
 
-       This commit handles the old engine.
+       As the former only contains a single procedure, move it into
+       `psobjs' for simplicity.  Also change the parameter order to the
+       conventional one.
 
-       * src/cff/cffgload.c: Include FT_INTERNAL_CALC_H.
-       (cff_decoder_parse_charstrings): Use OVERFLOW_ADD_LONG and
-       OVERFLOW_SUB_LONG where needed.
+       * src/psaux/psdecode.c (ps_decoder_init): Moved to...
+       * src/psaux/psobjs.c: ...Here.
+       * src/psaux/psdecode.h, src/psaux/psobjs.h: Ditto.
 
-       * src/cff/cffparse.c: Include FT_INTERNAL_CALC_H.
-       (power_ten_limits): New static array.
-       (do_fixed): Use it to prevent multiplication overflow.
-       (cff_parser_run): Use OVERFLOW_ADD_LONG.
+       * include/freetype/internal/psaux.h (PSAux_ServiceRec): Update
+       `ps_decoder_init' function signature.
 
-2017-05-30  Werner Lemberg  <wl@gnu.org>
+       * src/cff/cffgload.c, src/cid/cidgload.c, src/type1/t1gload.c:
+       Update calls.
 
-       [psaux] Correctly handle sequences of multiple number signs.
+       * src/psaux/psaux.c, src/psaux/psauxmod.c: Update includes.
 
-       * src/psaux/psconv.c (PS_Conv_Strtol, PS_Conv_ToFixed): Return zero
-       if we encounter more than a single sign.
+       * src/psaux/Jamfile (_sources), src/psaux/rules.mk (PSAUX_DRV_SRC):
+       Update file references.
 
-2017-05-29  Werner Lemberg  <wl@gnu.org>
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       [pcf] 32bit integer overflow run-time errors (#46149).
+       [psaux] Fix Type 1 hinting.
 
-       * src/pcf/pcfread.c (pcf_get_accel): Add sanity checks for
-       `fontAscent' and `fontDescent'.
-       (pcf_load_font): Add sanity checks for global height.
-       Add sanity checks for AVERAGE_WIDTH, POINT_SIZE, PIXEL_SIZE,
-       RESOLUTION_X, and RESOLUTION_Y properties.
+       Type 1 hinting breaks sometimes when mid-charstring hints should
+       have been in the initial hintmap.  This fix adds a preprocessing
+       pass that reads all hints and builds the correct initial hintmap
+       first, before proceeding to build the glyph outline.
 
-2017-05-29  Werner Lemberg  <wl@gnu.org>
+       * src/psaux/psintrp.c (cf2_interpT2CharString): New
+       `initial_map_ready' boolean flag.
+       Ignore outline commands and hint changes on first pass.
+       <cf2_cmdENDCHAR>: Add section to build hintmap and rewind.
 
-       Handle some integer overflow run-time errors (#46149, #48979).
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       This commit (mainly for 32bit CPUs) is the first of a series of
-       similar commits to handle known integer overflows.  Basically, all
-       of them are harmless, since they affect rendering of glyphs only,
-       not posing security threats.  It is expected that fuzzying will show
-       up more overflows, to be fixed in due course.
+       [psaux] Add tracing for hints.
 
-       The idea is to mark places where overflows can occur, using macros
-       that simply cast to unsigned integers, because overflow arithmetic
-       is well defined in this case.  Doing so suppresses run-time errors
-       of sanitizers without adding computational overhead.
+       * src/psaux/pshints.c (cf2_hintmap_dump): New function.
+       (cf2_hintmap_insertHint): Trace incoming and inserted hints.
+       (cf2_hintmap_build): Dump hintmap before and after hint adjustment.
 
-       * include/freetype/internal/ftcalc.h (OVERFLOW_ADD_INT,
-       OVERFLOW_SUB_INT, OVERFLOW_MUL_INT, OVERFLOW_ADD_LONG,
-       OVERFLOW_SUB_LONG, OVERFLOW_MUL_LONG): New macros.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/base/ftcalc.c (FT_RoundFix, FT_CeilFix, FT_Matrix_Multiply,
-       FT_Matrix_Multiply_Scaled, FT_Vector_Transform_Scaled,
-       ft_corner_orientation): Use new macros.
+       [psaux] Minor fixes.
 
-       * src/base/ftoutln.c (FT_Outline_Get_Orientation): Use new macros.
+       * src/psaux/psintrp.c (cf2_interpT2CharString): Fix check for pop
+       results.
+       s/font->decoder/decoder/ where necessary.
+       <cf2_cmdHSTEM, cf2_cmdVSTEM, cf2_escHSTEM3, cf2_escVSTEM3>: Use
+       offset parameter in `cf2_doStems' instead of doing correction for
+       left-sidebearing.
 
-2017-05-28  Werner Lemberg  <wl@gnu.org>
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * include/freetype/internal/ftcalc.h (FLOAT_TO_FIXED): Remove.
+       [cid] Use the new engine.
 
-       This macro is not used.
+       * src/cid/cidgload.c: Update includes.
+       (cid_load_glyph, cid_slot_load_glyph): Implement changes to glyph
+       loading code as with `type1' module.
 
-2017-05-28  Werner Lemberg  <wl@gnu.org>
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       [cff] s/cf2_floatToFixed/cf2_doubleToFixed/.
+       [cid] Add Adobe engine configuration.
 
-       The new name better describes what the macro actually does;
-       additionally, we don't need a trailing `f' for literals (there was
-       only a single such instance in the code, but this caused a clang
-       warning because the macro itself uses `double' literals).
+       This is similar to what was done in the `type1' module.
 
-       * src/cff/cf2blues.c, src/cff/cf2blues.h, src/cff/cf2fixed.h,
-       src/cff/cf2font.c, src/cff/cf2hints.c: Updated.
+       * src/cid/cidriver.c (t1cid_driver_class): Update declaration.
+       * src/cid/cidobjs.c: Include FT_TYPE1_DRIVER_H.
+       (cid_driver_init): Update code.
 
-2017-05-28  Werner Lemberg  <wl@gnu.org>
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       Fix negation of INT_MIN and LONG_MIN (#46149).
+       [psaux] Change subfont synthesis for CID fonts.
 
-       * src/base/ftcalc.c (FT_MOVE_SIGN): Add argument to pass unsigned
-       value, to be used as the result.
-       (FT_MulDiv, FT_MulDiv_No_Round, FT_DivFix, FT_MulFix,
-       FT_Vector_NormLen): Updated.
+       Change `t1_make_subfont' to take in the Private dict record as an
+       argument.  This is because Type 1 and CID font records in FreeType
+       have this in different places.
 
-2017-05-27  Werner Lemberg  <wl@gnu.org>
+       * src/psaux/psobjs.c (t1_make_subfont): Change `T1_Face' to
+       `FT_Face' so that CID is also accepted.
+       Take `PS_Private' as an argument and let caller figure out where the
+       Private dict actually is.
+       Update references.
 
-       [truetype] Fix handling of design coordinates (#51127).
+       * include/freetype/internal/psaux.h, src/psaux/psobjs.h: Update
+       declaration.
 
-       * src/truetype/ttgxvar.c (tt_set_mm_blend): Compute all design
-       coordinates if we have to create the `blends->coord' array.
-       (TT_Get_MM_Blend, TT_Get_Var_Design): Select default instance
-       coordinates if no instance is selected yet.
+       * src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String): Update
+       call.
 
-2017-05-24  Werner Lemberg  <wl@gnu.org>
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       [bdf, pcf] Support ISO646.1991-IRV character encoding (aka ASCII).
+       [type1] Switch to Adobe engine.
 
-       Problem reported by Marek Kašík <mkasik@redhat.com>, cf.
+       * src/type1/t1objs.c (T1_Driver_Init): Set default to Adobe engine.
 
-         https://bugzilla.redhat.com/show_bug.cgi?id=1451795
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/bdf/bdfdrivr.c (BDF_Face_Init), src/pcf/pcfdrivr.c
-       (PCF_Face_Init): Implement it.
+       [psaux] Extend Adobe interpreter (seac).
 
-2017-05-20  Nikolaus Waxweiler  <madigens@gmail.com>
+       This concludes the changes needed to add Type 1 support.
 
-       [truetype] Always use interpreter v35 for B/W rendering (#51051).
+       * src/psaux/psintrp.c: Update includes.
+       (cf2_interpT2CharString) <cf2_escSEAC>: Implement this similarly to
+       implied seac for CFF.
 
-       * src/truetype/ttgload.c (tt_loader_init)
-       [TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL]: Adjust
-       `subpixel_hinting_lean', `grayscale_cleartype', and
-       `vertical_lcd_lean' accordingly.
+       * src/psaux/t1decode.c (t1_lookup_glyph_by_stdcharcode_ps): New
+       function to look up the glyph index.
 
-       * src/truetype/ttinterp.c (Ins_GETINFO): Updated.
-       (TT_RunIns): Update `backward_compatibility' flag.
+       * src/psaux/psft.c (cf2_getT1SeacComponent,
+       cf2_freeT1SeacComponent): New functions to get the charstrings for
+       seac components.
 
-2017-05-20  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       * src/psaux/t1decode.h, src/psaux/psft.h: Update declarations.
 
-       [smooth] Implement minimal dynamic padding for LCD filtering.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       Extra bitmap padding for LCD filtering depends on the filter.  The
-       default 5-tap filter needs 2 extra subpixels.  The light 3-tap filter
-       needs only 1 extra subpixel.  This space could be already available
-       due to rounding.  In order to optimize the padding, we now expand
-       CBox for the given filter weights before rounding.
+       [psaux] Extend Adobe interpreter (flex in callothersubr).
 
-       This change breaks current Skia (and Firefox).
+       * src/psaux/psintrp.c (cf2_interpT2CharString)
+       <cf2_escCALLOTHERSUBR>: Fix Flex feature handling (OtherSubrs 0, 1,
+       2).
+       <cf2_cmdRMOVETO>: Do not actually move the `glyphPath' while doing
+       flex.  This is to avoid closing the current contour.
 
-       * include/freetype/internal/ftobjs.h (FT_LibraryRec)
-       [FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Remove `lcd_extra' field.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/base/ftlcdfil.c (FT_Library_SetLcdFilterWeights,
-       FT_Library_SetLcdFilter): Remove `lcd_extra' initializations.
+       [psaux] Extend Adobe interpreter (callothersubr).
 
-       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Implement dymanic
-       LCD padding.
+       * src/psaux/psintrp.c (cf2_interpT2CharString)
+       <cf2_escCALLOTHERSUBR>: Copy code from
+       `t1_decoder_parse_charstrings' (in `t1decode.c').
+       OtherSubr 3 (change hints) should reset the hintmask, so that the
+       new hints are applied.
+       Fix function calls and stack access.
 
-2017-05-15  Werner Lemberg  <wl@gnu.org>
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       [sfnt] Return proper scaling values for SBIX bitmaps.
+       [psaux] Extend Adobe interpreter (pop).
 
-       Problem reported by Hin-Tak Leung <htl10@users.sourceforge.net>.
+       * src/psaux/psintrp.c (cf2_interpT2CharString): Change how unhandled
+       OtherSubr results are stored.  Implement the PostScript stack using
+       an array.
+       <cf2_escPOP>: Ensure that the stack is not cleared after getting
+       `OtherSubr' results.
+       Fix stack access.
 
-       * src/sfnt/ttsbit.c (tt_face_load_strike_metrics): Implement it.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-2017-05-15  Werner Lemberg  <wl@gnu.org>
+       [psaux] Extend Adobe interpreter (callsubr).
 
-       [truetype] Fix error handling for embedded bitmaps.
+       * src/psaux/psintrp.c (cf2_interpT2CharString) <cf2_cmdCALLSUBR>:
+       Type 1 mode.
 
-       Problem reported by Hin-Tak Leung <htl10@users.sourceforge.net>.
+       * src/psaux/psft.c (cf2_initLocalRegionBuffer): Add Type 1 mode.
 
-       * src/truetype/ttgload.c (TT_Load_Glyph)
-       [TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: Handle error if font is not
-       scalable.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-2017-05-15  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       [psaux] Extend Adobe interpreter (div, four-byte numbers).
 
-       [autofit] Make autohint warping NORMAL option.
+       * src/psaux/psintrp.c (cf2_interpT2CharString) <cf2_escDIV>: Add
+       Type 1 mode.  Type 1 requires large integers to be followed by
+       `div'; cf. `Adobe Type 1 Font Format', section 6.2.
+       <op == 255>: Push Type 1 four-byte numbers as `Int' always.  This is
+       to ensure `div' and `callsubr' get values they can use.
 
-       This moves warping option from LIGHT to NORMAL mode.  This makes LIGHT
-       truly void of hinting in x-direction, with left side bearing never
-       changed and right side bearing only altered by advance rounding.
-       Therefore, LIGHT is now ready to return fractional advance.  As a
-       NORMAL option, warping substitutes normal hinting.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/autofit/afcjk.c (af_cjk_hints_apply): Updated.
-       * src/autofit/aflatin.c (af_latin_hints_apply): Updated.
-       * src/autofit/aflatin2.c (af_latin2_hints_apply): Updated.
+       [psaux] Extend Adobe interpreter (hints).
 
-       * src/autofit/afloader.c (af_loader_load_glyph): Handle warping
-       phantom points as normal.
+       * src/psaux/psintrp.c (cf2_interpT2CharString) <cf2_cmdHSTEM,
+       cf2_cmdVSTEM>: Add correction for left sidebearing in Type 1 mode.
+       Allow adding hints mid-charstring.
+       <cf2_escVSTEM3, cf2_escHSTEM3>: Translate into equivalent commands
+       for three normal stem hints.  This requires some recalculation of
+       stem positions.
+       Correction for left sidebearing.
 
-2017-05-14  Werner Lemberg  <wl@gnu.org>
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       Remove remnants of raster pool.
+       [psaux] Extend Adobe interpreter (hsbw, sbw).
 
-       * include/freetype/internal/ftobjs.h (FT_LibraryRec): Remove
-       `raster_pool' and `raster_pool_size' fields.
+       * src/psaux/psintrp.c (cf2_doStems): `hsbw' or `sbw' must be the
+       first operation in a Type 1 charstring.
+       (cf2_interpT2CharString): Remove unused variables.
+       <cf2_cmdHMOVETO, cf2_cmdVMOVETO, cf2_cmdRMOVETO>: `hsbw' or `sbw'
+       must be the first operation in a Type 1 charstring.
+       <cf2_cmdHSBW, cf2_escSBW>: Fix data access and add correction for
+       left sidebearing.
 
-       * src/base/ftobjs.c (FT_New_Library), src/raster/ftrend1.c
-       (ft_raster1_init), src/smooth/ftsmooth.c (ft_smooth_init): Updated.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-2017-05-13  Werner Lemberg  <wl@gnu.org>
+       [psaux] Extend Adobe interpreter (setcurrentpoint).
 
-       * Version 2.8 released.
-       =======================
+       * src/psaux/psintrp.c (cf2_interpT2CharString)
+       <cf2_escSETCURRENTPT>: Fix stack access.
 
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       Tag sources with `VER-2-8'.
+       [psaux] Extend Adobe interpreter (closepath).
 
-       * docs/VERSION.TXT: Add entry for version 2.8.
-       * docs/CHANGES: Updated.
+       * src/psaux/psintrp.c (cf2_interpT2CharString) <c2f_cmdCLOSEPATH>:
+       Use the right builder function.  We can use the `haveWidth' boolean
+       already present, instead of implementing `parse_state'.
 
-       * README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj,
-       builds/windows/vc2005/index.html,
-       builds/windows/vc2008/freetype.vcproj,
-       builds/windows/vc2008/index.html,
-       builds/windows/vc2010/freetype.vcxproj,
-       builds/windows/vc2010/index.html,
-       builds/windows/visualc/freetype.dsp,
-       builds/windows/visualc/freetype.vcproj,
-       builds/windows/visualc/index.html,
-       builds/windows/visualce/freetype.dsp,
-       builds/windows/visualce/freetype.vcproj,
-       builds/windows/visualce/index.html,
-       builds/wince/vc2005-ce/freetype.vcproj,
-       builds/wince/vc2005-ce/index.html,
-       builds/wince/vc2008-ce/freetype.vcproj,
-       builds/wince/vc2008-ce/index.html: s/2.7.1/2.8/, s/271/28/.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * include/freetype/freetype.h (FREETYPE_MINOR): Set to 8.
-       (FREETYPE_PATCH): Set to 0.
+       [psaux] Add Type 1 operations to Adobe CFF interpreter.
 
-       * builds/unix/configure.raw (version_info): Set to 20:0:14.
-       * CMakeLists.txt (VERSION_MINOR): Set to 8.
-       (VERSION_PATCH): Set to 0.
+       The following Type 1 specific ops have been added (copied from
+       `t1decode'):
 
-2017-05-12  Hin-Tak Leung  <htl10@users.sourceforge.net>
+         closepath
+         vstem3
+         hstem3
+         seac
+         sbw
+         callothersubr
+         pop
+         setcurrentpoint
+         hsbw
 
-       Fix `FT_UINT_TO_POINTER' macro for Windows.
+       The following require a Type 1 mode, because of differences in
+       specification:
 
-       * builds/unix/ftconfig.in, builds/vms/ftconfig.h,
-       include/freetype/config/ftconfig.h (FT_UINT_TO_POINTER) [_WIN64]:
-       Fix definition.
+         hstem
+         vstem
+         vmoveto
+         callsubr
+         div
+         rmoveto
+         hmoveto
+         Numbers
 
-2017-05-11  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       The subsequent commits will implement these changes and adapt
+       accesses of data and objects to the new interpreter.
 
-       [autofit] Add support for Chakma script.
+       NOTE: Will not compile in the meantime!
 
-       * src/autofit/afblue.dat: Add blue zone data for Chakma.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * src/psaux/psintrp.c: Add opcodes to enum.
+       (cf2_interpT2CharString): Copy relevant code over from
+       `t1_decoder_parse_charstrings' (in `t1decode.c').
 
-       * src/autofit/afscript.h: Add Chakma standard character.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Chakma data.
+       [type1] Fixes for rendering.
 
-2017-05-10  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       The Type 1 advance width calculation passes null for glyph slot,
+       etc, which can cause null pointer access in the new interpreter.
+       Fall back to the old one for now.
 
-       [autofit] Add support for Kayah Li script.
+       Fix the large glyph retry code and ensure hinting and scaling flags
+       are set properly.
 
-       * src/autofit/afblue.dat: Add blue zone data for Kayah Li.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String): Add a
+       check for metrics_only.
+       Set the `force_scaling' flag.
+       (T1_Parse_Glyph): Updated.
+       (T1_Load_Glyph): Add `hinting' and `scaled' flags.
 
-       * src/autofit/afscript.h: Add Kayah Li standard character.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Kayah Li data.
+       [psaux] Add missing objects (2/2).
 
-2017-05-10  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       Synthesize a `SubFont' object for Type 1 fonts.  This is used in the
+       interpreter to access Private dict data, which are stored in
+       different places for Type 1 and CFF.  This allows the same data to
+       be used in either mode.
 
-       [autofit] Add support for Bamum script.
+       * src/psaux/psobjs.c (t1_make_subfont): New procedure to copy
+       required values to a dummy `CFF_SubFont' object.  This is similar to
+       `cff_make_private_dict'.
+       * src/psaux/psobjs.h: Add the new declaration.
 
-       * src/autofit/afblue.dat: Add blue zone data for Bamum.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * include/freetype/internal/psaux.h, src/psaux/psauxmod.c: Ditto.
+       Add this to the PSAux Service for future use with CID fonts.
 
-       * src/autofit/afscript.h: Add Bamum standard character.
+       * src/type1/t1gload.c: Include FT_INTERNAL_CFF_TYPES_H.
+       (T1_Parse_Glyph_And_Get_Char_String): Add the call.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Bamum data.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-2017-05-10  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       [psaux] Add missing objects for Type 1 (1/2).
 
-       [autofit] Add support for Saurashtra script.
+       Move `CF2_Font' instance to `PS_Decoder'.  This is the context for
+       the interpreter and since it is currently stored in `CFF_Font', is
+       unavailable in Type 1 mode.
 
-       * src/autofit/afblue.dat: Add blue zone data for Saurashtra.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * include/freetype/internal/psaux.h (T1_Decoder, PS_Decoder): New
+       `cf2_instance' field.
 
-       * src/autofit/afscript.h: Add Saurashtra standard character.
+       * src/psaux/psdecode.c (ps_decoder_init): Copy `cf2_instance' to
+       `PS_Decoder'.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Saurashtra
-       data.
+       * src/psaux/t1decode.c (t1_decoder_done): Add finalization code.
 
-2017-05-10  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       * src/psaux/psft.c (cf2_decoder_parse_charstrings): Update accesses.
 
-       [autofit] Add support for Buhid script.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/autofit/afblue.dat: Add blue zone data for Buhid.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       Allow `type1' module to use the Adobe engine.
 
-       * src/autofit/afscript.h: Add Buhid standard character.
+       Add the callback and some conditionals to switch between the two
+       engines.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Buhid data.
+       * include/freetype/internal/psaux.h (T1_Decoder_FuncsRec): Change
+       function declarations.
+       * src/psaux/psauxmod.c (T1_Decoder_FuncsRec): Register the
+       callbacks.
 
-2017-05-08  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       * src/psaux/psobjs.c (ps_builder_add_point): Add conditionals for
+       number conversion.
 
-       [autofit] Add support for Shavian script.
+       * src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String): Add code
+       to choose which renderer to use.
 
-       * src/autofit/afblue.dat: Add blue zone data for Shavian.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * src/cid/cidgload.c (cid_load_glyph): Update call.
+       * src/base/ftobjs.c, src/psaux/psobjs.c, src/type1/t1gload.c: Update
+       includes.
 
-       * src/autofit/afscript.h: Add Shavian standard character.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Shavian data.
+       [type1] Add Adobe engine configuration.
 
-2017-05-08  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       Use the previously changed PS_Driver in type1 module to store
+       hinting engine configuration.
 
-       [autofit] Add support for Vai script.
+       * include/freetype/ftt1drv.h: New file.
+       Duplicate and rename config options from CFF.
+       * include/freetype/config/ftheader.h (FT_TYPE1_DRIVER_H): New macro.
 
-       * src/autofit/afblue.dat: Add blue zone data for Vai.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * src/type1/t1driver.c (t1_driver_class): Update declaration.
+       * src/type1/t1objs.c: Include FT_TYPE1_DRIVER_H.
+       (T1_Driver_Init): Update code.
 
-       * src/autofit/afscript.h: Add Vai standard character.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Vai data.
+       [cff] Move and rename `CFF_Driver'.
 
-2017-05-08  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       This is so that we can use the same hinting engine parameters for
+       Type 1.
 
-       [autofit] Add support for Osmanya script.
+       * include/freetype/internal/cffotypes.h (CFF_Driver): Rename and
+       move to...
+       * include/freetype/internal/psaux.h (PS_Driver): ...here.
 
-       * src/autofit/afblue.dat: Add blue zone data for Osmanya.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * src/cff/cffdrivr.c, src/cff/cffgload.c, src/cff/cffload.c,
+       src/cff/cffobjs.c, src/cff/cffobjs.h, src/psaux/psft.c,
+       src/psaux/psobjs.c: Update references.
 
-       * src/autofit/afscript.h: Add Osmanya standard character.
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Osmanya data.
+       [psaux, type1] Reorganize object fields.
 
-2017-05-08  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       Make some fields more generic, so that we can access them the same
+       way regardless of Type 1 or CFF.
 
-       [autofit] Add support for Coptic script.
+       * include/freetype/internal/psaux.h (PS_Builder): Change `TT_Face'
+       to `FT_Face'.
+       Remove unused fields.
 
-       * src/autofit/afblue.dat: Add blue zone data for Coptic.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * src/psaux/psft.c: Update all accesses of `PS_Builder.face'.
+       Add some asserts to guard against casting `T1_Face' as `TT_Face'.
 
-       * src/autofit/afscript.h: Add Coptic standard character.
+       * src/type1/t1objs.h (T1_GlyphSlot): Reorder fields to follow
+       `CFF_GlyphSlot', so that we can pretend they are the same in the
+       interpreter.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Coptic data.
+       * src/psaux/psobjs.c (ps_builder_init, ps_builder_add_point):
+       Updated with above changes.
 
-2017-05-08  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       [autofit] Add support for Carian script.
+       [psaux] Prepare for Type 1 mode.
 
-       * src/autofit/afblue.dat: Add blue zone data for Carian.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       Add some checks for Type 1 data passing through.
 
-       * src/autofit/afscript.h: Add Carian standard character.
+       * src/psaux/psfont.h (CF2_Font): Add `isT1' flag.
+       * src/psaux/psfont.c (cf2_font_setup): Skip the variations and blend
+       code which is not applicable for Type 1.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Carian data.
+       * src/psaux/psft.c (cf2_decoder_parse_charstrings): Avoid accessing
+       `decoder->cff' in Type 1 mode.
+       Copy `is_t1' flag to `CF2_Font'.
 
-2017-05-07  Werner Lemberg  <wl@gnu.org>
+2017-09-25  Ewald Hew  <ewaldhew@gmail.com>
 
-       [truetype] Add tricky font `DFGirl-W6-WIN-BF' (from Dynalab).
+       [psaux, cff] Use the new objects.
 
-       Reported by Roy Tam <roytam@gmail.com>.
+       * include/freetype/internal/psaux.h, src/psaux/psauxmod.c: Fix
+       switching between new and old engines.
 
-       * src/truetype/ttobjs.c (tt_check_trickyness_family): Implement it.
+       * src/cff/cffgload.c, src/cff/cffparse.c: Update calls.
 
-2017-05-07  Roy Tam  <roytam@gmail.com>
-           Werner Lemberg  <wl@gnu.org>
+       * src/psaux/psblues.c, src/psaux/psfont.c, src/psaux/psfont.h,
+       src/psaux/psft.c, src/psaux/psft.h, src/psaux/psintrp.c: Update all
+       to use new objects.
 
-       [truetype] More tricky fonts (mainly from Dynalab).
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/truetype/ttobjs.c (tt_check_trickyness_family,
-       tt_check_trickyness_sfnt_ids): Add them.
+       [psaux] Objects for new interpreter (part 2).
 
-2017-05-07  Werner Lemberg  <wl@gnu.org>
+       Make the new objects copy over values.  They are essentially wrapper
+       types for the different decoders/builders.
 
-       [truetype] Add tricky font `DLCHayMedium' (from Dynalab).
+       * include/freetype/internal/psaux.h: Update declarations.
+       (PS_Builder): Add `is_t1' flag.
+       (PS_Decoder_{Get,Free}_Glyph_Callback): Renamed to...
+       (CFF_Decoder_{Get,Free}_Glyph_Callback: ... this.
+       (PS_Decoder): Updated.
+       Add `t1_parse_callback' member.
+       (PSAux_ServiceRec): Add `ps_decoder_init' member.
 
-       Reported by Roy Tam <roytam@gmail.com>.
+       * src/psaux/psdecode.h, src/psaux/psobjs.h: Update declarations.
 
-       * src/truetype/ttobjs.c (tt_check_trickyness_family): Implement it.
+       * src/psaux/psdecode.c, src/psaux/psobjs.c: Implement copy with two
+       modes.
 
-2017-05-03  Werner Lemberg  <wl@gnu.org>
+       * src/psaux/psauxmod.c: Add builder and decoder functions to `PSAux'
+       service.
 
-       */*: s/backwards compatibility/backward compatibility/.
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-2017-05-03  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       [psaux] Add objects for new interpreter.
 
-       [autofit] Add support for Unified Canadian Syllabics script.
+       Introduce `PS_Decoder' and `PS_Builder' which include all fields
+       from either Type 1 or CFF decoders/builders.
 
-       * src/autofit/afblue.dat: Add blue zone data for Unified Canadian
-       Syllabics.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * include/freetype/internal/psaux.h (PS_Builder, PS_Decoder): New
+       structs.
 
-       * src/autofit/afscript.h: Add Unified Canadian Syllabics standard
-       character.
+       * src/psaux/psobjs.c, src/psaux/psobjs.h: Add `PS_Builder'
+       functions.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Unified
-       Canadian Syllabics data.
+       * src/psaux/psdecode.c, src/psaux/psdecode.h: New files to hold
+       `PS_Decoder' initialization functions.
 
-2017-05-03  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org>
+       * src/psaux/psaux.c, src/psaux/Jamfile (_sources),
+       src/psaux/rules.mk (PSAUX_DRV_SRC): Updated.
 
-       [autofit] Add blue-zone support for Sundanese script.
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-       This essentially moves the Sundanese script from the `Indic' hinter
-       to the `Latin' hinter.
+       [psaux] Rename files.
 
-       * src/autofit/afblue.dat: Add blue zone data for Sundanese.
+       Replace the `cf2' file name prefix with `ps' as the Adobe engine
+       will be used for both PostScript Types 1 and 2 (CFF) instead of just
+       CFF.
 
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       s/cf2/ps/ for all following.
 
-       * src/autofit/afscript.h: Add Sundanese standard character and move
-       data out of AF_CONFIG_OPTION_INDIC block.
+       * src/psaux/cf2*: Rename files.
+       * src/psaux/*: Update includes.
 
-       * src/autofit/afranges.c: Move Sundanese data out of
-       AF_CONFIG_OPTION_INDIC block.
+       * src/psaux/Jamfile (_sources), src/psaux/rules.mk (PSAUX_DRC_SRC,
+       PSAUX_DRV_H): Update file references.
 
-       * src/autofit/afstyles.h: Update Sundanese data; in particular, use
-       AF_WRITING_SYSTEM_LATIN.
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-2017-05-03  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       [psaux] Minor fix.
 
-       [autofit] Add support for Avestan script.
+       Use `MultiMasters' service in `psaux' instead of a call to `cff'.
+       The project builds if CFF_CONFIG_OPTION_OLD_ENGINE is not defined.
 
-       * src/autofit/afblue.dat: Add blue zone data for Avestan.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * src/psaux/cf2ft.c: Update includes.
+       (cf2_getNormalizedVector): Use `mm->get_var_blend' instead of
+       `cff_get_var_blend'.
 
-       * src/autofit/afscript.h: Add Avestan standard character.
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Avestan data.
+       [psaux, cff] Move `cff_random' into `psaux' service.
 
-2017-05-02  Behdad Esfahbod  <behdad@behdad.org>
+       NOTE: Does not compile!
 
-       [truetype] Make `IUP' gvar deltas do the same as Apple (#50832).
+       Minor fix to allow both `cff' and `psaux' to use `cff_random'.
 
-       When points are not touched by gvar interpolation deltas, FreeType
-       gave a slightly different result than Apple's CoreText.
+       * src/cff/cffload.c (cff_random): Move to...
+       * src/psaux/psobjs.c: Here.
+       * src/cff/cffload.h: Move corresponding declaration to
+       `src/psaux/psobjs.h'.
 
-       The OpenType working group will update the specification to document
-       the following behaviour: If the two points with deltas to the `left'
-       and `right' of the untouched point have the same coordinate, then
-       the inferred delta for the untouched point should be zero.
+       * include/freetype/internal/psaux.h (PSAux_ServiceRec): Register the
+       function here...
+       * src/psaux/psauxmod.c: And here.
 
-       * src/truetype/ttgxvar.c (tt_delta_interpolate): Implement new
-       behaviour.
+       * src/cff/cffload.c, src/psaux/cf2intrp.c: Update code.
 
-2017-05-02  Werner Lemberg  <wl@gnu.org>
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-       [autofit] Remove `slight' auto-hint mode again.
+       [cff] Move struct declarations to `freetype/internal'.
 
-       A poll on freetype-devel favoured changes directly applied to
-       `light'.
+       NOTE: Does not compile!
 
-       * include/freetype/freetype.h (FT_LOAD_TARGET_SLIGHT,
-       FT_RENDER_MODE_SLIGHT): Removed.
+       This is so that the CFF functions moved to `psaux' can access the
+       same structs that they need.
 
-       * src/autofit/afcjk.c (af_cjk_hints_init), src/autofit/aflatin.c
-       (af_latin_hints_init), src/autofit/aflatin2.c
-       (af_latin2_hints_init): Revert change from 2017-04-22.
+       * src/cff/cfftypes.h: Moved to...
+       * include/freetype/internal/cfftypes.h: ...Here.
 
-       * src/autofit/afloader.c (af_loader_load_glyph) Remove references to
-       FT_RENDER_MODE_SLIGHT.
-       [AF_CONFIG_OPTION_TT_SIZE_METRICS]: Enable TrueType-like metrics
-       unconditionally.
+       * src/cff/cffobjs.h: Moved the struct declarations to...
+       * include/freetype/internal/cffotypes.h: ... this new file.
 
-       * src/base/ftadvanc.c (LOAD_ADVANCE_FAST_CHECK): Revert change from
-       2017-04-22.
+       * include/freetype/internal/internal.h (FT_INTERNAL_CFF_TYPES_H,
+       FT_INTERNAL_CFF_OBJECT_TYPES_H): New macros.
 
-       * src/base/ftobjs.c (FT_Load_Glyph): Revert change from 2017-04-22.
+       * src/cff/cffcmap.h, src/cff/cffdrivr.c, src/cff/cffgload.c,
+       src/cff/cffgload.h, src/cff/cffload.h, src/cff/cffobjs.c,
+       src/cff/cffobjs.h, src/cff/cffparse.h, src/psaux/psobjs.h,
+       include/freetype/internal/psaux.h,
+       include/freetype/internal/services/svcfftl.h: Update includes.
 
-       * src/pshinter/pshalgo.c (ps_hints_apply): Revert change from
-       2017-04-22.
+       * src/cff/rules.mk (CFF_DRV_H): Updated.
 
-       * src/smooth/ftsmooth.c (ft_smooth_render): Revert change from
-       2017-04-22.
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-       * docs/CHANGES: Updated.
+       [psaux, cff] Add new service for inter-module calls.
 
-2017-04-30  Werner Lemberg  <wl@gnu.org>
+       NOTE: Does not compile!
 
-       [autofit] Fix metrics computation.
+       This is to allow CFF functions moved to `psaux' to call functions
+       declared in `src/cff/cffload.h'.
 
-       Problem reported by Markus Trippelsdorf <markus@trippelsdorf.de> and
-       Nikolaus Waxweiler <madigens@gmail.com>.
+       * include/freetype/internal/services/svcfftl.h: New file, setting up
+       a `CFFLoad' service.
 
-       * src/base/ftobjs.c (FT_Request_Size): Trigger recomputation of
-       auto-hinter metrics.  Without this change, multiple size changing
-       calls for a single face fail.
+       * include/freetype/internal/ftserv.h (FT_DEFINE_SERVICEDESCREC10,
+       FT_DEFINE_SERVICEDESCREC): New macros.
+       (FT_SERVICE_CFF_TABLE_LOAD_H): New macro.
 
-2017-04-29  Werner Lemberg  <wl@gnu.org>
+       * src/cff/cffdrivr.c, src/cff/cffpic.h: Register the new service.
 
-       * src/truetype/ttdriver.c (tt_size_request): Properly check `error'.
+       * src/cff/cfftypes.h (CFF_FontRec), src/psaux/cf2font.h
+       (CF2_FontRec): Add service interface.
 
-       Reported by Earnestly <zibeon@googlemail.com> in
+       * src/cff/cffobjs.c, src/psaux/cf2font.c, src/psaux/cf2ft.c,
+       src/psaux/cf2intrp.c, src/psaux/cffdecode.c: Use the new service.
 
-         http://lists.nongnu.org/archive/html/freetype/2017-04/msg00031.html
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-2017-04-27  Werner Lemberg  <wl@gnu.org>
+       [psaux, cff] Add callbacks for inter-module calls.
 
-       Introduce AF_CONFIG_OPTION_TT_SIZE_METRICS configuration option.
+       NOTE: Does not compile!
 
-       * include/freetype/config/ftoption.h
-       (AF_CONFIG_OPTION_TT_SIZE_METRICS): New option, commented out by
-       default.
+       * include/freetype/internal/psaux.h: Add function pointer
+       declarations.
 
-       * src/autofit/afloader.c (af_loader_load_glyph): Use
-       AF_CONFIG_OPTION_TT_SIZE_METRICS to guard the corresponding code.
+       * src/psaux/cffdecode.c (cff_decoder_init): Update to take in
+       callbacks.
+       * src/psaux/cffdecode.h: Ditto.
 
-2017-04-26  Werner Lemberg  <wl@gnu.org>
+       * src/cff/cffgload.c (cff_compute_max_advance, cff_slot_load):
+       Update calls to pass in callbacks.
+       * src/psaux/cf2ft.c, src/psaux/cffdecode.c: Use them.
 
-       * include/freetype/freetype.h (FT_Render_Mode): Fix order.
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-       This retains backward compatibility.
+       [psaux, cff] Create new `PSAux' service interface entries.
 
-       Noted by Alexei.
+       NOTE: Does not compile!
 
-2017-04-22  Werner Lemberg  <wl@gnu.org>
+       * include/freetype/internal/psaux.h: Include
+       FT_INTERNAL_TRUETYPE_TYPES_H.
+       (CFF_Builder_FuncsRec, CFF_Decocer_FuncsRec): New function tables.
+       (CFF_Builder): Updated.
+       Fix for forward declaration.
+       (PSAux_ServiceRec): New field `cff_decoder_funcs'.
 
-       [truetype] Do linear scaling for FT_LOAD_NO_HINTING (#50470).
+       * src/psaux/psauxmod.c (cff_builder_funcs, cff_decoder_funcs): New
+       function tables.
+       (PSAux_Interface): Updated.
 
-       * src/truetype/ttobjs.h (TT_SizeRec): Add field `hinted_metrics' to
-       hold hinted metrics.
-       Make `metrics' a pointer so that `tt_glyph_load' can easily switch
-       between metrics.
+       * include/freetype/internal/tttypes.h (TT_FaceRec): Add `psaux'
+       service interface.
 
-       * src/truetype/ttdriver.c (tt_size_request): Updated.
-       (tt_glyph_load): Use top-level metrics if FT_LOAD_NO_HINTING is
-       used.
+       * src/cff/cffgload.c, src/cff/cffobjs.c, src/cff/cffparse.c: Update
+       function calls to use psaux service.
 
-       * src/truetype/ttgload.c (TT_Hint_Glyph, TT_Process_Simple_Glyph,
-       TT_Process_Composite_Component, load_truetype_glyph,
-       compute_glyph_metrics, TT_Load_Glyph): Updated.
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/truetype/ttinterp.c (TT_Load_Context): Updated.
+       [psaux, cff] Move CFF builder components into `psaux' module.
 
-       * src/truetype/ttobjs.c (tt_size_reset): Updated.
+       NOTE: Does not compile!
 
-       * src/truetype/ttsubpix.c (sph_set_tweaks): Updated.
+       * src/cff/cffgload.c
+       (cff_builder_{init,done,add_point,add_point1,add_contour,start_point,close_contour},
+       cff_check_points): Move to...
+       * src/psaux/psobjs.c: Here.
 
-2017-04-22  Werner Lemberg  <wl@gnu.org>
+       * src/cff/cffgload.h: Move corresponding declarations to
+       `src/psaux/psobjs.h'.
 
-       Add new `slight' auto-hinting mode.
+       * src/cff/cffgload.h (CFF_Builder): Move struct declaration to...
+       * include/freetype/internal/psaux.h: Here.
 
-       This mode uses fractional advance widths and doesn't scale glyphs
-       horizontally, only applying vertical scaling and hinting.
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-       At the same time, the behaviour of the `light' auto-hinter gets
-       restored for backward compatibility: Both vertical and horizontal
-       scaling is again based on rounded metrics values (this was changed
-       in a commit from 2017-03-30 as a side effect).  To be more precise,
-       the behaviour is restored for TrueType fonts only; for other font
-       formats like Type 1, this is a new feature of the `light' hinting
-       mode.
+       [psaux, cff] Move CFF decoder components into `psaux' module.
 
-       * include/freetype/freetype.h (FT_LOAD_TARGET_SLIGHT): New macro.
-       (FT_RENDER_MODE_SLIGHT): New render mode.
+       NOTE: Does not compile!
 
-       * include/freetype/internal/ftobjs.h (FT_Size_InternalRec): Add
-       `autohint_mode' and `autohint_metrics' fields.
+       * src/cff/cffgload.c (CFF_Operator,
+       CFF_COUNT_{CHECK_WIDTH,EXACT,CLEAR_STACK}, cff_argument_counts,
+       cff_operator_seac, cff_compute_bias,
+       cff_lookup_glyph_by_stdcharcode,
+       cff_decoder_{parse_charstrings,init,prepare}): Move to...
+       * src/psaux/cffdecode.c: This new file.
 
-       * src/autofit/afcjk.c (af_cjk_hints_init), src/autofit/aflatin.c
-       (af_latin_hints_init), src/autofit/aflatin2 (af_latin2_hints_init):
-       Updated.
+       * src/cff/cffgload.h: Move corresponding declarations to...
+       * src/psaux/cffdecode.h: This new file.
 
-       * src/autofit/afloader.c (af_loader_embolden_glyph_in_slot): Use
-       `autohint_metrics'.
-       (af_loader_load_glyph): s/internal/slot_internal/.
-       Initialize `autohint_metrics' and `autohint_mode' depending on
-       current auto-hint mode.
-       Use `autohint_metrics'.
-       Updated.
+       * src/cff/cffgload.h (CFF_MAX_{OPERANDS,SUBRS_CALLS,TRANS_ELEMENTS},
+       CFF_Decoder_Zone, CFF_Decoder): Move declarations to...
+       * include/freetype/internal/psaux.h: Here.
 
-       * src/base/ftadvanc.c (LOAD_ADVANCE_FAST_CHECK): Updated.
+       * src/psaux/cf2ft.h: Update include.
 
-       * src/base/ftobjs.c (FT_Load_Glyph): Updated.
-       (FT_New_Size): Allocate `internal' object.
+       * src/psaux/psaux.c, src/psaux/rules.mk (PSAUX_DRV_SRC): Update with
+       the new file.
 
-       * src/pshinter/pshalgo.c (ps_hints_apply): Updated.
+2017-09-24  Ewald Hew  <ewaldhew@gmail.com>
 
-       * src/smooth/ftsmooth.c (ft_smooth_render): Updated.
+       [psaux, cff] Move Adobe's engine components into `psaux' module.
 
-2017-04-22  Werner Lemberg  <wl@gnu.org>
+       This is the first patch of a sequence to move the Type 2 charstring
+       processing capability from the `cff' module to the `psaux' module.
 
-       Introduce `FT_Size_InternalRec' structure.
+       NOTE: Does not compile!
 
-       We are going to extend this later on.
+       * src/cff/cf2*: Move these files to...
+       * src/psaux/cf2*: Here.
 
-       * include/freetype/internal/ftobjs.h (FT_Size_InternalRec): New
-       structure with a single field `module_data'.
+       * src/cff/Jamfile (_sources), src/cff/rules.mk (CFF_DRV_SRC,
+       CFF_DRV_H), src/cff/cff.c, src/cff/cffgload.c: Remove file
+       references.
 
-       * src/base/ftobjs.c (FT_New_Size): Allocate `internal' field of
-       `FT_Size' structure.
+       * src/psaux/Jamfile (_sources), src/psaux/rules.mk, src/psaux/psaux.c
+       (PSAUX_DRV_SRC, PSAUX_DRV_H): Add file references.
 
-       * src/cff/cffgload.c (cff_builder_init, cff_decoder_prepare): Use
-       `size->internal->module_data' instead of `size->internal'.
+2017-09-24  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/cff/cffobjs.c (cff_size_done): Deallocate `module_data'.
-       (cff_size_init, cff_size_select, cff_size_request): Use
-       `size->internal->module_data' instead of `size->internal'.
+       Tweak per-face LCD filtering controls.
 
-       * src/cif/cidobjs.c (cid_size_done, cid_size_init,
-       cid_size_request): Use `size->internal->module_data' instead of
-       `size->internal'.
+       Thing are simpler with a NULL-function pointer.
 
-       * src/psaux/psobjs.c (t1_builder_ini): Use
-       `size->internal->module_data' instead of `size->internal'.
+       * include/freetype/internal/ftobjs.h (FT_Face_InternalRec): New
+       pointer to the filter function.
+       (FT_LibraryRec): Remove unused `lcd_filter'.
+       (FT_Bitmap_LcdFilterFunc, ft_lcd_filter_fir):  Move from here...
+       * include/freetype/ftlcdfil.h (FT_Bitmap_LcdFilterFunc,
+       ft_lcd_filter_fir): ... to here.
 
-       * src/type1/t1objs.c (T1_Size_Done, T1_Size_Init, T1_Size_Request):
-       Use `size->internal->module_data' instead of `size->internal'.
+       * src/base/ftobjs.c (ft_open_face_internal): NULL-initialize the
+       per-face filter.
+       (FT_Face_Properties): Set it.
+       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Simplify.
 
-2017-04-21  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       * src/base/ftlcdfil.c (ft_lcd_filter_fir, FT_Libary_SetLcdFilter):
+       Minor.
 
-       * src/smooth/ftsmooth.h: Remove unused guards and declaration.
+2017-09-24  Jonathan Kew  <jfkthame@gmail.com>
 
-2017-04-16  Hin-Tak Leung  <htl10@users.sourceforge.net>
+       [sfnt] Fix `premultiply_data' (#52092).
 
-       Fix tracing messages.
+       * src/sfnt/pngshim.c (premultiply_data): Don't use vector extension
+       if we have less than 16 bytes of data.
 
-       * src/base/ftobjs.c (FT_Face_GetCharVariantIndex,
-       FT_Face_GetCharVariantIsDefault, FT_Face_GetVariantsOfChar): Print
-       correct function name.
+2017-09-24  Werner Lemberg  <wl@gnu.org>
 
-2017-04-08  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       [otvalid] Fix handling of ValueRecords.
 
-       [autofit] Add support for Old Turkic script.
+       For GPOS pair positioning format 1 the description of ValueRecords
+       in the OpenType specification (1.8.2, from today) is wrong – the
+       offset has to be taken from the parent structure; in this case the
+       `PairSet' table.
 
-       * src/autofit/afblue.dat: Add blue zone data for Old Turkic.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * src/otvalid/otvgpos.c (otv_PairSet_validate): Set `extra3'.
+       (otv_PairPos_validate): Adjust.
 
-       * src/autofit/afscript.h: Add Old Turkic standard characters.
+2017-09-23  Werner Lemberg  <wl@gnu.org>
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Old Turkic data.
+       [otvalid] Handle `GSUB' and `GPOS' v1.1 tables.
 
-2017-04-08  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       * src/otvalid/otvgsub.c (otv_GSUB_validate), src/otvalid/otvgpos.c
+       (otv_GPOS_validate): Implement it.
 
-       [autofit] Add support for Gothic script.
+2017-09-23  Werner Lemberg  <wl@gnu.org>
 
-       * src/autofit/afblue.dat: Add blue zone data for Gothic.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       [otvalid] Update common table handling to OpenType 1.8.2.
 
-       * src/autofit/afscript.h: Add Gothic standard characters.
+       * src/otvalid/otvcommn.c (otv_Device_validate): Handle
+       VariationIndex subtable.
+       (otv_Lookup_validate): Handle MarkFilteringSet.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Gothic data.
+2017-09-23  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-2017-04-08  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       [build] Windows-style DLL versioning.
 
-       [autofit] Add support for Cypriot script.
+       * build/windows/ftver.rc: New VERSIONINFO resource.
+       * build/windows/vc2010/freetype.vcxproj: Further improvements.
 
-       * src/autofit/afblue.dat: Add blue zone data for Cypriot.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+2017-09-23  Ben Wagner  <bungeman@google.com>
 
-       * src/autofit/afscript.h: Add Cypriot standard characters.
+       [truetype] Really fix #52082.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Cypriot data.
+       * src/truetype/ttinterp.c (Ins_MDRP): Correct conditional.
 
-2017-04-08  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+2017-09-23  Werner Lemberg  <wl@gnu.org>
 
-       [autofit] Add support for Deseret script.
+       [otvalid] Handle `GDEF' v1.2 and v1.3 tables.
 
-       * src/autofit/afblue.dat: Add blue zone data for Deseret.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       No validation of variation stuff yet.
 
-       * src/autofit/afscript.h: Add Deseret standard characters.
+       * src/otvalid/otvgdef.c (otv_MarkGlyphSets_validate): New function.
+       (otv_GDEF_validate): Implement it.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Deseret data.
+2017-09-22  Werner Lemberg  <wl@gnu.org>
 
-2017-04-07  Werner Lemberg  <wl@gnu.org>
+       [otvalid] Handle `BASE' v1.1 table.
 
-       [autofit] Fix invalid character range description (#50745).
+       No validation of variation stuff yet.
 
-       Also reported as
+       * src/otvalid/otvbase.c (otv_BASE_validate): Implement it.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1034
+2017-09-22  Werner Lemberg  <wl@gnu.org>
 
-       * src/autofit/afranges.c (af_glag_nonbase_uniranges): Fix typo in
-       recent commit.
+       [otvalid] Macros for 32bit offset support.
 
-2017-04-07  Werner Lemberg  <wl@gnu.org>
+       * src/otvalid/otvcommn.h (OTV_OPTIONAL_TABLE32,
+       OTV_OPTIONAL_OFFSET32, OTV_SIZE_CHECK32): New macros.
 
-       [ftfuzzer] Fix clang warnings.
+2017-09-21  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Add
-       casts.
+       [build] Simplify Visual C++ 2010 project.
 
-2017-04-06  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       * build/windows/vc2010/freetype.vcxproj: Remove fake singlethreaded
+       configurations and tweak.
 
-       [autofit] Add support for Lisu script.
+2017-09-21  Werner Lemberg  <wl@gnu.org>
 
-       * src/autofit/afblue.dat: Add blue zone data for Lisu.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       [truetype] Integer overflow (#52082).
 
-       * src/autofit/afscript.h: Add Lisu standard characters.
+       * src/truetype/ttinterp.c (Ins_MDRP): Avoid FT_ABS.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Lisu data.
+2017-09-21  Werner Lemberg  <wl@gnu.org>
 
-2017-04-06  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       [sfnt] Fix postscript name for default instance of variation fonts.
 
-       [autofit] Add support for Osage script.
+       Problem reported by Behdad.
 
-       * src/autofit/afblue.dat: Add blue zone data for Osage.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * src/sfnt/sfdriver.c (sfnt_get_ps_name): Test
+       `is_default_instance'.
 
-       * src/autofit/afscript.h: Add Osage standard characters.
+2017-09-21  Werner Lemberg  <wl@gnu.org>
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Osage data.
+       [truetype] Fix `mmvar' array pointers, part 2.
 
-2017-04-06  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       The previous commit was incomplete.
 
-       [autofit] Add support for Glagolitic script.
+       * src/truetype/ttgxvar.c: Properly initialize sub-array offsets for
+       `master' also.
 
-       * src/autofit/afblue.dat: Add blue zone data for Glagolitic.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+2017-09-21  Werner Lemberg  <wl@gnu.org>
 
-       * src/autofit/afscript.h: Add Glagolitic standard characters.
+       [truetype] Fix `mmvar' array pointers.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Glagolitic data.
+       Without this change, clang's AddressSanitizer reports many runtime
+       errors due to misaligned addresses.
 
-2017-04-06  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Use multiples of pointer
+       size for sub-array offsets into `mmvar'.
 
-       [autofit] Add support for Tai Viet script.
+2017-09-20  Werner Lemberg  <wl@gnu.org>
 
-       * src/autofit/afblue.dat: Add blue zone data for Tai Viet.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       [truetype] Integer overflows.
 
-       * src/autofit/afscript.h: Add Tai Viet standard characters.
+       Changes triggered by
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Tai Viet data.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3429
 
-2017-04-06  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       * src/truetype/ttinterp.c (Ins_SHPIX, Ins_DELTAP): Use NEG_LONG.
+       (Ins_MIAP): Use SUB_LONG.
 
-       [autofit] Add support for Tifinagh script.
+2017-09-19  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/autofit/afblue.dat: Add blue zone data for Tifinagh.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       [build] Fix DLL builds in Visual C++ project.
 
-       * src/autofit/afscript.h: Add Tifinagh standard characters.
+       * build/windows/vc2010/freetype.vcxproj: Use DynamicLibrary in Debug
+       and Release configurations.
+       * include/freetype/config/ftconfig.h (FT_EXPORT, FT_EXPORT_DEF)
+       [_DLL]: Use Visual C++ extensions.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Tifinagh data.
+2017-09-19  John Tytgat  <John.Tytgat@esko.com>
 
-2017-04-06  Sascha Brawer  <sascha@google.com>
-           Werner Lemberg  <wl@gnu.org
+       [cff] Fix family name logic of pure CFF fontdata (#52056).
 
-       [autofit] Add support for N'Ko script.
+       1. If `FamilyName' is present in the CFF font, use this for
+          FT_Face's `family_name'.
+       2. Otherwise, use the face name and chop off any subset prefix.
+       3. If at this point FT_Face's `family_name' is set, use this
+          together with the full name to determine the style.
+       4. Otherwise, use `CIDFontName' as FT_Face's `family_name'.
+       5. If we don't have a valid style, use "Regular".
 
-       * src/autofit/afblue.dat: Add blue zone data for N'Ko.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       Previously, FT_Face's `family_name' entry for pure CFF fontdata
+       nearly always was the fontname itself, instead of the `FamilyName'
+       entry in the CFF font (assuming there is one).
 
-       * src/autofit/afscript.h: Add N'Ko standard characters.
+       * src/cff/cffobjs.c (cff_face_init) [pure_cff]: Implement it.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add N'Ko data.
+2017-09-18  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-2017-04-06  Sascha Brawer  <sascha@google.com>
+       [build] Declutter Visual C++ 2010-2017 project.
 
-       [autofit] Add support for Adlam script.
+       * build/windows/vc2010/freetype.vcxproj: Use MaxSpeed (/02)
+       optimization for Release configuration throughout the project.
 
-       * src/autofit/afblue.dat: Add blue zone data for Adlam.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+2017-09-16  Werner Lemberg  <wl@gnu.org>
 
-       * src/autofit/afscript.h: Add Adlam standard characters.
+       * Version 2.8.1 released.
+       =========================
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Adlam data.
 
-2017-04-06  Sascha Brawer  <sascha@google.com>
+       Tag sources with `VER-2-8-1'.
 
-       [autofit] Add support for Ol Chiki script.
+       * docs/VERSION.TXT: Add entry for version 2.8.1.
+       * docs/CHANGES: Updated.
 
-       * src/autofit/afblue.dat: Add blue zone data for Ol Chiki.
-       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+       * README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj,
+       builds/windows/vc2005/index.html,
+       builds/windows/vc2008/freetype.vcproj,
+       builds/windows/vc2008/index.html,
+       builds/windows/vc2010/freetype.vcxproj,
+       builds/windows/vc2010/index.html,
+       builds/windows/visualc/freetype.dsp,
+       builds/windows/visualc/freetype.vcproj,
+       builds/windows/visualc/index.html,
+       builds/windows/visualce/freetype.dsp,
+       builds/windows/visualce/freetype.vcproj,
+       builds/windows/visualce/index.html,
+       builds/wince/vc2005-ce/freetype.vcproj,
+       builds/wince/vc2005-ce/index.html,
+       builds/wince/vc2008-ce/freetype.vcproj,
+       builds/wince/vc2008-ce/index.html: s/2.8/2.8.1/, s/28/281/.
 
-       * src/autofit/afscript.h: Add Ol Chiki standard character.
+       * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
 
-       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Ol Chiki data.
+       * builds/unix/configure.raw (version_info): Set to 21:0:15.
+       * CMakeLists.txt (VERSION_PATCH): Set to 1.
 
-2017-04-03  Werner Lemberg  <wl@gnu.org>
+2017-09-13  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
-       [truetype] Avoid reexecution of `fpgm' and `prep' in case of error.
+       [sfnt] lowest gcc for vectors (e1d0249e) is changed to 4.7.
 
-       Reported as
+       __builtin_shuffle() was introduced in gcc-4.7.  The lowest
+       gcc to enable vector operation is delayed from 4.6 to 4.7.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=981
+       * src/sfnt/pngshim.c (premultiply_data): Fix cpp-macro to
+       enable the vector operation, to change the lowest gcc version
+       from 4.6 to 4.7.
 
-       * include/freetype/fterrdef.h (FT_Err_DEF_In_Glyf_Bytecode): New
-       error code.
+2017-09-13  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
-       * src/truetype/ttinterp.c (Ins_FDEF, Ins_IDEF): Prohibit execution
-       of these two opcodes in `glyf' bytecode.
-       (TT_RunIns): Don't enforce reexecution of `fpgm' and `prep' bytecode
-       in case of error since function tables can no longer be modified
-       (due to the changes in `Ins_FDEF' and `Ins_IDEF').  This change can
-       enormously speed up handling of broken fonts.
+       [cache] Fix a possible overflow by signed integer comparison.
 
-2017-04-02  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       Improve the code by 5d3ff05615dda6d1325ed612381a17a0df04c975 ,
+       issues are found by Behdad Esfahbod and Werner Lemberg.
 
-       [autofit] Disable metrics adjustment for `FT_LOAD_TARGET_LCD'.
+       * src/cache/ftcbasic.c (FTC_ImageCache_Lookup): Replace
+       a subtraction to check higher bit by a bit operation,
+       and cpp-conditionalize for appropriate systems.  Add better
+       documentation to the comment.
+       (FTC_ImageCache_LookupScaler): Ditto.
+       (FTC_SBitCache_Lookup): Ditto.
+       (FTC_SBitCache_LookupScaler): Ditto.
 
-       * src/autofit/aflatin.c (af_latin_hints_init): Updated.
-       * src/autofit/aflatin2.c (af_latin2_hints_init): Ditto.
+2017-09-13  Werner Lemberg  <wl@gnu.org>
 
-2017-04-01  Werner Lemberg  <wl@gnu.org>
+       [autofit] Really fix #41334 (#52000).
 
-       * src/truetype/ttgload.c: Include FT_CONFIG_CONFIG_H.
+       * src/autofit/aflatin.c (af_latin_hints_compute_segments): Set
+       `segment->delta' everywhere.
 
-       Otherwise FT_UINT_TO_POINTER might not be defined.
+2017-09-12  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
-       Problem reported by Alexei.
+       [autofit, sfnt] Fix for `make multi'.
 
-2017-03-31  Alexei Podtelezhnikov  <apodtele@gmail.com>
+       * src/autofit/afshaper.c: Include FT_ADVANCE_H, to use
+       FT_Get_Advance() in it.
+       * src/sfnt/ttcmap.c: Include FT_SERVICE_POSTSCRIPT_CMAPS_H
+       to use PS_Unicodes in it, also include `ttpost.h' to use
+       tt_face_get_ps_name() in it.
 
-       [autofit] Disable stem adjustment for `FT_LOAD_TARGET_LCD'.
+2017-09-11  Azzuro  <azzuro@team-mediaportal.com>
 
-       * include/freetype/freetype.h (FT_LOAD_TARGET_LCD): Document it.
-       * src/autofit/afcjk.c (af_cjk_hints_init): Updated.
-       * src/autofit/aflatin.c (af_latin_hints_init): Ditto.
-       * src/autofit/aflatin2.c (af_latin2_hints_init): Ditto.
+       [build] Improve builds with different MS Visual Studio versions.
 
-2017-03-31  Werner Lemberg  <wl@gnu.org>
+       * builds/windows/vc2010/freetype.vcxproj: Switch platform toolset
+       according to the Visual Studio version.
 
-       * src/cff/cffload.c (cff_font_load): Improve fix from 2017-01-04.
+2017-09-11  Werner Lemberg  <wl@gnu.org>
 
-       Allow CFFs containing a single font to have an empty font name.
+       * src/sfnt/ttkern.c (tt_face_load_kern): Reject format 2 tables.
 
-       Problem reported by 張俊芝 <418092625@qq.com> in
+       Reported by Behdad.
 
-         http://lists.nongnu.org/archive/html/freetype-devel/2017-03/msg00074.html
+2017-09-09  Werner Lemberg  <wl@gnu.org>
 
-2017-03-30  Werner Lemberg  <wl@gnu.org>
+       [autofit] Improve communication with ftgrid.
 
-       * src/cff/cffparse.h (CFF2_DEFAULT_STACK): Set to 513 also.
+       * src/autofit/afhints.c (af_glyph_hints_get_segment_offset):
+       Provide values in font units.
 
-       Requested by Dave Arnold.
+2017-09-08  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
-2017-03-30  Werner Lemberg  <wl@gnu.org>
+       [base] Remove a check for resource ID in the resource fork driver.
 
-       [truetype] Fix HVAR and VVAR handling (#50678).
+       LastResort.dfont has a marginal resource ID 0xFFFF for sfnt
+       resource.  Inside Macintosh: More Macintosh Toolbox, `Resource IDs'
+       (1-46), tells that some IDs are reserved and should not be used.
+       FreeType2 just uses resource ID to sort the fragmented resource.
+       To accept the marginal fonts, the checking is removed.
 
-       * src/truetype/ttgxvar.c (tt_hvadvance_adjust): Handle
-       glyph indices larger than `mapCount' as described in the
-       specification.
+       * src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Remove res_id
+       validity check, fix a trace message format.
 
-2017-03-30  Werner Lemberg  <wl@gnu.org>
+2017-09-08  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
-       [truetype] Allow linear scaling for unhinted rendering (#50470).
+       [sfnt, truetype] Register the tags for marginal fonts.
 
-       * src/truetype/ttdriver.c (tt_size_request): Revert change from
-       2011-07-16; the intended metrics fix seems now to be implemented in
-       a different way, making the patch unnecessary.  Note that this
-       change was usually patched out by all major GNU/Linux distributions
-       due to heavy side effects.
+       The first 32bit of standard TrueType variants is 0x00010000,
+       `OTTO', `ttcf', `true' or `typ1'.  2 marginal dfonts on legacy Mac
+       OS X, Keyboard.dfont and LastResort.dfont, have the sfnt resources
+       starting 0xA5 followed by `kbd' or `lst'.  Considering the following
+       data could be parsed as conventional TrueType fonts, the header
+       checking is updated to allow these tags.  It seems that recent Mac
+       OS X has already switched to normal TTF for these fonts.
 
-       * src/truetype/ttgload.c (compute_glyph_metrics, TT_Load_Glyph):
-       Refer to the metrics of the `TT_Size' object.
+       See the discussion at
+       http://u88.n24.queensu.ca/exiftool/forum/index.php?topic=3931.0
 
-2017-03-29  Werner Lemberg  <wl@gnu.org>
+       * include/freetype/tttags.h (TTAG_0xA5kbd, TTAG_0xA5lst): New header
+       tags for Keyboard.dfont and LastResort.dfont.
+       * src/sfnt/sfobjs.c (sfnt_open_font): Accept the sfnt resource
+       starts with TTAG_0xA5kbd or TTAG_0xA5lst.
+       * src/truetype/ttobjs.c (tt_face_init): Accept the face with the
+       format tag is TTAG_0xA5kbd or TTAG_0xA5lst.
 
-       [truetype] Fix thinko related to PS name of default named instance.
+2017-09-05  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttgxvar.c (TT_Get_MM_Var): `strid' and `psid' are
-       name ID values, not indices into the array of name entries.
+       Fix multiple calls of `FT_Bitmap_Convert'.
 
-2017-03-27  Werner Lemberg  <wl@gnu.org>
+       The documentation of `FT_Bitmap_Convert' says that multiple calls do
+       proper reallocation of the target FT_Bitmap object.  However, this
+       failed for the sequence
 
-       [cid, truetype] Don't use `index' as a variable name.
+         non-empty bitmap
+         empty bitmap
+         non-empty bitmap
 
-       At least on FreeBSD there is a global declaration of `index' in file
-       `/usr/include/strings.h'.
+       Reason was that `FT_Bitmap_Convert' only reallocated the bitmap
+       buffer if it became too small; it didn't make the buffer smaller.
+       For an empty bitmap following a non-empty one, only the buffer
+       dimension got set to zero, without deallocation.  If the next call
+       was a non-empty buffer again, an assertion in `ft_mem_qrealloc' was
+       triggered.
 
-       * src/cff/cf2intrp.c, src/truetype/ttgload.c: s/index/idx/ where
-       appropriate.
+       * src/base/ftbitmap.c (FT_Bitmap_Convert): Always reallocate target
+       buffer to the correct size.
 
-2017-03-27  Wojciech Mamrak  <wmamrak@gmail.com>
+       * docs/CHANGES: Document it.
 
-       [sfnt] Minor improvement for handling kern tables.
+2017-09-05  Werner Lemberg  <wl@gnu.org>
 
-       * src/sfnt/ttkern.c (tt_face_load_kern): Don't check for
-       cross-stream kerning tables since we reject format 2 tables later
-       on anyways.
-       Modify code for limit test...
-       (tt_face_get_kerning): ... to avoid a limit test here.
+       [bdf] Fix size and resolution handling.
 
-2017-03-27  Werner Lemberg  <wl@gnu.org>
+       * src/bdf/bdfdrivr.c (BDF_Face_Init): Use `SIZE' values if
+       `POINT_SIZE', `RESOLUTION_X', or `RESOLUTION_Y' properties are
+       missing.
 
-       [pcf] Fix compiler warnings.
+       * docs/CHANGES: Document it.
 
-       Reported by Alexander Hedges <ahedges@student.ethz.ch>.
+2017-08-25  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/pcf/pcfdrivr.c (pcf_property_set, pcf_property_get): Tag
-       `property_name' with `FT_UNUSED' where necessary.
+       Swap `ALLOC_MULT' arguments (#51833).
 
-2017-03-26  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftbitmap.c (ft_bitmap_assure_buffer): Updated.
+       * src/winfonts/winfnt.c (FNT_Load_Glyph): Updated.
+       * src/raster/ftrend1.c (ft_raster1_render): Updated.
 
-       * src/psaux/psobjs.c (t1_builder_close_contour): Add safety guard.
+2017-08-23  Werner Lemberg  <wl@gnu.org>
 
-       Reported as
+       [sfnt] Fix clang compilation (#51788).
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=941
+       * src/sfnt/pngshim.c (premultiply_data): Use vectors instead of
+       scalars.
+       (vector_shuffle): New macro to take care of a different built-in
+       function name on clang.
 
-2017-03-23  Werner Lemberg  <wl@gnu.org>
+2017-08-22  Werner Lemberg  <wl@gnu.org>
 
-       [psaux] Better protect `flex' handling.
+       [base] Don't zero out allocated memory twice (#51816).
 
-       Reported as
+       Patch applied from bug report.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=935
+       * src/base/ftutil.c (ft_mem_qrealloc): Use low-level allocation to
+       avoid unnecessary overhead.
 
-       * src/psaux/t1decode.c (t1_decoder_parse_charstrings)
-       <callothersubr>: Since there is not a single flex operator but a
-       series of subroutine calls, malformed fonts can call arbitrary other
-       operators after the start of a flex, possibly adding points.  For
-       this reason we have to check the available number of points before
-       inserting a point.
+2017-08-22  Werner Lemberg  <wl@gnu.org>
 
-2017-03-23  Werner Lemberg  <wl@gnu.org>
+       [truetype] Integer overflow.
 
-       [sfnt] Fix check for default named instance.
+       Changes triggered by
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): A `fixed' number needs four
-       bytes, not two...
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3107
 
-2017-03-23  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttinterp.c (Ins_MDRP, Ins_MIRP, Ins_ALIGNPTS): Use
+       NEG_LONG.
 
-       Make MM fonts work (again).
-
-       * src/base/ftmm.c (FT_Set_Var_Design_Coordinates,
-       FT_Set_MM_Blend_Coordinates, FT_Set_Var_Blend_Coordinates): Ignore
-       return value of `ft_face_get_mvar_service'; instead, check whether a
-       service is actually returned.
+2017-08-17  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-2017-03-20  Werner Lemberg  <wl@gnu.org>
+       [sfnt] Avoid synthetic unicode for symbol fonts with PUA.
 
-       [truetype] Some variable renamings.
+       Reported as
 
-       Too much local variables holding different structures were called
-       `metrics'.
+         https://bugs.chromium.org/p/chromium/issues/detail?id=754574
 
-       * src/truetype/ttdriver.c (tt_size_select): s/metrics/size_metrics/.
+       * src/sfnt/sfobjs.c (sfnt_load_face): Check for FT_ENCODING_MS_SYMBOL.
 
-       * src/truetype/ttgload.c (tt_get_metrics_incr_overrides,
-       compute_glyph_metrics): s/metrics/incr_metrics/.
-       (load_sbit_image): s/metrics/sbit_metrics/.
+2017-08-16  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttobjs.c (tt_size_run_fpgm): s/metrics/size_metrics/.
-       (tt_size_init_bytecode): s/metrics/tt_metrics/.
-       (tt_size_reset): s/metrics/size_metrics/.
+       * src/sfnt/pngshim.c (premultiply_data): Fix compiler warnings.
 
-2017-03-20  Werner Lemberg  <wl@gnu.org>
+2017-08-15  Behdad Esfahbod  <behdad@behdad.org>
 
-       [sfnt] Don't add instances to non-variation fonts.
+       [sfnt] Speed up PNG image loading.
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): Fix it.
+       This reduces the overhead of `premultiply_data' by 60%.
 
-2017-03-20  Werner Lemberg  <wl@gnu.org>
+       * src/sfnt/pngshim.c (premultiply_data): Provide code which uses
+       gcc's (and clang's) `vector_byte' attribute to process 4 pixels at a
+       time.
 
-       * src/cff/cffgload.c (cff_builder_init): Add safety guard (#50578).
+2017-08-11  Werner Lemberg  <wl@gnu.org>
 
-2017-03-18  Werner Lemberg  <wl@gnu.org>
+       [sfnt, truetype] Improve handling of missing sbits.
 
-       Introduce FT_UINT_TO_POINTER macro (#50560).
+       Requested by Behdad.
 
-       We have to make a separate case for Windows 64's LLP64 data model.
+       Modern bitmap-only SFNTs like `NotoColorEmoji.ttf' don't contain
+       entries in the bitmap strike(s) for empty glyphs.  Instead, they
+       rely that a space glyph gets created from the font's metrics data.
+       This commit makes FreeType behave accordingly.
 
-       * builds/unix/ftconfig.in, builds/vms/ftconfig.h,
-       include/freetype/config/ftconfig.h (FT_UINT_TO_POINTER): New macro.
+       * include/freetype/fterrdef.h (FT_Err_Missing_Bitmap): New error
+       code.
 
-       * src/truetype/ttgload.c (load_truetype_glyph): Use it.
+       * src/sfnt/ttsbit.c (tt_sbit_decoder_load_image): Change error codes
+       to make a distinction between a missing bitmap in a composite and a
+       simple missing bitmap.
 
-2017-03-18  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttgload.c (TT_Load_Glyph): For a missing bitmap (in a
+       bitmap-only font), synthesize an empty bitmap glyph if metrics are
+       available.
 
-       * src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter (#50573).
+2017-08-10  Werner Lemberg  <wl@gnu.org>
 
-       The problematic font that exceeds the old limit is Lato-Regular,
-       version 2.007, containing bytecode generated by a buggy version of
-       ttfautohint.
+       [base] Minor API improvement for default variation axis setting.
 
-2017-03-18  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftmm.c (FT_Set_MM_Design_Coordinates,
+       FT_Set_Var_Design_Coordinates, FT_Set_MM_Blend_Coordinates,
+       FT_Set_Var_Blend_Coordinates): Allow coords==NULL if num_coords==0.
 
-       [truetype] Another limitation for bytecode loop count maximum.
+       * docs/CHANGES: Updated.
 
-       Reported as
+2017-08-08  Werner Lemberg  <wl@gnu.org>
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=900
+       [psnames] Really fix issue #49949.
 
-       * src/truetype/ttinterp.c (TT_RunIns): Limit `loopcall_counter_max'
-       by number of glyphs also.
+       We now use a separate preprocessor macro to handle both definition
+       and declaration of the glyph name arrays.
 
-2017-03-18  Werner Lemberg  <wl@gnu.org>
+       * src/psnames/psmodule.c (DEFINE_PS_TABLE_DATA): New macro.
 
-       [ftfuzzer] Minor improvement.
+       * src/tools/glnames.py (StringTable::dump,
+       StringTable::dump_sublist): Use `DEFINE_PS_TABLE_DATA'.
+       (dump_encoding): Ditto.
+       (main): Use `wb' mode for writing the output file, which works on
+       Windows also.
 
-       * src/tools/ftfuzzer/ftfuzzer.cc: Don't set intermediate axis if
-       bitmap strikes are active.
+       * src/psnames/pstables.h: Regenerated.
 
-2017-03-18  Werner Lemberg  <wl@gnu.org>
+2017-08-08  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       Improve `make multi'.
+       [smooth] Harmony LCD rendering.
 
-       * src/autofit/aflatin2.c: Guard file with FT_OPTION_AUTOFIT2.
+       This is a new technology for LCD-optimized rendering. It capitalizes
+       on the fact that each color channel grid is shifted by a third of a
+       pixel.  Therefore it is logical to render 3 separate monochrome
+       bitmaps shifting the outline by 1/3 pixel, and then combine them.
+       Importantly, the resulting output does not require additional LCD
+       filtering.
 
-       * src/base/ftmac.c: Guard more parts of the file with FT_MACINTOSH.
+       * src/smooth/ftsmooth.c (ft_smooth_render_generic)
+       [!FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Implement new LCD-optimized
+       rendering.
 
-       * src/psaux/afmparse.c: Guard file with T1_CONFIG_OPTION_NO_AFM.
+       * include/freetype/ftlcdfil.h, include/freetype/freetype.h,
+       include/freetype/config/ftoption.h, devel/ftoption.h: Updated
+       documentation.
 
-       * src/sfnt/pngshim.c: Guard file with
-       TT_CONFIG_OPTION_EMBEDDED_BITMAPS also.
+2017-08-08  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/sfnt/ttbdf.c: Avoid empty source file.
-       * src/sfnt/ttpost.c: Guard file with
-       TT_CONFIG_OPTION_POSTSCRIPT_NAMES.
-       * src/sfnt/ttsbit.c: Guard file with
-       TT_CONFIG_OPTION_EMBEDDED_BITMAPS.
+       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Clean up.
 
-       * src/truetype/ttgxvar.c, src/truetype/ttinterp.c: Avoid empty
-       source file.
+2017-08-08  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/truetype/ttsubpix.c: Guard file with
-       TT_USE_BYTECODE_INTERPRETER also.
+       * src/sfnt/ttpost.c (format): Use otspec-compliant versions.
 
-       * src/type1/t1afm.c: Guard file with T1_CONFIG_OPTION_NO_AFM.
+2017-08-05  Werner Lemberg  <wl@gnu.org>
 
-       * src/autofit/autofit.c, src/base/ftbase.c, src/cache/ftcache.c,
-       src/cff/cff.c, src/cid/type1cid.c, src/gxvalid/gxvalid.c,
-       src/pcf/pcf.c, src/pfr/pfr.c, src/psaux/psaux.c,
-       src/pshinter/pshinter.c, src/psnames/psnames.c, src/raster/raster.c,
-       src/sfnt/sfnt.c, src/smooth/smooth.c, src/truetype/truetype.c,
-       src/type1/type1.c, src/type42/type42.c: Remove conditionals; sort
-       entries.
+       [truetype] Integer overflow.
 
-2017-03-17  Werner Lemberg  <wl@gnu.org>
+       Reported as
 
-       Fixes for conditional compilation.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2868
 
-       * src/autofit/afcjk.c, src/autofit/afindic.c: Include `afcjk.h'
-       earlier.
+       * src/truetype/ttinterp.c (Ins_ALIGNRP): Use NEG_LONG.
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): Put `memory' variable into
-       TT_CONFIG_OPTION_GX_VAR_SUPPORT block.
-       (sfnt_done_face): Protect some code with
-       TT_CONFIG_OPTION_GX_VAR_SUPPORT.
+2017-08-05  Werner Lemberg  <wl@gnu.org>
 
-       * src/sfnt/ttsbit.c (tt_face_load_sbix_image): Remove compiler
-       warning.
+       [base, truetype] New function `FT_Get_Var_Axis_Flags'.
 
-       * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Put `tmp' variable
-       into TT_USE_BYTECODE_INTERPRETER block.
+       The reserved `flags' field got a value in OpenType version 1.8.2;
+       unfortunately, the public `FT_Var_Axis' structure misses the
+       corresponding element.  Since we can't add a new field, we add an
+       access function.
 
-       (tt_loader_init): Put `error' variable into
-       TT_USE_BYTECODE_INTERPRETER block.
+       * src/base/ftmm.c (FT_Get_Var_Axis_Flags): New function.
 
-2017-03-17  Werner Lemberg  <wl@gnu.org>
+       * include/freetype/ftmm.h (FT_VAR_AXIS_FLAG_HIDDEN): New macro.
+       Updated.
 
-       Fix preprocessor warning.
+       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Increase allocated memory
+       of `mmvar' to hold axis flags.
+       Fill the axis flags array.
 
-       * devel/ftoption.h, include/freetype/config/ftoption.h: Test whether
-       TT_CONFIG_OPTION_SUBPIXEL_HINTING is defined before checking its
-       value.
+       * docs/CHANGES: Updated.
 
-2017-03-17  Werner Lemberg  <wl@gnu.org>
+2017-08-03  Nikolaus Waxweiler  <madigens@gmail.com>
 
-       `make multi' fixes; compiler warnings.
+       [truetype] Fix metrics of B/W hinting in v40 mode.
 
-       * src/base/ftsnames.c: Include FT_INTERNAL_DEBUG_H.
+       Phantom points are now saved outside v40 backwards compatibility
+       mode.  This fixes the jumping glyphs when switching between v35 and
+       v40 monochrome mode.
 
-       * src/cff/cffobjs.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include
-       FT_MULTIPLE_MASTERS_H and FT_SERVICE_MULTIPLE_MASTERS_H.
+       * src/truetype/ttgload.c (TT_Hint_Glyph): Fix inversed bool logic.
 
-       * src/sfnt/sfdriver.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include
-       FT_MULTIPLE_MASTERS_H and FT_SERVICE_MULTIPLE_MASTERS_H.
-       (get_win_string, get_apple_string): Initialize `result'.
+2017-08-03  Nikolaus Waxweiler  <madigens@gmail.com>
 
-2017-03-17  Dave Arnold <darnold@adobe.com>
+       [truetype] Do not set any ClearType flags in v40 monochrome mode.
 
-       [cff] Fix potential bugs in default NDV for CFF2.
+       This fixes weird behavior of instructions that resulted in rendering
+       differences between v35 and v40 in monochrome mode, e.g., in
+       `timesbi.ttf'.
 
-       * src/cff/cffload.c (cff_blend_build_vector): Explicitly build blend
-       vector when `lenNDV' is zero; don't rely on zero-init.
-       Save `lenNDV' as part of cache key even when `lenNDV' is zero.
+       * src/truetype/ttinterp.c (Ins_GETINFO)
+       [TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL]: Check
+       `subpixel_hinting_lean'.
 
-2017-03-17  Dave Arnold <darnold@adobe.com>
+2017-08-01  Werner Lemberg  <wl@gnu.org>
 
-       [cff] Fix CFF2 stack allocation.
+       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Fix thinko.
 
-       * src/cff/cffparse.c (cff_parser_init) add 1 for operator.
+2017-08-01  Behdad Esfahbod  <behdad@behdad.org>
 
-2017-03-16  Werner Lemberg  <wl@gnu.org>
+       [truetype] Fix loading of named instances.
 
-       * src/truetype/ttgxvar.c (tt_done_blend): Free `vvar_table'.
+       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Preserve file position
+       while loading the `avar' table.
 
-       Reported as
+2017-08-01  Werner Lemberg  <wl@gnu.org>
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=883
+       [sfnt, truetype] Minor adjustments for OpenType 1.8.2.
 
-2017-03-15  Werner Lemberg  <wl@gnu.org>
+       * src/sfnt/sfobjs.c (sfnt_load_face): The units per EM value has now
+       (tighter) limits.
 
-       Remove clang compiler warnings (#50548).
+       * src/truetype/ttgload.c (load_truetype_glyph): The new OpenType
+       version explicitly allows all negative values for the number of
+       contours if we have a composite glyph (this is for better backwards
+       compatibility I guess), but it still recommends value -1.
 
-       * include/freetype/internal/tttypes.h (TT_FaceRec): Make
-       `var_postscript_prefix_len' unsigned.
+2017-07-26  Werner Lemberg  <wl@gnu.org>
 
-       * src/autofit/afwarp.c (af_warper_compute_line_best): Remove
-       redundant assignment.
+       [cff] Integer overflow.
 
-       * src/cff/cffload.c (cff_subfont_load): Add casts.
+       Reported as
 
-       * src/cff/cffparse.c (cff_parse_blend): Remove redundant assignment.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2738
 
-       * src/sfnt/sfdriver.c (fmix32, murmur_hash_3_128): Add `static'
-       keyword.
-       Add casts.
-       (fixed2float): Add cast.
-       (sfnt_get_var_ps_name): Make `p' always initialized.
-       Add casts.
+       * src/cff/cf2hints.c (cf2_glyphpath_computeOffset,
+       cf2_glyphpath_curveTo): Use ADD_INT32.
 
-       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Add casts.
+2017-07-13  Werner Lemberg  <wl@gnu.org>
 
-2017-03-15  Werner Lemberg  <wl@gnu.org>
+       [base] Fix memory leak.
 
-       [ftfuzzer] Limit number of tested faces and instances.
+       Reported as
 
-       This is inspired by the discussion in and analysis of
+         https://bugs.chromium.org/p/chromium/issues/detail?id=738362
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=859
+       * src/base/ftglyph.c (FT_Get_Glyph): Do proper deallocation in case
+       of error.
 
-       * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Use only
-       up to 20 face indices.
-       Use only up to 20 instance indices.
+2017-07-12  Werner Lemberg  <wl@gnu.org>
 
-2017-03-15  Werner Lemberg  <wl@gnu.org>
+       [base] Integer overflow.
 
-       * src/tools/ftfuzzer/ftfuzzer.cc: Improve readability; formatting.
+       Reported as
 
-2017-03-14  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2573
 
-       [sfnt] Implement PS names for font instances [3/3].
+       * src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics): Use
+       FT_PIX_CEIL_LONG and FT_PIX_ROUND_LONG.
 
-       Everything is guarded with TT_CONFIG_OPTION_GX_VAR_SUPPORT.
+2017-07-12  Werner Lemberg  <wl@gnu.org>
 
-       * include/freetype/internal/tttypes.h (TT_FaceRec): New fields
-       `var_postscript_prefix' and `var_postscript_prefix_len'.
+       * src/truetype/ttpload.c (tt_face_get_location): Off-by-one typo.
 
-       * src/sfnt/sfdriver.c: Include FT_TRUETYPE_IDS_H.
-       (sfnt_is_alphanumeric): New wrapperfunction for `ft_isalnum'.
-       (get_win_string, get_apple_string): Remove `const' from return
-       value.
-       (MAX_VALUE_DESCRIPTOR_LEN, MAX_PS_NAME_LEN): New macros.
-       (hexdigits): New array.
-       (sfnt_get_var_ps_name): New function, implementing Adobe TechNote
-       5902 to construct a PS name for a variation font instance.
-       (sfnt_get_ps_name): Call `sfnt_get_var_ps_name' for font instances.
+       Also improve tracing message.
 
-       * src/sfnt/sfobjs.c (sfnt_done_face): Updated.
+       Problem reported as
 
-       * src/truetype/ttgxvar.c (tt_set_mm_blend): Reset
-       `face->postscript_name' to trigger recalculation for new instance
-       parameters.
+         https://bugs.chromium.org/p/chromium/issues/detail?id=738919
 
-2017-03-14  Werner Lemberg  <wl@gnu.org>
+2017-07-07  Werner Lemberg  <wl@gnu.org>
 
-       [sfnt] Implement PS names for font instances [2/3].
+       [cff] Integer overflow.
 
-       * src/sfnt/sfdriver.c (fix2float) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]:
-       New function to find the shortest representation of a 16.16
-       fractional number.
+       Reported as
 
-2017-03-14  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2517
 
-       [sfnt] Implement PS names for font instances [1/3].
+       * src/cff/cf2blues.c (cf2_blues_capture): Use SUB_INT32.
 
-       Add 128bit MurmurHash 3 function.
+2017-07-05  Werner Lemberg  <wl@gnu.org>
 
-       Everything is guarded with TT_CONFIG_OPTION_GX_VAR_SUPPORT.
+       * src/sfnt/ttcmap.c (tt_cmap_unicode_class_rec): Fix warning.
 
-       * src/sfnt/sfdriver.c (ROTL32): New macro.
-       (fmix32, murmur_hash_3_128): New functions.
+2017-07-05  Werner Lemberg  <wl@gnu.org>
 
-2017-03-13  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttgxvar.c (FT_Stream_SeekSet): Fix warning (#51395).
 
-       [truetype] Ignore invalid MVAR tags.
+2017-07-04  Werner Lemberg  <wl@gnu.org>
 
-       Reported as
+       [truetype] Prevent address overflow (#51365).
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=838
+       * src/truetype/ttgxvar.c (FT_Stream_SeekSet): Add guard.
 
-       * src/truetype/ttgxvar.c (ft_var_load_mvar): Ignore value and emit
-       warning for invalid tags.
-       (tt_apply_mvar): Ignore invalid tags.
+2017-07-03  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-2017-03-12  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftlcdfil.c (ft_lcd_filter_fir): Improve code.
 
-       [truetype] Store and use design coordinates also.
+2017-07-03  Werner Lemberg  <wl@gnu.org>
 
-       * include/freetype/internal/services/svmm.h (FT_Get_Var_Blend_Func):
-       Add `normalizedcoords' argument.
+       [truetype] Integer overflow.
 
-       * src/truetype/ttgxvar.h (GX_BlendRec): Add `coords' field to store
-       the design coordinates of the current instance.
-       Updated.
+       Reported as
 
-       * src/truetype/ttgxvar.c (TT_Set_MM_Blend): Move functionality to...
-       (tt_set_mm_blend): ... New function.
-       Convert data in `normalizedcoords' array to `coords' array on
-       demand.
-       (TT_Set_Var_Design): Store argument data in `coords' array.
-       (TT_Get_Var_Design): Get data from `coords' array.
-       (tt_get_var_blend): Updated.
-       (tt_done_blend): Updated.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2455
 
-       * src/cff/cffload.c, src/cff/cffload.h (cff_get_var_blend): Updated.
+       * src/truetype/ttinterp.c (Ins_SCFS): Use SUB_LONG.
 
-       * src/cff/cf2ft.c (cf2_getNormalizedVector): Updated.
+2017-07-01  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/cff/cffobjs.c (cff_face_init): Updated.
+       * src/sfnt/sfobjs.c (sfnt_load_face): Ignore No_Unicode_Glyph_Name.
 
-2017-03-12  Werner Lemberg  <wl@gnu.org>
+2017-06-28  Ben Wagner  <bungeman@google.com>
 
-       src/truetype/ttgxvar.[ch]: s/avar_checked/avar_loaded/.
+       Avoid Microsoft compiler warnings (#51331).
 
-2017-03-08  Werner Lemberg  <wl@gnu.org>
+       While clang's sanitizer recommends a cast to unsigned for safe
+       negation (to handle -INT_MIN), both MSVC and Visualc emit warning
+       C4146 if an unsigned value gets negated.
 
-       [sfnt] Another fix for buggy variation fonts.
+       * include/freetype/internal/ftcalc.h (NEG_LONG, NEG_INT32),
+       src/base/ftcalc.c (FT_MOVE_SIGN): Replace negation with a
+       subtraction.
 
-       Reported as
+2017-06-27  Werner Lemberg  <wl@gnu.org>
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=759
+       * src/cff/cffparse.c (do_fixed): Fix typo.
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): While setting number of
-       instances to zero for `CFF' fonts table, ensure that there is no
-       `CFF2' present also (which gets priority).
+       Spotted by chris <chris@gcjd.org>.
 
-2017-03-07  Werner Lemberg  <wl@gnu.org>
+2017-06-27  Werner Lemberg  <wl@gnu.org>
 
-       [sfnt] Improve handling for buggy variation fonts.
+       [truetype] Integer overflows.
 
        Reported as
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=738
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2384
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2391
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): While setting number of
-       instances to zero for `CFF' fonts table, ensure that there is no
-       `glyf' table present also (which gets priority).
+       * src/base/ftcalc.c (FT_MulDiv, FT_MulDiv_No_Round, FT_DivFix): Use
+       NEG_LONG.
 
-2017-03-06  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttinterp.c (Ins_SxVTL): Use NEG_LONG.
 
-       [sfnt, truetype] Always provide default instance.
+2017-06-24  Werner Lemberg  <wl@gnu.org>
 
-       As documented in the OpenType specification, an entry for the
-       default instance may be omitted in the named instance table.  In
-       particular this means that even if there is no named instance table
-       in the font we actually do have a named instance, namely the default
-       instance.
+       [truetype] Integer overflows.
 
-       For consistency, we always want the default instance in our list of
-       named instances.  If it is missing, we try to synthesize it.
+       Reported as
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): Check whether the default
-       instance is in the table of named instances.  Otherwise adjust
-       number of instances.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2364
 
-       * src/truetype/ttgxvar.c: Include FT_TRUETYPE_IDS_H.
-       (TT_Get_MM_Var): Use `face->root.style_flags' as the number of named
-       instances.
-       Sythesize a named instance entry if necessary.
-       (tt_done_blend): Free `normalized_stylecoords'.
+       * src/truetype/ttinterp.c (Ins_ISECT): Use NEG_LONG.
 
-2017-03-05  Werner Lemberg  <wl@gnu.org>
+2017-06-22  Werner Lemberg  <wl@gnu.org>
 
-       [sfnt] Remove redundant code.
+       [cff, truetype] Integer overflows.
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): Remove second test for
-       `num_instances', which will always succeed.
+       Reported as
 
-2017-03-04  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2323
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2328
 
-       [sfnt] Add `get_name_id' service.
+       * src/cff/cf2blues.c (cf2_blues_capture): Use ADD_INT32 and
+       SUB_INT32.
 
-       * include/freetype/internal/sfnt.h (TT_Get_Name_ID_Func): New
-       typedef.
-       (SFNT_Interface): Add `get_name_id' field.
-       (FT_DEFINE_SFNT_INTERFACE): Updated.
+       * src/truetype/ttinterp.c (Ins_SDPVTL): Use SUB_LONG and NEG_LONG.
 
-       * src/sfnt/sfdriver.c (search_name_id): Rename to...
-       (sfnt_get_name_id): ... this.
-       (sfnt_get_ps_name, sfnt_interface): Updated.
+2017-06-21  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-2017-03-04  Werner Lemberg  <wl@gnu.org>
+       [sfnt] Synthesize a Unicode charmap if one is missing.
 
-       [truetype] Make `TT_Set_MM_Blend' set named instance index.
+       * src/sfnt/ttcmap.h (tt_cmap_unicode_class_rec): Declare it.
+       * src/sfnt/ttcmap.c (tt_get_glyph_name, tt_cmap_unicode_init,
+       tt_cmap_unicode_done, tt_cmap_unicode_char_index,
+       tt_cmap_unicode_char_next, tt_cmap_unicode_class_rec): Implement
+       synthetic Unicode charmap class.
+       (tt_get_cmap_info): Make sure the callback is available.
 
-       * src/truetype/ttgxvar.h (GX_Blend): New array
-       `normalized_stylecoords'.
+       * src/sfnt/sfobjs.c (sfnt_load_face)
+       [FT_CONFIG_OPTION_POSTSCRIPT_NAMES]: If Unicode charmap is missing,
+       synthesize one.
 
-       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Allocate and fill
-       `normalized_stylecoords'.
-       (TT_Set_MM_Blend): Check instance tuple and adjust `face_index'
-       accordingly.
+       * include/freetype/config/ftoption.h: Document it.
+       * devel/ftoption.h: Ditto.
 
-2017-03-02  Werner Lemberg  <wl@gnu.org>
+2017-06-20  Tony Theodore  <tonyt@logyst.com>
 
-       [truetype] Split off designer/normalized conversion routines.
+       Fix pkg-config in freetype-config for cross-compiling (#51274).
 
-       * src/truetype/ttgxvar.c (TT_Set_Var_Design): Split off conversion
-       code designer->normalized coordinates to...
-       (ft_var_to_normalized): ... New function.
-       (TT_Get_Var_Design): Split off conversion code normalized->designer
-       coordinates to...
-       (ft_var_to_design): ... New function.
+       * builds/unix/unix-def.in (PKG_CONFIG): New variable.
+       (freetype-config): Use it in sed expression.
 
-2017-02-28  Werner Lemberg  <wl@gnu.org>
+       * builds/unix/freetype-config.in: s/pkg-config/%PKG_CONFIG%/.
 
-       [sfnt] Further generalize `sfnt_get_ps_name'; report invalid data.
+2017-06-20  Werner Lemberg  <wl@gnu.org>
 
-       * src/sfnt/sfdriver.c (sfnt_ps_map): New array.
-       (sfnt_is_postscript): New function.
-       (char_type_func): New typedef.
-       (get_win_string, get_apple_string): Add argument to specify
-       character checking function.
-       Add argument whether argument checking failures should be reported.
-       Update callers.
-       (search_name_id): Fix return value.
+       [cff, truetype] Integer overflows.
 
-2017-02-23  Werner Lemberg  <wl@gnu.org>
+       Reported as
 
-       [sfnt] Split off another bit of `sfnt_get_ps_name'.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2300
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2313
 
-       * src/sfnt/sfdriver.c (sfnt_get_ps_name): Split off some
-       functionality into...
-       (search_name_id): ... New function.
+       * src/cff/cf2hints.c (cf2_hintmap_adjustHints): Use ADD_INT32.
 
-2017-02-23  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttinterp.c (Ins_ABS): Avoid FT_ABS.
 
-       [sfnt] Modularize `sfnt_get_ps_name'.
+2017-06-17  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/sfnt/sfdriver.c (sfnt_get_ps_name): Split off some
-       functionality into...
-       (IS_WIN, IS_APPLE): ... New macros.
-       (get_win_string, get_apple_string): ... New functions.
+       [base, smooth] LCD filtering cleanups.
 
-2017-02-23  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftlcdfil.c (ft_lcd_filter_fir, _ft_lcd_filter_legacy):
+       Clean up, start filtering from the bottom-left origin.
 
-       [truetype] Minor improvement.
+       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Updated.
 
-       * src/truetype/ttgload.c (TT_Process_Simple_Glyph,
-       load_truetype_glyph): Remove unnecessary tests.
+2017-06-16  Werner Lemberg  <wl@gnu.org>
 
-2017-02-23  Werner Lemberg  <wl@gnu.org>
+       [truetype] Integer overflows.
 
-       * include/freetype/internal/tttypes.h (TT_Face): s/isCFF2/is_cff2/.
+       Reported as
 
-       For orthogonality with other structure field names.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2270
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2276
 
-       Update all users.
+       * src/truetype/ttinterp.c (Ins_MDRP, _iup_worker_interpolate): Use
+       ADD_LONG and SUB_LONG.
 
-2017-02-22  Alexei Podtelezhnikov  <apodtele@gmail.com>
+2017-06-15  Werner Lemberg  <wl@gnu.org>
 
-       * src/smooth/ftgrays.c (gray_hline): Improve code.
+       [bdf, cff] Integer overflows.
 
-2017-02-20  Dominik Röttsches  <drott@google.com>
+       Reported as
 
-       Fix some `ttnameid.h' entries (#50313).
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2244
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2261
 
-       * include/freetype/ttnameid.h:
-       s/TT_MS_LANGID_SPANISH_INTERNATIONAL_SORT/TT_MS_LANGID_SPANISH_SPAIN_INTERNATIONAL_SORT/,
-       s/TT_MS_LANGID_MONGOLIAN_MONGOLIA_MONGOLIA/TT_MS_LANGID_MONGOLIAN_MONGOLIA_MONGOLIAN/.
+       * src/bdf/bdfdrivr.c (BDF_Face_Init): Replace calls to FT_ABS with
+       direct code to avoid value negation.
 
-2017-02-20  Werner Lemberg  <wl@gnu.org>
+       * src/cff/cf2blues.c (cf2_blues_capture): Use SUB_INT32 and
+       ADD_INT32.
 
-       [cff] Finish support for `random' operator.
-
-       * src/cff/cfftypes.h (CFF_SubFontRec): Add `random' field.
-
-       * src/cff/cffobjs.c: Updated.
-       (cff_driver_init): Initialize random seed value.
-
-       * src/cff/cffload.c (cff_random): New function.
-       (cff_subfont_load): Add `face' argument.
-       Update all callers.
-       Initialize random number generator with a proper seed value.
-       (cff_font_load): Add `face' argument.
-       Update all callers.
-
-       * src/cff/cffload.h: Updated.
-
-       * src/cff/cf2intrp.c (CF2_FIXME): Removed.
-       (cf2_interpT2CharString) <cf2_escRANDOM>: Implement opcode.
-
-       * src/cff/cffgload.c (cff_decoder_parse_charstrings): Don't
-       initialize random seed value.
-       <cff_op_random>: Use new random seed framework.
-
-2017-02-20  Werner Lemberg  <wl@gnu.org>
-
-       [cff] Sanitize `initialRandomSeed'.
-
-       * src/cff/cffload.c (cff_load_private_dict): Make
-       `initial_random_seed' value always positive.
-
-2017-02-20  Werner Lemberg  <wl@gnu.org>
-
-       [cff] Introduce `random-seed' property (2/2).
-
-       * src/base/ftobjs.c: Include `FT_CFF_DRIVER_H'.
-       (open_face): Initialize `face->internal->random_seed'.
-       (FT_Face_Properties): Handle `FT_PARAM_TAG_RANDOM_SEED'.
-
-       * src/cff/cffdrivr.c (cff_property_set): Handle `random-seed'
-       property.
-
-2017-02-20  Werner Lemberg  <wl@gnu.org>
-
-       [cff] Introduce `random-seed' property (1/2).
-
-       We need this for support of the `random' operator.
-
-       * include/freetype/ftcffdrv.h (FT_PARAM_TAG_RANDOM_SEED): New macro.
-
-       * include/freetype/internal/ftobjs.h (FT_Face_InternalRec): New
-       field `random_seed'.
-
-       * src/cff/cffobjs.h (CFF_DriverRec): New field `random_seed'.
-
-2017-02-17  Werner Lemberg  <wl@gnu.org>
-
-       Remove clang warnings.
-
-       * src/autofit/aflatin.c (af_latin_sort_blue): Add missing `static'
-       keyword.
-
-       * src/base/ftmm.c (FT_Set_Var_Design_Coordinates,
-       FT_Set_MM_Blend_Coordinates, FT_Set_Var_Blend_Coordinates):
-       Initialize some variables.
-
-2017-02-16  Nikolaus Waxweiler  <madigens@gmail.com>
-           Werner Lemberg  <wl@gnu.org>
-
-       Add face property for stem darkening.
-
-       * include/freetype/ftautoh.h (FT_PARAM_TAG_STEM_DARKENING): New
-       macro.
-
-       * include/freetype/internal/ftobjs.h (FT_Face_InternalRec): Add
-       `no_stem_darkening' field.
-
-       * src/autofit/afloader.c (af_loader_load_glyph),
-       src/autofit/afmodule.c (af_property_set): Updated.
-
-       * src/base/ftobjs.c: Include FT_AUTOHINTER_H.
-       (ft_open_face_internal): Updated.
-       (FT_Face_Properties): Handle FT_PARAM_TAG_STEM_DARKENING.
-
-       * src/cff/cf2ft.c (cf2_decoder_parse_charstrings): Updated.
-
-       * src/cff/cffdrivr.c (cff_property_set): Updated.
-
-2017-02-16  Nikolaus Waxweiler  <madigens@gmail.com>
-           Werner Lemberg  <wl@gnu.org>
-
-       Add face property for LCD filter weights.
-
-       * include/freetype/ftlcdfil.h (FT_PARAM_TAG_LCD_FILTER_WEIGHTS,
-       FT_LCD_FILTER_FIVE_TAPS): New macros.
-       (FT_LcdFiveTapFilter): New typedef.
-
-       * include/freetype/ftobjs.h (FT_Face_InternalRec)
-       [FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Add `lcd_weights' field.
-       (FT_Bitmap_LcdFilterFunc): Change third argument to weights array.
-       (ft_lcd_filter_fir): New prototype.
-       (FT_LibraryRec): Updated.
-
-       * src/base/ftlcdfil.c (_ft_lcd_filter_fir): Renamed to...
-       (ft_lcd_filter_fir): ... this base function.
-       Updated.
-       (_ft_lcd_filter_legacy): Updated.
-       (FT_Library_SetLcdFilterWeights, FT_Library_SetLcdFilter): Updated.
-
-       * src/base/ftobjs.c (ft_open_face_internal): Updated.
-       (FT_Face_Properties): Handle FT_PARAM_TAG_LCD_FILTER_WEIGHTS.
-
-       * src/smooth/ftsmooth.c (ft_smooth_render_generic)
-       [FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Handle LCD weights from
-       `FT_Face_Internal'.
-
-2017-02-14  Nikolaus Waxweiler  <madigens@gmail.com>
-           Werner Lemberg  <wl@gnu.org>
-
-       Add new function `FT_Face_Properties'.
-
-       This commit provides the framework, to be filled with something
-       useful in the next commits.
-
-       * include/freetype/freetype.h (FT_Face_Properties): Declare.
-
-       * src/base/ftobjs.c (FT_Face_Properties): New function.
-
-2017-02-13  Werner Lemberg  <wl@gnu.org>
-
-       [autofit] Prevent overlapping blue zones.
-
-       Problem reported as
-
-         https://github.com/google/fonts/issues/632
-
-       The font in question (Nunito) has values 705 and 713 for the
-       reference and overshoot values, respectively, of the first blue
-       zone.  Blue zone 2, however, has value 710 for both the reference
-       and overshoot.  At 12ppem, reference and overshoot of blue zone 0
-       becomes 8px, while blue zone 2 becomes 9px.
-
-       A peculiarity of this font is that the tops of isolated vertical
-       stems like `N' have a slight overshoot also.  The auto-hinter tries
-       to find the nearest blue zone using the *original* coordinates.  For
-       vertical stems, this is value 713.  For normal horizontal tops like
-       in character `E', this is value 710.  Since value 713 is mapped to
-       8px but value 710 to 9px, `N' and similar characters are one pixel
-       higher than `E', which looks very bad.
-
-       This commit sanitizes blue zones to avoid such a behaviour.
-
-       * src/autofit/aflatin.c (af_latin_sort_blue): New function.
-       (af_latin_metrics_init_blues): Sort blue values and remove overlaps.
-
-2017-02-12  Alexei Podtelezhnikov  <apodtele@gmail.com>
-
-       * src/smooth/ftgrays.c (gray_sweep): Improve code.
-
-2017-02-06  Werner Lemberg  <wl@gnu.org>
-
-       [truetype] Implement `VVAR' table support.
-
-       * src/truetype/ttgxvar.h (GX_HVarTable): Renamed to...
-       (GX_HVVarTable): ...This.
-       (GX_Blend): Add fields for `VVAR' table handling.
-       Other minor updates.
-
-       * src/truetype/ttgxvar.c (ft_var_load_hvar): Renamed to...
-       (ft_var_load_hvvar): ...This.
-       Handle VVAR loading also (controlled by an additional parameter).
-       (tt_hadvance_adjust): Renamed to...
-       (tt_hvadvance_adjust): ...This.
-       Handle application of advance height also (controlled by an
-       additional parameter).
-       (tt_hadvance_adjust, tt_vadvance_adjust): Wrappers for
-       `tt_hvadvance_adjust'.
-
-       * src/truetype/ttdriver.c (tt_service_metrics_variations): Updated.
-
-2017-02-05  Werner Lemberg  <wl@gnu.org>
-
-       [autofit] Use better blue zone characters for lowercase latin.
-
-       The number of lowercase characters for computing the top flat blue
-       zone value was too small (in most cases only `x' and `z').  If one
-       of the two characters has a large serif, say, it can happen that
-       FreeType must select between two different values, having a 50%
-       chance to use the wrong one.  As a result, rendering at larger PPEM
-       values could yield uneven lowercase glyph heights.
-
-       Problem reported by Christoph Koeberlin <christoph@koe.berlin>.
-
-       * src/autofit/afblue.dat (AF_BLUE_STRING_LATIN_SMALL): Replaced
-       with...
-       (AF_BLUE_STRING_LATIN_SMALL_TOP, AF_BLUE_STRING_LATIN_SMALL_BOTTOM):
-       ... New, extended sets.
-       (AF_BLUE_STRINGSET_LATN): Updated.
-
-       * src/autofit/afblue.c, scr/autofit/afblue.h: Regenerated.
-
-2017-02-04  Werner Lemberg  <wl@gnu.org>
-
-       Make `freetype-config' a wrapper of `pkg-config' if possible.
-
-       Based on ideas taken from
-
-         http://pkgs.fedoraproject.org/cgit/rpms/freetype.git/tree/freetype-multilib.patch
-         http://pkgs.fedoraproject.org/cgit/rpms/freetype.git/tree/freetype-2.5.3-freetype-config-prefix.patch
-
-       * builds/unix/freetype-config.in: Rewritten.  Use `pkg-config' to
-       set output variables if program is available.
-
-       * docs/CHANGES, docs/freetype-config.1: Updated.
-
-2017-02-04  Werner Lemberg  <wl@gnu.org>
-
-       * builds/unix/unix-def.in (freetype-config): Fix permissions.
-
-2017-02-03  Werner Lemberg  <wl@gnu.org>
-
-       * src/autofit/afglobal.c (af_face_globals_free): Erase useless code.
-
-2017-02-03  Werner Lemberg  <wl@gnu.org>
-
-       * include/freetype/ftgasp.h (FT_GASP_SYMMETRIC_GRIDFIT): Fix value.
-
-       Reported by Behdad.
-
-2017-02-02  Werner Lemberg  <wl@gnu.org>
-
-       [truetype] Fix MVAR post-action handling.
-
-       Reported as
-
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=509
-
-       * src/truetype/ttobjs.c (tt_size_reset): Do nothing for CFF2.  This
-       is important to make `tt_size_reset_iterator' (called in
-       `tt_apply_mvar') always work.
-
-2017-02-02  Werner Lemberg  <wl@gnu.org>
-
-       Make compilation with FT_CONFIG_OPTION_PIC work again.
-
-       All code committed here is guarded with `FT_CONFIG_OPTION_PIC'.
-
-       * include/freetype/internal/services/svmetric.h
-       (FT_DEFINE_SERVICE_METRICSVARIATIONSREC): Remove trailing semicolon.
-
-       * src/autofit/aflatin.c (af_latin_hints_compute_edges,
-       af_latin_hint_edges): Provide `globals' variable.
-
-       * src/autofit/afloader.c (af_loader_load_glyph): Remove shadowing
-       variable.
-
-       * src/autofit/afmodule.c (AF_SCRIPT_CLASSES_GET,
-       AF_STYLE_CLASSES_GET): Redefine.
-
-       * src/autofit/aftypes.h (AF_DEFINE_WRITING_SYSTEM_CLASS): Fix typo.
-
-       * src/cff/cffparse.c (CFF_FIELD_BLEND): Provide it.
-
-       * src/cff/cffpic.h (CffModulePIC): Fix typo.
-
-2017-01-31  Alexei Podtelezhnikov  <apodtele@gmail.com>
-
-       * src/smooth/ftgrays.c (gray_render_scanline): Improve code.
-
-2017-01-31  Werner Lemberg  <wl@gnu.org>
-
-       [cff] Provide metrics variation service interface (#50196).
-
-       Only now I've got an OTF with an HVAR table for testing...
-
-       The code in `ftmm.c' uses `FT_FACE_LOOKUP_SERVICE' to get the
-       metrics variations interface.  However, this didn't work with
-       `FT_FACE_FIND_GLOBAL_SERVICE' used in `sfnt_init_face'.
-
-       * src/cff/cffdrivr.c: Include FT_SERVICE_METRICS_VARIATIONS_H.
-       (cff_hadvance_adjust, cff_metrics_adjust): Wrapper functions for
-       metric service functions from the `truetype' module.
-       (cff_service_metrics_variations): New service.
-       (cff_services): Updated.
-
-       * src/cff/cffpic.h (CFF_SERVICE_METRICS_VAR_GET): New macro.
-       [FT_CONFIG_OPTION_PIC]: Synchronize code.
-
-       * src/sfnt/sfobjs.c (sfnt_init_face): Replace call to
-       FT_FACE_FIND_GLOBAL_SERVICE with `ft_module_get_service' to always
-       load the service from the `truetype' module.
-
-2017-01-31  Werner Lemberg  <wl@gnu.org>
-
-       Add framework to support services with 9 functions.
-
-       * include/freetype/internal/ftserv.h (FT_DEFINE_SERVICEDESCREC9):
-       New macro.
-
-2017-01-31  Werner Lemberg  <wl@gnu.org>
-
-       [base] Fix error handing in MM functions.
-
-       * src/base/ftmm.c (FT_Set_Var_Design_Coordinates,
-       FT_Set_MM_Blend_Coordinates, FT_Set_Var_Blend_Coordinates):
-       Implement it.
-
-2017-01-31  Werner Lemberg  <wl@gnu.org>
-
-       [truetype] Fix sanity check for `gvar' table (#50184).
-
-       * src/truetype/ttgxvar.c (ft_var_load_gvar): There might be missing
-       variation data for some glyphs.
-
-2017-01-31  Werner Lemberg  <wl@gnu.org>
-
-       [autofit] Avoid uninitialized jumps (#50191).
-
-       * src/autofit/afcjk.c (af_cjk_metrics_check_digits),
-       src/autofit/aflatin.c (af_latin_metrics_check_digits): Initialize
-       `advance'.
-
-2017-01-27  Werner Lemberg  <wl@gnu.org>
-
-       s/GB2312/PRC/.
-
-       * include/freetype/freetype.h (FT_ENCODING_PRC): New enum value.
-       (FT_ENCODING_GB2312): Deprecated.
-
-       * include/freetype/ttnameid.h (TT_MS_ID_PRC): New macro.
-       (TT_MS_ID_GB2312): Deprecated.
-
-       * src/sfnt/sfobjs.c (sfnt_find_encoding): Updated.
-
-       * docs/CHANGES: Updated.
-
-2017-01-26  Werner Lemberg  <wl@gnu.org>
-
-       [base] Add `FT_Get_Sfnt_LangTag' function.
-
-       * include/freetype/ftsnames.h (FT_SfntLangTag): New structure.
-       (FT_Get_Sfnt_LangTag): New declaration.
-
-       * src/base/ftsnames.c (FT_Get_Sfnt_LangTag): New function.
-
-       * docs/CHANGES: Updated.
-
-2017-01-26  Werner Lemberg  <wl@gnu.org>
-
-       [sfnt] Support `name' table format 1.
-
-       * include/freetype/internal/tttypes.h (TT_LangTagRec): New
-       structure.
-       (TT_NameTableRec): Add fields `numLangTagRecords' and `langTags'.
-
-       * src/sfnt/ttload.c (tt_face_load_name): Add support for language
-       tags.
-       Reduce array size of name strings in case of invalid entries.
-       (tt_face_free_name): Updated.
-
-       * docs/CHANGES: Updated.
-
-2017-01-25  Werner Lemberg  <wl@gnu.org>
-
-       [sfnt] s/TT_NameEntry/TT_Name/.
-
-       * include/freetype/internal/tttypes.h (TT_NameEntryRec): Renamed
-       to...
-       (TT_NameRec): This.
-       (TT_NameTableRec): Updated.
-
-       * src/base/ftsnames.c (FT_Get_Sfnt_Name): Updated.
-
-       * src/sfnt/sfdriver.c (sfnt_get_ps_name): Updated.
+2017-06-13  Werner Lemberg  <wl@gnu.org>
 
-       * src/sfnt/sfobjs.c (tt_name_entry_ascii_from_utf16,
-       tt_name_entry_ascii_from_other): Renamed to...
-       (tt_name_ascii_from_utf16, tt_name_entry_ascii_from_other): This,
-       respectively.
-       (TT_NameEntry_ConvertFunc): Renamed to...
-       (TT_Name_ConvertFunc): This.
-       (tt_face_get_name): Updated.
+       * src/winfonts/winfnt.c (FNT_Face_Init): Don't set active encoding.
 
-       * src/sfnt/ttload.c (tt_face_load_name, tt_face_free_name):
-       Updated.
+       FreeType only sets a default active encoding for Unicode.
 
-2017-01-24  Werner Lemberg  <wl@gnu.org>
+2017-06-13  Werner Lemberg  <wl@gnu.org>
 
-       [sfnt] Fix Postscript name service for symbol fonts.
+       [cff, truetype] Integer overflows.
 
-       * src/sfnt/sfdriver.c (sfnt_get_ps_name): Accept PID/EID=3/0
-       entries also.
+       Reported as
 
-2017-01-24  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2216
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2218
 
-       [truetype] For OpenType 1.7: s/preferred/typographic/ (sub)family.
+       * src/cff/cf2fixed.h (cf2_fixedAbs): Use NEG_INT32.
 
-       * include/freetype/ftsnames.h
-       (FT_PARAM_TAG_IGNORE_TYPOGRAPHIC_FAMILY,
-       FT_PARAM_TAG_IGNORE_TYPOGRAPHIC_SUBFAMILY): New macros.
-       (FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY,
-       FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY): Deprecated.
+       * src/truetype/ttinterp.c (Ins_IP): Use SUB_LONG.
 
-       * include/freetype/ttnameid.h (TT_NAME_ID_TYPOGRAPHIC_FAMILY,
-       TT_NAME_ID_TYPOGRAPHIC_SUBFAMILY): New macros.
-       (TT_NAME_ID_PREFERRED_FAMILY, TT_NAME_ID_PREFERRED_SUBFAMILY):
-       Deprecated.
+2017-06-11  Werner Lemberg  <wl@gnu.org>
 
-       * src/sfnt/sfobjs.c (sfnt_load_face): Updated.
+       [cff] Integer overflows.
 
-       * docs/CHANGES: Updated.
+       Reported as
 
-2017-01-23  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2200
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2210
 
-       [base] Add `FT_Set_Default_Properties' (#49187).
+       * src/cff/cf2hints.c (cf2_hintmap_insertHint): Use SUB_INT32 and
+       ADD_INT32.
 
-       * include/freetype/ftmodapi.h: Add declaration.
+       * src/cff/cf2intrp.c (cf2_interpT2CharString) <cf2_cmdVMOVETO>: Use
+       ADD_INT32.
 
-       * src/base/ftinit.c (ft_set_default_properties): Renamed to...
-       (FT_Set_Default_Properties): ... this.
-       (FT_Init_FreeType): Updated.
+2017-06-10  Werner Lemberg  <wl@gnu.org>
 
-       * docs/CHANGES: Updated.
+       [truetype] Fix TT_Set_Var_Design.
 
-2017-01-23  Werner Lemberg  <wl@gnu.org>
+       Reported by Nikolaus Waxweiler <madigens@gmail.com>.
 
-       [truetype] Minor updates for OpenType 1.8.1.
+       * src/truetype/ttgxvar.c (TT_Set_Var_Design): Correctly handle the
+       case where we have less input coordinates than axes.
 
-       * src/truetype/ttgxvar.h (GX_MVarTable): `axisCount' has been
-       removed from the specification; it is now reserved.
+2017-06-10  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttgxvar.c (ft_var_load_mvar): Updated.
-       (GX_FVar_Head): Remove `countSizePairs'; the corresponding data
-       field in the `MVAR' table is now reserved.
-       (fvar_fields): Updated.
+       * src/base/ftcalc.c (FT_DivFix): Fix embarrassing typo.
 
-2017-01-23  Werner Lemberg  <wl@gnu.org>
+       Bug introduced 2017-05-28.
 
-       [truetype] Avoid segfault for invalid variation data.
+2017-06-09  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttgxvar.c (ft_var_load_item_variation_store): Assure
-       `itemCount' is not zero.
+       [cff, truetype] Integer overflows.
 
        Reported as
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=441
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2144
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2151
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2153
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2173
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2186
 
-2017-01-20  Werner Lemberg  <wl@gnu.org>
+       * src/cff/cf2blues.c (cf2_blues_init): Use SUB_INT32.
 
-       * src/truetype/ttinterp.c (TT_RunIns): Adjust loop detector limits.
+       * src/truetype/ttinterp.c (Round_None, Round_To_Grid,
+       Round_To_Half_Grid, Round_Down_To_Grid, Round_Up_To_Grid,
+       Round_To_Double_Grid, Round_Super, Round_Super_45): Use ADD_LONG,
+       SUB_LONG, NEG_LONG, FT_PIX_ROUND_LONG, FT_PIX_CEIL_LONG,
+       FT_PAD_ROUND_LONG
+       (Ins_SxVTL, Ins_MIRP): Use SUB_LONG.
+       (_iup_worker_shift): Use SUB_LONG and ADD_LONG.
 
-2017-01-17  Werner Lemberg  <wl@gnu.org>
+2017-06-09  Werner Lemberg  <wl@gnu.org>
 
-       * include/freetype/ttnameid.h: Updated to OpenType 1.8.1.
+       Provide more macros for flooring, ceiling, and rounding.
 
-       (TT_APPLE_ID_FULL_UNICODE): New macro.
+       These versions don't produce run-time errors due to integer
+       overflow.
 
-       (TT_MS_LANGID_BOSNIAN_BOSNIA_HERZ_CYRILLIC,
-       TT_MS_LANGID_UPPER_SORBIAN_GERMANY,
-       TT_MS_LANGID_LOWER_SORBIAN_GERMANY, TT_MS_LANGID_IRISH_IRELAND,
-       TT_MS_LANGID_INUKTITUT_CANADA_LATIN, TT_MS_LANGID_BASHKIR_RUSSIA,
-       TT_MS_LANGID_LUXEMBOURGISH_LUXEMBOURG,
-       TT_MS_LANGID_GREENLANDIC_GREENLAND, TT_MS_LANGID_MAPUDUNGUN_CHILE,
-       TT_MS_LANGID_MOHAWK_MOHAWK, TT_MS_LANGID_BRETON_FRANCE,
-       TT_MS_LANGID_OCCITAN_FRANCE, TT_MS_LANGID_CORSICAN_FRANCE,
-       TT_MS_LANGID_ALSATIAN_FRANCE, TT_MS_LANGID_YAKUT_RUSSIA,
-       TT_MS_LANGID_KICHE_GUATEMALA, TT_MS_LANGID_KINYARWANDA_RWANDA,
-       TT_MS_LANGID_WOLOF_SENEGAL, TT_MS_LANGID_DARI_AFGHANISTAN): New
-       macros.
+       * include/freetype/internal/ftobjs.h: Include FT_INTERNAL_CALC_H.
+       (FT_PAD_ROUND_LONG, FT_PAD_CEIL_LONG, FT_PIX_ROUND_LONG,
+       FT_PIX_CEIL_LONG): New macros.
+       (FT_PAD_ROUND_INT32, FT_PAD_CEIL_INT32, FT_PIX_ROUND_INT32,
+       FT_PIX_CEIL_INT32): New macros.
 
-       (TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_CYRILLIC): Fix value.
+2017-06-09  Werner Lemberg  <wl@gnu.org>
 
-       (TT_MS_LANGID_GERMAN_LIECHTENSTEIN, TT_MS_LANGID_CATALAN_CATALAN,
-       TT_MS_LANGID_CHINESE_MACAO, TT_MS_LANGID_SPANISH_SPAIN_MODERN_SORT,
-       TT_MS_LANGID_KOREAN_KOREA, TT_MS_LANGID_ROMANSH_SWITZERLAND,
-       TT_MS_LANGID_SLOVENIAN_SLOVENIA, TT_MS_LANGID_BASQUE_BASQUE,
-       TT_MS_LANGID_SETSWANA_SOUTH_AFRICA,
-       TT_MS_LANGID_ISIXHOSA_SOUTH_AFRICA,
-       TT_MS_LANGID_ISIZULU_SOUTH_AFRICA, TT_MS_LANGID_KAZAKH_KAZAKHSTAN,
-       TT_MS_LANGID_KYRGYZ_KYRGYZSTAN, TT_MS_LANGID_KISWAHILI_KENYA,
-       TT_MS_LANGID_TATAR_RUSSIA, TT_MS_LANGID_ODIA_INDIA,
-       TT_MS_LANGID_MONGOLIAN_PRC, TT_MS_LANGID_TIBETAN_PRC,
-       TT_MS_LANGID_WELSH_UNITED_KINGDOM, TT_MS_LANGID_GALICIAN_GALICIAN,
-       TT_MS_LANGID_SINHALA_SRI_LANKA, TT_MS_LANGID_TAMAZIGHT_ALGERIA,
-       TT_MS_LANGID_SESOTHO_SA_LEBOA_SOUTH_AFRICA, TT_MS_LANGID_YI_PRC,
-       TT_MS_LANGID_UIGHUR_PRC): New aliases.
+       Remove unused macros.
 
-       Remove commented out code.
+       * include/freetype/internal/ftcalc.h (ADD_INT, SUB_INT, MUL_INT,
+       NEG_INT): Deleted.
 
-       (TT_NAME_ID_LIGHT_BACKGROUND, TT_NAME_ID_DARK_BACKGROUND,
-       TT_NAME_ID_VARIATIONS_PREFIX): New macros.
+2017-06-09  Werner Lemberg  <wl@gnu.org>
 
-       (HAVE_LIMIT_ON_IDENTS): Remove macro (which was useless since many
-       years), use guarded long macros by default and define short versions
-       as aliases for the long ones.
+       */*: Remove `OVERFLOW_' prefix.
 
-2017-01-15  Werner Lemberg  <wl@gnu.org>
+       This increases readability.
 
-       * src/truetype/ttgxvar.c (tt_apply_var): Handle underline parameters
-       also.
+2017-06-07  Werner Lemberg  <wl@gnu.org>
 
-2017-01-11  Werner Lemberg  <wl@gnu.org>
+       [cff, truetype] Integer overflows.
 
-       * src/base/ftobjs.c (ft_open_face_internal): Improve tracing.
+       Reported as
 
-2017-01-11  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2133
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2137
 
-       [truetype] Actually use metrics variation service.
+       * src/cff/cf2hints.c (cf2_hint_init): Use OVERFLOW_SUB_INT32.
 
-       * src/base/ftmm.c: Include FT_SERVICE_METRICS_VARIATIONS_H.
-       (ft_face_get_mvar_service): New auxiliary function to look up
-       metrics variation service.
-       (FT_Set_Var_Design_Coordinates, FT_Set_MM_Blend_Coordinates,
-       FT_Set_Var_Blend_Coordinates): Call metrics variation service.
+       * src/truetype/ttinterp.c (PROJECT, DUALPROJ): Use
+       OVERFLOW_SUB_LONG.
 
-       * src/truetype/ttobjs.c (tt_face_init): Use metrics variations for
-       named instances.
+2017-06-06  Werner Lemberg  <wl@gnu.org>
 
-2017-01-11  Werner Lemberg  <wl@gnu.org>
+       [cff] Integer overflows.
 
-       [truetype] Provide metrics variation service.
+       Reported as
 
-       * include/freetype/internal/services/svmetric.h
-       (FT_Metrics_Adjust_Func): Reduce number of necessary parameters.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2109
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2110
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2122
 
-       * src/truetype/ttgxvar.c: Include FT_LIST_H.
-       (tt_size_reset_iterator): New auxiliary function for...
-       (tt_apply_var): New function.
+       * src/cff/cf2blues.c (cf2_blues_init): Use OVERFLOW_SUB_INT32.
 
-       * src/truetype/ttgxvar.h: Updated.
+       * src/cff/cf2hints.c (cf2_hintmap_map): Synchronize if-else
+       branches.
 
-       * src/truetype/ttdriver.c (tt_service_metrics_variations): Add
-       `tt_apply_mvar'.
+2017-06-05  Werner Lemberg  <wl@gnu.org>
 
-       * include/freetype/internal/ftserv.h (FT_ServiceCache): Add metrics
-       variation service.
+       [cff] Integer overflow.
 
-2017-01-11  Werner Lemberg  <wl@gnu.org>
+       Reported as
 
-       [truetype] Parse `MVAR' table.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2089
 
-       * src/truetype/ttgxvar.h (MVAR_TAG_XXX): New macros for MVAR tags.
-       (GX_Value, GX_MVarTable): New structures.
-       (GX_Blend): Add it.
+       * src/cff/cffload.c (cff_blend_doBlend): User OVERFLOW_ADD_INT32.
 
-       * src/truetype/ttgxvar.c (GX_VALUE_SIZE, GX_VALUE_CASE,
-       GX_GASP_CASE): New macros.
-       (ft_var_get_value_pointer): New auxiliary function to get a pointer
-       to a value from various SFNT tables already stored in `TT_Face'.
-       (ft_var_load_mvar): New function.
-       (TT_Get_MM_Var): Call it.
-       (tt_done_blend): Updated.
+2017-06-04  Werner Lemberg  <wl@gnu.org>
 
-2017-01-11  Werner Lemberg  <wl@gnu.org>
+       [cff, truetype] Integer overflows.
 
-       [truetype] More preparations for MVAR support.
+       Reported as
 
-       * src/truetype/ttobjs.c (tt_size_reset): Add argument to make
-       function only recompute ascender, descender, and height.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2075
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2088
 
-       * src/truetype/ttobjs.h: Updated.
+       * src/cff/cf2font.c (cf2_font_setup): Use OVERFLOW_MUL_INT32.
 
-       * src/truetype/ttdriver.c (tt_size_select, tt_size_request):
-       Updated.
+       * src/truetype/ttinterp.c (Ins_ISECT): Use OVERFLOW_MUL_LONG,
+       OVERFLOW_ADD_LONG, and OVERFLOW_SUB_LONG.
+
+2017-06-03  Werner Lemberg  <wl@gnu.org>
 
-2017-01-09  Werner Lemberg  <wl@gnu.org>
+       [base, cff, truetype] Integer overflows.
 
-       [pcf] Disable long family names by default.
+       Reported as
 
-       * include/freetype/config/ftoption.h
-       (PCF_CONFIG_OPTION_LONG_FAMILY_NAMES): Comment out.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2060
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2062
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2063
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2068
 
-2017-01-09  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics): Use
+       OVERFLOW_ADD_LONG and OVERFLOW_SUB_LONG.
 
-       [pcf] Make long family names configurable.
+       * src/cff/cf2blues.c (cf2_blues_capture), src/cff/cf2hints.c
+       (cf2_hintmap_adjustHints): Use OVERFLOW_SUB_INT32.
 
-       The change from 2016-09-29 was too radical (except for people using
-       the openSuSE GNU/Linux distribution).  To ameliorate the situation,
-       PCF_CONFIG_OPTION_LONG_FAMILY_NAMES gets introduced which controls
-       the feature; if set, a new PCF property option
-       `no-long-family-names' can be used to switch this feature off.
+       * src/truetype/ttgload.c (compute_glyph_metrics): User
+       OVERFLOW_SUB_LONG.
 
-       * include/freetype/config/ftoption.h, devel/ftoption.h
-       (PCF_CONFIG_OPTION_LONG_FAMILY_NAMES): New option.
+       * src/truetype/ttinterp.c (Direct_Move, Direct_Move_Orig,
+       Direct_Move_X, Direct_Move_Y, Direct_Move_Orig_X,
+       Direct_Move_Orig_Y, Move_Zp2_Point, Ins_MSIRP): Use
+       OVERFLOW_ADD_LONG and OVERFLOW_SUB_LONG.
 
-       * include/freetype/ftpcfdrv.h: New header file (only containing
-       comments currently, used for building the documentation).
+2017-06-03  Werner Lemberg  <wl@gnu.org>
 
-       * include/freetype/config/ftheader.h (FT_PCF_DRIVER_H): New macro.
+       * builds/unix/freetype-config.in: Fix pkg-config test (#51162).
 
-       * src/pcf/pcf.h (PCF_Driver): Add `no_long_family_names' field.
+       Patch directly taken from bug report.
 
-       * src/pcf/pcfdrivr.c: Include FT_SERVICE_PROPERTIES_H and
-       FT_PCF_DRIVER_H.
-       (pcf_property_set, pcf_property_get): New functions.
-       (pcf_service_properties): New service.
-       (pcf_services): Updated.
-       (pcf_driver_init) [PCF_CONFIG_OPTION_LONG_FAMILY_NAMES]: Handle
-       `no_long_family_names'.
+2017-06-03  Werner Lemberg  <wl@gnu.org>
 
-       * src/pcf/pcfread.c (pcf_load_font): Handle `no_long_family_names'
-       and PCF_CONFIG_OPTION_LONG_FAMILY_NAMES.
+       [bdf] Synchronize sanity checks with pcf driver.
 
-       * docs/CHANGES: Updated.
+       Reported as
 
-2017-01-09  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2054
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2058
 
-       [pcf] Introduce a driver structure.
+       * src/bdf/bdfdrivr.c (BDF_Face_Init): Check font ascent and descent.
+       Check AVERAGE_WIDTH, POINT_SIZE, PIXEL_SIZE, RESOLUTION_X, and
+       RESOLUTION_Y properties.
 
-       To be filled later on with something useful.
+2017-06-03  Werner Lemberg  <wl@gnu.org>
 
-       * src/pcf/pcf.h (PCF_Driver): New structure.
+       [cff, truetype] Integer overflows.
 
-       * src/pcf/pcfdrivr.c (pcf_driver_init, pcf_driver_done): New dummy
-       functions.
-       (pcf_driver_class): Updated.
+       Reported as
 
-2017-01-08  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2047
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2057
 
-       [truetype] Again some GX code shuffling.
+       * src/cff/cf2hints.c (cf2_hintmap_map): Use OVERFLOW_SUB_INT32.
 
-       We need this later on for MVAR also.
+       * src/truetype/ttinterp.c (Ins_ADD): Use OVERFLOW_ADD_LONG.
+       (Ins_SUB): Use OVERFLOW_SUB_LONG.
+       (Ins_NEG): Use NEG_LONG.
 
-       * src/truetype/ttgxvar.c (tt_hadvance_adjust): Split off computing
-       an item store variation delta into...
-       (ft_var_get_item_delta): ...new function.
+2017-06-03  Werner Lemberg  <wl@gnu.org>
 
-2017-01-08  Werner Lemberg  <wl@gnu.org>
+       ftcalc.h: Avoid left-shift of negative numbers.
 
-       [truetype] Adjust font variation flags for MVAR.
+       Reported as
 
-       * include/freetype/internal/tttypes.h (TT_FACE_FLAG_VAR_XXX):
-       Remove all flags related to MVAR; replace it with...
-       (TT_FACE_FLAG_VAR_MVAR): ...this new macro.
-       (TT_Face): Remove `mvar_support' field (which was still unused).
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2055
 
-2017-01-06  Werner Lemberg  <wl@gnu.org>
+       * include/freetype/internal/ftcalc.h (INT_TO_F26DOT6,
+       INT_TO_F2DOT14, INT_TO_FIXED, F2DOT14_TO_FIXED): Use multiplication.
 
-       [truetype] More GX code shuffling.
+2017-06-02  Werner Lemberg  <wl@gnu.org>
 
-       We need this later on for MVAR also.
+       [cff] Even more integer overflows.
 
-       * src/truetype/ttgxvar.c (tt_done_blend): Split off handling of item
-       variation store into...
-       (ft_var_done_item_variation_store): ...new function.
+       Reported as
 
-2017-01-06  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2046
 
-       [truetype] More generalization of GX stuff.
+       * src/cff/cf2intrp.c (cf2_doStems, cf2_interpT2CharString): Use
+       OVERFLOW_ADD_INT32.
 
-       We need this later on for MVAR also.
+2017-06-02  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttgxvar.c (ft_var_load_delta_set_index_mapping): Add
-       parameters for delta-set index mapping and item variation store.
-       (ft_var_load_item_variation_store): Add parameter for item variation
-       store.
-       s/hvarData/varData/.
-       Move allocation of `hvar_table' to...
-       (ft_var_load_hvar): ...this function.
-       Updated.
+       [cff] More integer overflows.
 
-2017-01-06  Werner Lemberg  <wl@gnu.org>
+       Reported as
 
-       [truetype] Some GX structure renames for generalization.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2032
 
-       We need this later on for MVAR also.
+       * src/cff/cf2blues.c (cf2_blues_init): Use OVERFLOW_SUB_INT32.
 
-       * src/truetype/ttgxvar.h (GX_HVarData): Renamed to...
-       (GX_ItemVarData): ...this.
-       (GX_HVarRegion): Renamed to...
-       (GX_VarRegion): ...this.
-       (GX_HVStore): Renamed to...
-       (GX_ItemVarStore): ...this.
-       (GX_WidthMap): Renamed to...
-       (GX_DeltaSetIdxMap): ...this.
+2017-06-02  Werner Lemberg  <wl@gnu.org>
 
-       (GX_HVarTable): Updated.
+       [bdf] Don't left-shift negative numbers.
 
-       * src/truetype/ttgxvar.c: Updated.
+       Reported as
 
-2017-01-06  Werner Lemberg  <wl@gnu.org>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2031
 
-       [truetype] Code shuffling.
+       * src/bdf/bdfdrivr.c (BDF_Face_Init): Use multiplication.
 
-       * src/truetype/ttgxvar.c (ft_var_load_hvar): Split off loading of
-       item variation store and delta set index mapping into...
-       (ft_var_load_item_variation_store,
-       ft_var_load_delta_set_index_mapping): ...new functions.
+2017-06-02  Werner Lemberg  <wl@gnu.org>
 
-2017-01-06  Werner Lemberg  <wl@gnu.org>
+       [bdf] Fix integer scanning routines.
 
-       [truetype] Add HVAR access without advance width map.
+       Reported as
 
-       * src/truetype/ttgxvar.c (ft_var_load_hvar): Handle case where
-       `offsetToAdvanceWidthMapping' is zero.
-       (tt_hadvance_adjust): Implement direct deltaSet access by glyph
-       index.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2029
 
-2017-01-06  Werner Lemberg  <wl@gnu.org>
+       * src/bdf/bdflib.c (_bdf_atoul, _bdf_atol, _bdf_atous, _bdf_atos):
+       Stop scanning if result would overflow.
 
-       [pcf] Revise driver.
+2017-06-02  Werner Lemberg  <wl@gnu.org>
 
-       This commit improves tracing and handling of malformed fonts.  In
-       particular, the changes to `pcf_get_properties' fix
+       [cff] Fix integer overflows.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=379
+       Reported as
 
-       * src/pcf/pcfread.c (tableNames): Use long names for better
-       readability.
-       (pcf_read_TOC): Allow at most 9 tables.
-       (pcf_get_properties): Allow at most 256 properties.
-       Limit strings array length to 256 * (65536 + 1) bytes.
-       Better tracing.
-       (pcf_get_metric): Trace metric data.
-       (pcf_get_metrics): Allow at most 65536 metrics.
-       Fix comparison of `metrics->ascent' and `metrics->descent' to avoid
-       potential overflow.
-       Better tracing.
-       (pcf_get_bitmaps): Allow at most 65536 bitmaps.
-       Better tracing.
-       (pcf_get_encodings, pcf_get_accel): Better tracing.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2027
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2028
 
-       * src/pcf/pcfdrivr.c (PCF_Glyph_Load): Don't trace `format' details.
-       These are now shown by `pcf_get_bitmaps'.
+       * src/cff/cf2hints.c (cf2_hintmap_insertHint), src/cff/cf2intrp.c
+       (cf2_doFlex): Use OVERFLOW_ADD_INT32 and OVERFLOW_SUB_INT32.
 
-2017-01-04  Werner Lemberg  <wl@gnu.org>
+2017-06-01  Werner Lemberg  <wl@gnu.org>
 
-       * src/pcf/pcfdrivr.c (PCF_Face_Init): Trace compression format.
+       [smooth] Some 32bit integer overflow run-time errors.
 
-2017-01-04  Werner Lemberg  <wl@gnu.org>
+       * src/smooth/ftgrays.c [STANDALONE] (OVERFLOW_ADD_LONG,
+       OVERFLOW_SUB_LONG, OVERFLOW_MUL_LONG, NEG_LONG): New macros.
+       [!STANDALONE]: Include FT_INTERNAL_CALC_H.
+       (gray_render_cubic): Use those macros where appropriate.
 
-       [cff] More consistency checks for pure CFFs.
+2017-06-01  Werner Lemberg  <wl@gnu.org>
 
-       Reported as
+       * src/base/ftglyph.c (FT_Get_Glyph): Check `slot->advance'.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=378
+2017-06-01  Werner Lemberg  <wl@gnu.org>
 
-       * src/cff/cffload.c (cff_font_load): Check element number and size
-       of Name and Top DICT indices.
+       [psaux] 32bit integer overflow tun-time errors (#46149).
 
-2017-01-04  Werner Lemberg  <wl@gnu.org>
+       * src/psaux/t1decode.c (t1_decoder_parse_charstrings): Use
+       OVERFLOW_ADD_LONG and OVERFLOW_SUB_LONG where appropriate.
 
-       [cff, truetype] Minor tracing improvement.
+2017-06-01  Werner Lemberg  <wl@gnu.org>
 
-       * src/cff/cffobjs.c (cff_face_init), src/truetype/ttobjs.c
-       (tt_face_init): Indent first tracing message from SFNT driver.
+       * src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter again.
 
-2017-01-03  Werner Lemberg  <wl@gnu.org>
+       Problem reported by Marek Kašík <mkasik@redhat.com>.
 
-       [truetype] Various minor fixes.
+       The problematic font that exceeds the old limit is Padauk-Bold,
+       version 3.002, containing bytecode generated by a buggy version of
+       ttfautohint.
 
-       * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Check instruction
-       size only if we do native hinting.
-       (TT_Load_Glyph): Trace returned error code.
+2017-05-31  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep): Trace
-       returned error code.
-       (tt_size_ready_bytecode): Don't run `prep' table if `fpgm' table is
-       invalid.
+       [cff] 32bit integer overflow run-time errors 2/2 (#46149).
 
-2017-01-03  Werner Lemberg  <wl@gnu.org>
+       This commit handles the new engine.
 
-       [sfnt] Don't fail if PCLT, EBLC (and similar tables) are invalid.
+       * include/freetype/internal/ftcalc.h (OVERFLOW_ADD_INT32,
+       OVERFLOW_SUB_INT32, OVERFLOW_MUL_INT32, NEG_INT, NEG_LONG,
+       NEG_INT32): New macros.
 
-       These tables are optional.
+       * src/cff/cf2ft.c (cf2_getScaleAndHintFlag): Use OVERFLOW_ADD_INT32.
 
-       * src/sfnt/sfobjs.c (sfnt_load_face): Implement it.
+       * src/cff/cf2hints.c (cf2_getWindingMomentum, cf2_hint_init,
+       cf2_hintmap_map, cf2_glyphpath_hintPoint,
+       cf2_glyphpath_computeIntersection, cf2_glyphpath_computeOffset,
+       cf2_glyphpath_lineTo, cf2_glyphpath_curveTo): Use
+       OVERFLOW_ADD_INT32, OVERFLOW_SUB_INT32, OVERFLOW_MUL_INT32, and
+       NEG_INT32 where appropriate.
 
-2017-01-03  Werner Lemberg  <wl@gnu.org>
+       * src/cff/cf2intrp.c (cf2_doFlex, cf2_doBlend,
+       cf2_interpT2CharString): Ditto.
+       Also add some other code where needed to avoid overflow.
 
-       * src/cff/cffparse.c (cff_parse_num): Simplify.
+2017-05-30  Werner Lemberg  <wl@gnu.org>
 
-2017-01-03  Werner Lemberg  <wl@gnu.org>
+       [cff] 32bit integer overflow run-time errors 1/2 (#46149).
 
-       Various fixes for clang's undefined behaviour sanitizer.
+       This commit handles the old engine.
 
-       * src/cff/cffload.c (FT_fdot14ToFixed): Fix casting.
-       (cff_blend_doBlend): Don't left-shift negative numbers.
-       Handle 5-byte numbers byte by byte to avoid alignment issues.
+       * src/cff/cffgload.c: Include FT_INTERNAL_CALC_H.
+       (cff_decoder_parse_charstrings): Use OVERFLOW_ADD_LONG and
+       OVERFLOW_SUB_LONG where needed.
 
-       * src/cff/cffparse.c (cff_parse_num): Handle 5-byte numbers byte by
-       byte to avoid alignment issues.
+       * src/cff/cffparse.c: Include FT_INTERNAL_CALC_H.
+       (power_ten_limits): New static array.
+       (do_fixed): Use it to prevent multiplication overflow.
+       (cff_parser_run): Use OVERFLOW_ADD_LONG.
 
-       * src/cid/cidload (cid_read_subrs): Do nothing if we don't have any
-       subrs.
+2017-05-30  Werner Lemberg  <wl@gnu.org>
 
-       * src/psaux/t1decode.c (t1_decode_parse_charstring): Fix tracing.
+       [psaux] Correctly handle sequences of multiple number signs.
 
-       * src/tools/glnames.py (main): Put `DEFINE_PSTABLES' guard around
-       definition of `ft_get_adobe_glyph_index'.
+       * src/psaux/psconv.c (PS_Conv_Strtol, PS_Conv_ToFixed): Return zero
+       if we encounter more than a single sign.
 
-       * src/psnames/pstables.h: Regenerated.
+2017-05-29  Werner Lemberg  <wl@gnu.org>
 
-       * src/psnames/psmodule.c: Include `pstables.h' twice to get both
-       declaration and definition.
+       [pcf] 32bit integer overflow run-time errors (#46149).
 
-       * src/truetype/ttgxvar.c (FT_fdot14ToFixed, FT_intToFixed): Fix
-       casting.
+       * src/pcf/pcfread.c (pcf_get_accel): Add sanity checks for
+       `fontAscent' and `fontDescent'.
+       (pcf_load_font): Add sanity checks for global height.
+       Add sanity checks for AVERAGE_WIDTH, POINT_SIZE, PIXEL_SIZE,
+       RESOLUTION_X, and RESOLUTION_Y properties.
 
-2017-01-01  Werner Lemberg  <wl@gnu.org>
+2017-05-29  Werner Lemberg  <wl@gnu.org>
 
-       [cff] Handle multiple `blend' operators in a row correctly.
+       Handle some integer overflow run-time errors (#46149, #48979).
 
-       Reported as
+       This commit (mainly for 32bit CPUs) is the first of a series of
+       similar commits to handle known integer overflows.  Basically, all
+       of them are harmless, since they affect rendering of glyphs only,
+       not posing security threats.  It is expected that fuzzying will show
+       up more overflows, to be fixed in due course.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=368
+       The idea is to mark places where overflows can occur, using macros
+       that simply cast to unsigned integers, because overflow arithmetic
+       is well defined in this case.  Doing so suppresses run-time errors
+       of sanitizers without adding computational overhead.
 
-       * src/cff/cffload.c (cff_blend_doBlend): Adjust `parser->stack'
-       pointers into `subFont->blend_stack' after reallocation.
+       * include/freetype/internal/ftcalc.h (OVERFLOW_ADD_INT,
+       OVERFLOW_SUB_INT, OVERFLOW_MUL_INT, OVERFLOW_ADD_LONG,
+       OVERFLOW_SUB_LONG, OVERFLOW_MUL_LONG): New macros.
 
-2017-01-01  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftcalc.c (FT_RoundFix, FT_CeilFix, FT_Matrix_Multiply,
+       FT_Matrix_Multiply_Scaled, FT_Vector_Transform_Scaled,
+       ft_corner_orientation): Use new macros.
 
-       [sfnt] Return correct number of named instances for TTCs.
+       * src/base/ftoutln.c (FT_Outline_Get_Orientation): Use new macros.
 
-       Without this patch, requesting information for face index N returned
-       the data for face index N+1 (or index 0).
+2017-05-28  Werner Lemberg  <wl@gnu.org>
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): Correctly adjust `face_index'
-       for negative `face_instance_index' values.
+       * include/freetype/internal/ftcalc.h (FLOAT_TO_FIXED): Remove.
 
-2016-12-31  Werner Lemberg  <wl@gnu.org>
+       This macro is not used.
 
-       */*: Use hex numbers for errors in tracing messages.
+2017-05-28  Werner Lemberg  <wl@gnu.org>
 
-2016-12-31  Werner Lemberg  <wl@gnu.org>
+       [cff] s/cf2_floatToFixed/cf2_doubleToFixed/.
 
-       [truetype] Check axis count in HVAR table.
+       The new name better describes what the macro actually does;
+       additionally, we don't need a trailing `f' for literals (there was
+       only a single such instance in the code, but this caused a clang
+       warning because the macro itself uses `double' literals).
 
-       Reported as
+       * src/cff/cf2blues.c, src/cff/cf2blues.h, src/cff/cf2fixed.h,
+       src/cff/cf2font.c, src/cff/cf2hints.c: Updated.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=362
+2017-05-28  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttgxvar.c (ft_var_load_hvar): Check axis count.
-       (ft_var_load_avar): Fix tracing message.
+       Fix negation of INT_MIN and LONG_MIN (#46149).
 
-2016-12-30  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftcalc.c (FT_MOVE_SIGN): Add argument to pass unsigned
+       value, to be used as the result.
+       (FT_MulDiv, FT_MulDiv_No_Round, FT_DivFix, FT_MulFix,
+       FT_Vector_NormLen): Updated.
 
-       * Version 2.7.1 released.
-       =========================
+2017-05-27  Werner Lemberg  <wl@gnu.org>
 
+       [truetype] Fix handling of design coordinates (#51127).
 
-       Tag sources with `VER-2-7-1'.
+       * src/truetype/ttgxvar.c (tt_set_mm_blend): Compute all design
+       coordinates if we have to create the `blends->coord' array.
+       (TT_Get_MM_Blend, TT_Get_Var_Design): Select default instance
+       coordinates if no instance is selected yet.
 
-       * docs/VERSION.TXT: Add entry for version 2.7.1.
+2017-05-24  Werner Lemberg  <wl@gnu.org>
 
-       * README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj,
-       builds/windows/vc2005/index.html,
-       builds/windows/vc2008/freetype.vcproj,
-       builds/windows/vc2008/index.html,
-       builds/windows/vc2010/freetype.vcxproj,
-       builds/windows/vc2010/index.html,
-       builds/windows/visualc/freetype.dsp,
-       builds/windows/visualc/freetype.vcproj,
-       builds/windows/visualc/index.html,
-       builds/windows/visualce/freetype.dsp,
-       builds/windows/visualce/freetype.vcproj,
-       builds/windows/visualce/index.html,
-       builds/wince/vc2005-ce/freetype.vcproj,
-       builds/wince/vc2005-ce/index.html,
-       builds/wince/vc2008-ce/freetype.vcproj,
-       builds/wince/vc2008-ce/index.html: s/2.7/2.7.1/, s/27/271/.
+       [bdf, pcf] Support ISO646.1991-IRV character encoding (aka ASCII).
 
-       * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
+       Problem reported by Marek Kašík <mkasik@redhat.com>, cf.
 
-       * builds/unix/configure.raw (version_info): Set to 19:0:13.
-       * CMakeLists.txt (VERSION_PATCH): Set to 1.
+         https://bugzilla.redhat.com/show_bug.cgi?id=1451795
 
-2016-12-30  Werner Lemberg  <wl@gnu.org>
+       * src/bdf/bdfdrivr.c (BDF_Face_Init), src/pcf/pcfdrivr.c
+       (PCF_Face_Init): Implement it.
 
-       [ftfuzzer] Replace `rand' with an xorshift algorithm.
+2017-05-20  Nikolaus Waxweiler  <madigens@gmail.com>
 
-       * src/tools/ftfuzzer/ftfuzzer.cc: Don't include `stdlib.h'.
-       (Random): Implement and use a 32bit `xorshift' algorithm.
+       [truetype] Always use interpreter v35 for B/W rendering (#51051).
 
-2016-12-30  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttgload.c (tt_loader_init)
+       [TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL]: Adjust
+       `subpixel_hinting_lean', `grayscale_cleartype', and
+       `vertical_lcd_lean' accordingly.
 
-       [ftfuzzer] Restrict number of tested bitmap strikes.
+       * src/truetype/ttinterp.c (Ins_GETINFO): Updated.
+       (TT_RunIns): Update `backward_compatibility' flag.
 
-       Malformed fonts often have large values for the number of bitmap
-       strikes, and FreeType doesn't check the validity of all bitmap
-       strikes in advance.
+2017-05-20  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       Reported as
+       [smooth] Implement minimal dynamic padding for LCD filtering.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=353
+       Extra bitmap padding for LCD filtering depends on the filter.  The
+       default 5-tap filter needs 2 extra subpixels.  The light 3-tap filter
+       needs only 1 extra subpixel.  This space could be already available
+       due to rounding.  In order to optimize the padding, we now expand
+       CBox for the given filter weights before rounding.
 
-       * src/tools/ftfuzzer/ftfuzzer.cc: Include `stdlib.h' for `rand'.
-       (Random): Small class to provide n randomly selected numbers
-       (without repetition) out of the value set [1,N].
-       (LLVMFuzzerTestOneInput): Use it to test only up to 10 bitmap
-       strikes.
+       This change breaks current Skia (and Firefox).
 
-2016-12-29  Werner Lemberg  <wl@gnu.org>
+       * include/freetype/internal/ftobjs.h (FT_LibraryRec)
+       [FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Remove `lcd_extra' field.
 
-       [truetype] Variation font API stability issues.
+       * src/base/ftlcdfil.c (FT_Library_SetLcdFilterWeights,
+       FT_Library_SetLcdFilter): Remove `lcd_extra' initializations.
 
-       Make some functions work before a call to `TT_Set_MM_Blend'.
+       * src/smooth/ftsmooth.c (ft_smooth_render_generic): Implement dymanic
+       LCD padding.
 
-       * src/truetype/ttgxvar.c (tt_hadvance_adjust): Exit immediately if
-       we don't blend.
-       (TT_Get_MM_Blend, TT_Get_Var_Design): Return default values if we
-       don't blend.
+2017-05-15  Werner Lemberg  <wl@gnu.org>
 
-2016-12-29  Werner Lemberg  <wl@gnu.org>
+       [sfnt] Return proper scaling values for SBIX bitmaps.
 
-       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Check axis data.
+       Problem reported by Hin-Tak Leung <htl10@users.sourceforge.net>.
 
-       Reported as
+       * src/sfnt/ttsbit.c (tt_face_load_strike_metrics): Implement it.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=348
+2017-05-15  Werner Lemberg  <wl@gnu.org>
 
-2016-12-29  Werner Lemberg  <wl@gnu.org>
+       [truetype] Fix error handling for embedded bitmaps.
 
-       [truetype] Tracing fixes.
+       Problem reported by Hin-Tak Leung <htl10@users.sourceforge.net>.
 
-       * src/truetype/ttgxvar.c (tt_hadvance_adjust): Emit correct
-       information.
-       (TT_Set_Var_Design): Fix typo.
-       (TT_Get_Var_Design): Fix typos.
+       * src/truetype/ttgload.c (TT_Load_Glyph)
+       [TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: Handle error if font is not
+       scalable.
 
-2016-12-29  Werner Lemberg  <wl@gnu.org>
+2017-05-15  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       */*: Use `0.5f' for tracing 16.16 numbers.
+       [autofit] Make autohint warping NORMAL option.
 
-2016-12-29  Werner Lemberg  <wl@gnu.org>
+       This moves warping option from LIGHT to NORMAL mode.  This makes LIGHT
+       truly void of hinting in x-direction, with left side bearing never
+       changed and right side bearing only altered by advance rounding.
+       Therefore, LIGHT is now ready to return fractional advance.  As a
+       NORMAL option, warping substitutes normal hinting.
 
-       [pcf] Protect against gzip bombs.
+       * src/autofit/afcjk.c (af_cjk_hints_apply): Updated.
+       * src/autofit/aflatin.c (af_latin_hints_apply): Updated.
+       * src/autofit/aflatin2.c (af_latin2_hints_apply): Updated.
 
-       Fix suggested by Kostya; reported as
+       * src/autofit/afloader.c (af_loader_load_glyph): Handle warping
+       phantom points as normal.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=345
+2017-05-14  Werner Lemberg  <wl@gnu.org>
 
-       * src/pcf/pcfread.c (pcf_read_TOC): Limit number of TOC entries to
-       1024.
+       Remove remnants of raster pool.
 
-2016-12-28  Werner Lemberg  <wl@gnu.org>
+       * include/freetype/internal/ftobjs.h (FT_LibraryRec): Remove
+       `raster_pool' and `raster_pool_size' fields.
 
-       [psnames] Only declare, not define, data in `pstables.h' (#49949).
+       * src/base/ftobjs.c (FT_New_Library), src/raster/ftrend1.c
+       (ft_raster1_init), src/smooth/ftsmooth.c (ft_smooth_init): Updated.
 
-       Pdfium includes `pstables.h' a second time; moving the definition
-       from `pstables.h' to `psmodule.c' saves more than 60kByte data
-       segment space for this case.
+2017-05-13  Werner Lemberg  <wl@gnu.org>
 
-       * src/tools/glnames.py (StringTable::dump,
-       StringTable::dump_sublist, dump_encoding, dump_array): Emit
-       additional code to only define tables if `DEFINE_PS_TABLES' is set.
+       * Version 2.8 released.
+       =======================
 
-       * src/psnames/pstables.h: Regenerated.
-       * src/psnames/psmodule.c (DEFINE_PS_TABLES): Define.
 
-2016-12-28  Werner Lemberg  <wl@gnu.org>
+       Tag sources with `VER-2-8'.
 
-       [cff] Catch `blend' op in non-variant fonts.
+       * docs/VERSION.TXT: Add entry for version 2.8.
+       * docs/CHANGES: Updated.
 
-       Reported as
+       * README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj,
+       builds/windows/vc2005/index.html,
+       builds/windows/vc2008/freetype.vcproj,
+       builds/windows/vc2008/index.html,
+       builds/windows/vc2010/freetype.vcxproj,
+       builds/windows/vc2010/index.html,
+       builds/windows/visualc/freetype.dsp,
+       builds/windows/visualc/freetype.vcproj,
+       builds/windows/visualc/index.html,
+       builds/windows/visualce/freetype.dsp,
+       builds/windows/visualce/freetype.vcproj,
+       builds/windows/visualce/index.html,
+       builds/wince/vc2005-ce/freetype.vcproj,
+       builds/wince/vc2005-ce/index.html,
+       builds/wince/vc2008-ce/freetype.vcproj,
+       builds/wince/vc2008-ce/index.html: s/2.7.1/2.8/, s/271/28/.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=334
+       * include/freetype/freetype.h (FREETYPE_MINOR): Set to 8.
+       (FREETYPE_PATCH): Set to 0.
 
-       * src/cff/cf2intrp.c (cf2_interpT2CharString) <cf2_cmdBLEND>: Don't
-       allow `blend' op for non-variant fonts.
+       * builds/unix/configure.raw (version_info): Set to 20:0:14.
+       * CMakeLists.txt (VERSION_MINOR): Set to 8.
+       (VERSION_PATCH): Set to 0.
 
-2016-12-28  Werner Lemberg  <wl@gnu.org>
+2017-05-12  Hin-Tak Leung  <htl10@users.sourceforge.net>
 
-       [cff] Better check of number of blends.
+       Fix `FT_UINT_TO_POINTER' macro for Windows.
 
-       * src/cff/cf2intrp.c (cf2_interpT2CharString) <cf2_cmdBLEND>,
-       src/cff/cffparse.c (cff_parse_blend): Compare number of blends with
-       stack size.
+       * builds/unix/ftconfig.in, builds/vms/ftconfig.h,
+       include/freetype/config/ftconfig.h (FT_UINT_TO_POINTER) [_WIN64]:
+       Fix definition.
 
-2016-12-27  Werner Lemberg  <wl@gnu.org>
+2017-05-11  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       Documentation updates.
+       [autofit] Add support for Chakma script.
 
-       * docs/CHANGES: Add missing information.
+       * src/autofit/afblue.dat: Add blue zone data for Chakma.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       * docs/formats.txt: Rewritten and updated.
+       * src/autofit/afscript.h: Add Chakma standard character.
 
-2016-12-27  Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Chakma data.
 
-       [truetype, type1] Implement `FT_Get_Var_Design_Coordinates'.
+2017-05-10  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       * src/truetype/ttgxvar.c (TT_Get_Var_Design): Implement.
-       (TT_Set_Var_Design): Fix tracing.
+       [autofit] Add support for Kayah Li script.
 
-       * src/type1/t1load.c (T1_Get_Var_Design): Implement.
+       * src/autofit/afblue.dat: Add blue zone data for Kayah Li.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-2016-12-24  Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afscript.h: Add Kayah Li standard character.
 
-       * src/truetype/ttpload.c (tt_face_load_hdmx): Ignore `version'.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Kayah Li data.
 
-       Problem reported by 張俊芝 <418092625@qq.com>.
+2017-05-10  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-2016-12-24  Werner Lemberg  <wl@gnu.org>
+       [autofit] Add support for Bamum script.
 
-       * src/sfnt/ttsbit.c (tt_face_load_sbit): Allow more version values.
+       * src/autofit/afblue.dat: Add blue zone data for Bamum.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       Some fonts seem to have the `version' field in the wrong byte order.
+       * src/autofit/afscript.h: Add Bamum standard character.
 
-       Problem reported by 張俊芝 <418092625@qq.com>.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Bamum data.
 
-2016-12-24  Werner Lemberg  <wl@gnu.org>
+2017-05-10  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       * src/truetype/ttpload.c (tt_face_load_loca): Sanitize table length.
+       [autofit] Add support for Saurashtra script.
 
-       This trivial fix allows us to accept more fonts.
+       * src/autofit/afblue.dat: Add blue zone data for Saurashtra.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       Problem reported by 張俊芝 <418092625@qq.com>.
+       * src/autofit/afscript.h: Add Saurashtra standard character.
 
-2016-12-24  Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Saurashtra
+       data.
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): Fix tracing.
+2017-05-10  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-2016-12-22  Werner Lemberg  <wl@gnu.org>
+       [autofit] Add support for Buhid script.
 
-       * CMakeLists.txt: Make it work with cmake 2.8.11.2 (#49909).
+       * src/autofit/afblue.dat: Add blue zone data for Buhid.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-2016-12-22  Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afscript.h: Add Buhid standard character.
 
-       Ensure used preprocessor symbols are defined (#49790).
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Buhid data.
 
-       * builds/unix/ftconfig.in, builds/vms/ftconfig.h,
-       include/freetype/config/ftconfig.h: Check `__GNUC__', `__IBMC__',
-       and `__SUNPRO_C' correctly.
+2017-05-08  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-2016-12-22  Werner Lemberg  <wl@gnu.org>
+       [autofit] Add support for Shavian script.
 
-       * src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Check `count'.
+       * src/autofit/afblue.dat: Add blue zone data for Shavian.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       Reported as
+       * src/autofit/afscript.h: Add Shavian standard character.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=308
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Shavian data.
 
-2016-12-22  Werner Lemberg  <wl@gnu.org>
+2017-05-08  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       [cff] Protect against invalid `vsindex' and `blend' values.
+       [autofit] Add support for Vai script.
 
-       Reported as
+       * src/autofit/afblue.dat: Add blue zone data for Vai.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=305
+       * src/autofit/afscript.h: Add Vai standard character.
 
-       * src/cff/cf2intrp.c (cf2_interpT2CharString) <cf2_cmdVSINDEX,
-       cf2_cmdBLEND>: Implement it.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Vai data.
 
-2016-12-22  Werner Lemberg  <wl@gnu.org>
+2017-05-08  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       [ftfuzzer] Always use Adobe CFF engine.
+       [autofit] Add support for Osmanya script.
 
-       * src/tools/ftfuzzer/ftfuzzer.cc (FT_Global::FT_Global): Implement
-       it.
+       * src/autofit/afblue.dat: Add blue zone data for Osmanya.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-2016-12-21  Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afscript.h: Add Osmanya standard character.
 
-       * src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Thinko.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Osmanya data.
 
-       I should really stop coding late in the evening...
+2017-05-08  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       Thanks again to Ben for checking.
+       [autofit] Add support for Coptic script.
 
-2016-12-21  Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afblue.dat: Add blue zone data for Coptic.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       [autofit] Support variation fonts.
+       * src/autofit/afscript.h: Add Coptic standard character.
 
-       (This ChangeLog entry was added later on.)
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Coptic data.
 
-       * src/autofit/afglobal.c (af_face_globals_free): Remove useless
-       code.
+2017-05-08  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       * src/base/ftmm.c (FT_Set_MM_Design_Coordinates,
-       * FT_Set_Var_Design_Coordinates, FT_Set_MM_Blend_Coordinates,
-       FT_Set_Var_Blend_Coordinates): Finalize
-       auto-hinter data to enforce recomputation.  Note that this is a
-       brute-force method which should be improved.
+       [autofit] Add support for Carian script.
 
-2016-12-21  Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afblue.dat: Add blue zone data for Carian.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       * src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Thinko.
+       * src/autofit/afscript.h: Add Carian standard character.
 
-       Don't apply deltas twice for non-phantom points.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Carian data.
 
-       Spotted by Ben Wagner.
+2017-05-07  Werner Lemberg  <wl@gnu.org>
 
-2016-12-21  Werner Lemberg  <wl@gnu.org>
+       [truetype] Add tricky font `DFGirl-W6-WIN-BF' (from Dynalab).
 
-       [cff, truetype] Another try for #49829.
+       Reported by Roy Tam <roytam@gmail.com>.
 
-       * src/cff/cffdrivr.c: Don't include
-       `FT_SERVICE_METRICS_VARIATIONS_H'.
-       (cff_get_advances): Use `ttface->variation_support'.
+       * src/truetype/ttobjs.c (tt_check_trickyness_family): Implement it.
 
-       * src/truetype/ttdriver.c (tt_get_advances): Use
-       `ttface->variation_support'.
+2017-05-07  Roy Tam  <roytam@gmail.com>
+           Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttgload.c (TT_Process_Simple_Glyph,
-       load_truetype_glyph): Use `ttface->variation_support'.
+       [truetype] More tricky fonts (mainly from Dynalab).
 
-2016-12-21  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttobjs.c (tt_check_trickyness_family,
+       tt_check_trickyness_sfnt_ids): Add them.
 
-       [truetype, sfnt] Introduce font variation flags to `TT_Face'.
+2017-05-07  Werner Lemberg  <wl@gnu.org>
 
-       * include/freetype/internal/tttypes.h (TT_FACE_FLAG_VAR_XXX):
-       New macros describing available functionality of various OpenType
-       tables related to font variation.
-       (TT_Face): New fields `variation_support' and `mvar_support',
-       replacing and extending `use_fvar'.
+       [truetype] Add tricky font `DLCHayMedium' (from Dynalab).
 
-       * src/sfnt/sfobjs.c (sfnt_init_face, sfnt_load_face): Use
-       `variation_support'.
+       Reported by Roy Tam <roytam@gmail.com>.
 
-       * src/truetype/ttgxvar.c (ft_var_load_hvar): Set `variation_support'
-       field.
-       (TT_Vary_Apply_Glyph_Deltas): Updated.
+       * src/truetype/ttobjs.c (tt_check_trickyness_family): Implement it.
 
-2016-12-21  Werner Lemberg  <wl@gnu.org>
+2017-05-03  Werner Lemberg  <wl@gnu.org>
 
-       [base] Improve sanity check for Mac resources (#49888).
+       */*: s/backwards compatibility/backward compatibility/.
 
-       * src/base/ftobjs.c (Mac_Read_sfnt_Resource): Abort if `rlen' is not
-       positive.
+2017-05-03  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-2016-12-20  Werner Lemberg  <wl@gnu.org>
+       [autofit] Add support for Unified Canadian Syllabics script.
 
-       [base] More sanity checks for Mac resources.
+       * src/autofit/afblue.dat: Add blue zone data for Unified Canadian
+       Syllabics.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       We use
+       * src/autofit/afscript.h: Add Unified Canadian Syllabics standard
+       character.
 
-         https://github.com/kreativekorp/ksfl/wiki/Macintosh-Resource-File-Format
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Unified
+       Canadian Syllabics data.
 
-       and
+2017-05-03  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org>
 
-         https://developer.apple.com/legacy/library/documentation/mac/pdf/MoreMacintoshToolbox.pdf#page=151
+       [autofit] Add blue-zone support for Sundanese script.
 
-       as references.
+       This essentially moves the Sundanese script from the `Indic' hinter
+       to the `Latin' hinter.
 
-       * include/freetype/internal/ftrfork.h (FT_RFork_Ref): Use FT_Short
-       for `res_id'.
+       * src/autofit/afblue.dat: Add blue zone data for Sundanese.
 
-       * src/base/ftrfork.c (FT_Raccess_Get_HeaderInfo): Extract map length
-       and use it to improve sanity checks.
-       Follow the specification more closely;in particular, all data types
-       are signed, not unsigned.
-       (FT_Raccess_Get_DataOffsets): Follow the specification more closely;
-       in particular, all data types are signed, not unsigned.
-       Add some sanity checks.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-2016-12-20  Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afscript.h: Add Sundanese standard character and move
+       data out of AF_CONFIG_OPTION_INDIC block.
 
-       [truetype] Improve logic for getting fast advance widths.
+       * src/autofit/afranges.c: Move Sundanese data out of
+       AF_CONFIG_OPTION_INDIC block.
 
-       * src/cff/cffdrivr.c (cff_get_advances), src/truetype/ttdriver.c
-       (tt_get_advances): Use `is_default_instance' for test; this gets
-       recomputed after changing blend coordinates.
+       * src/autofit/afstyles.h: Update Sundanese data; in particular, use
+       AF_WRITING_SYSTEM_LATIN.
 
-2016-12-20  Ben Wagner  <bungeman@google.com>
-           Werner Lemberg  <wl@gnu.org>
+2017-05-03  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       [truetype] Fix linear metrics of GX variation fonts (#49829).
+       [autofit] Add support for Avestan script.
 
-       When asking for an unhinted non-default variations,
-       `linearVertAdvance' is currently the value from the `hmtx' table
-       instead of the actual value after applying the variation.  `HVAR'
-       support fixes this, but fonts will exist without that table and will
-       need sane fallback.
+       * src/autofit/afblue.dat: Add blue zone data for Avestan.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       Problem also reported as
+       * src/autofit/afscript.h: Add Avestan standard character.
 
-         https://bugs.chromium.org/p/skia/issues/detail?id=5917
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Avestan data.
 
-       * src/truetype/ttgload.c (TT_Process_Simple_Glyph,
-       load_truetype_glyph): Implement linear advance adjustments if `HVAR'
-       or `VVAR' tables are missing.
+2017-05-02  Behdad Esfahbod  <behdad@behdad.org>
 
-2016-12-20  Werner Lemberg  <wl@gnu.org>
+       [truetype] Make `IUP' gvar deltas do the same as Apple (#50832).
 
-       [cff, truetype] Fast advance width retrieval for fonts with HVAR.
+       When points are not touched by gvar interpolation deltas, FreeType
+       gave a slightly different result than Apple's CoreText.
 
-       Everything is guarded with TT_CONFIG_OPTION_GX_VAR_SUPPORT.
+       The OpenType working group will update the specification to document
+       the following behaviour: If the two points with deltas to the `left'
+       and `right' of the untouched point have the same coordinate, then
+       the inferred delta for the untouched point should be zero.
 
-       * src/base/ftadvanc.c (LOAD_ADVANCE_FAST_CHECK): Don't handle MM.
+       * src/truetype/ttgxvar.c (tt_delta_interpolate): Implement new
+       behaviour.
 
-       * src/cff/cffdrivr.c: Include FT_SERVICE_METRICS_VARIATIONS_H.
-       (cff_get_advances): Test for HVAR and VVAR.
+2017-05-02  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttdriver.c (tt_get_advances): Test for HVAR and VVAR.
+       [autofit] Remove `slight' auto-hint mode again.
 
-2016-12-18  Werner Lemberg  <wl@gnu.org>
+       A poll on freetype-devel favoured changes directly applied to
+       `light'.
 
-       [base] Fix invalid mac font recursion.
+       * include/freetype/freetype.h (FT_LOAD_TARGET_SLIGHT,
+       FT_RENDER_MODE_SLIGHT): Removed.
 
-       Reported as
+       * src/autofit/afcjk.c (af_cjk_hints_init), src/autofit/aflatin.c
+       (af_latin_hints_init), src/autofit/aflatin2.c
+       (af_latin2_hints_init): Revert change from 2017-04-22.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=304
+       * src/autofit/afloader.c (af_loader_load_glyph) Remove references to
+       FT_RENDER_MODE_SLIGHT.
+       [AF_CONFIG_OPTION_TT_SIZE_METRICS]: Enable TrueType-like metrics
+       unconditionally.
 
-       * src/base/ftobjs.c (FT_Open_Face): Code moved to...
-       (ft_open_face_internal): ... this function.
-       Add a parameter to control whether we try special Mac font handling
-       in case of failure.
-       (FT_Open_Face, FT_New_Face, FT_New_Memory_Face,
-       open_face_from_buffer): Use `ft_open_face_internal'.
+       * src/base/ftadvanc.c (LOAD_ADVANCE_FAST_CHECK): Revert change from
+       2017-04-22.
 
-2016-12-18  Werner Lemberg  <wl@gnu.org>
+       * src/base/ftobjs.c (FT_Load_Glyph): Revert change from 2017-04-22.
 
-       * src/cff/cffobjs.c (cff_face_init): Make named instances work.
+       * src/pshinter/pshalgo.c (ps_hints_apply): Revert change from
+       2017-04-22.
 
-2016-12-18  Werner Lemberg  <wl@gnu.org>
+       * src/smooth/ftsmooth.c (ft_smooth_render): Revert change from
+       2017-04-22.
 
-       [truetype, cff] Extend `get_var_blend' function of MM service.
+       * docs/CHANGES: Updated.
 
-       In particular, we need access to named instance data.
+2017-04-30  Werner Lemberg  <wl@gnu.org>
 
-       * include/freetype/internal/services/svmm.h (FT_Get_Var_Blend_Func):
-       Add argument for `FT_MM_Var'.
+       [autofit] Fix metrics computation.
 
-       * src/cff/cffload.c (cff_get_var_blend): Updated.
-       * src/cff/cffload.h: Updated.
+       Problem reported by Markus Trippelsdorf <markus@trippelsdorf.de> and
+       Nikolaus Waxweiler <madigens@gmail.com>.
 
-       * src/cff/cf2ft.c (cf2_getNormalizedVector): Updated.
+       * src/base/ftobjs.c (FT_Request_Size): Trigger recomputation of
+       auto-hinter metrics.  Without this change, multiple size changing
+       calls for a single face fail.
 
-       * src/truetype/ttgxvar.c (tt_get_var_blend): Updated.
-       Accept value `NULL' for arguments.
-       * src/truetype/ttgxvar.h: Updated.
+2017-04-29  Werner Lemberg  <wl@gnu.org>
 
-2016-12-18  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttdriver.c (tt_size_request): Properly check `error'.
 
-       [sfnt] Handle `fvar' with zero axes as a non-MM font.
+       Reported by Earnestly <zibeon@googlemail.com> in
 
-       This is better behaviour than exiting with an error.
+         https://lists.nongnu.org/archive/html/freetype/2017-04/msg00031.html
 
-       * include/freetype/internal/tttypes.h (TT_Face): Add `use_fvar'
-       field.
+2017-04-27  Werner Lemberg  <wl@gnu.org>
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): Compute `use_fvar', also
-       updating the validation code.
-       Use `use_fvar' to compute FT_FACE_FLAG_MULTIPLE_MASTERS.
+       Introduce AF_CONFIG_OPTION_TT_SIZE_METRICS configuration option.
 
-       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Remove `fvar' validation
-       code.
+       * include/freetype/config/ftoption.h
+       (AF_CONFIG_OPTION_TT_SIZE_METRICS): New option, commented out by
+       default.
 
-2016-12-18  Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afloader.c (af_loader_load_glyph): Use
+       AF_CONFIG_OPTION_TT_SIZE_METRICS to guard the corresponding code.
 
-       Minor GX code shuffling.
+2017-04-26  Werner Lemberg  <wl@gnu.org>
 
-       * include/freetype/internal/tttypes.h (TT_Face): Move
-       `is_default_instance' into TT_CONFIG_OPTION_GX_VAR_SUPPORT
-       block.
+       * include/freetype/freetype.h (FT_Render_Mode): Fix order.
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): Updated.
-       * src/truetype/ttgload.c (IS_DEFAULT_INSTANCE): New macro.
-       (TT_Load_Glyph): Use it.
+       This retains backward compatibility.
 
-2016-12-18  Werner Lemberg  <wl@gnu.org>
+       Noted by Alexei.
 
-       [cff] Better handling of non-CFF font formats.
+2017-04-22  Werner Lemberg  <wl@gnu.org>
 
-       * src/cff/cffload.c (cff_font_load): Pure CFFs don't have a
-       signature, so return `FT_Err_Unknown_File_Format' more often.
+       [truetype] Do linear scaling for FT_LOAD_NO_HINTING (#50470).
 
-2016-12-17  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttobjs.h (TT_SizeRec): Add field `hinted_metrics' to
+       hold hinted metrics.
+       Make `metrics' a pointer so that `tt_glyph_load' can easily switch
+       between metrics.
 
-       * src/cff/cffload.c (cff_build_blend_vector): Remove redundant code.
+       * src/truetype/ttdriver.c (tt_size_request): Updated.
+       (tt_glyph_load): Use top-level metrics if FT_LOAD_NO_HINTING is
+       used.
 
-2016-12-17  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttgload.c (TT_Hint_Glyph, TT_Process_Simple_Glyph,
+       TT_Process_Composite_Component, load_truetype_glyph,
+       compute_glyph_metrics, TT_Load_Glyph): Updated.
 
-       * src/truetype/ttobjs.c (tt_face_init): Simplify conditional code.
+       * src/truetype/ttinterp.c (TT_Load_Context): Updated.
 
-2016-12-17  Werner Lemberg  <wl@gnu.org>
+       * src/truetype/ttobjs.c (tt_size_reset): Updated.
 
-       [sfnt, truetype] Various sanitizing fixes.
+       * src/truetype/ttsubpix.c (sph_set_tweaks): Updated.
 
-       * src/sfnt/sfobjs.c (sfnt_init_face): If the axis count in `fvar' is
-       zero, set `num_instances' to zero.
+2017-04-22  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttgxvar.c (TT_Get_MM_Var): Handle `fvar' table with
-       zero axes as invalid.
+       Add new `slight' auto-hinting mode.
 
-       * src/truetype/ttobjs.c (tt_face_init): Improve logic of loading
-       `loca', `cvt', `fpgm', and `prep' table.
+       This mode uses fractional advance widths and doesn't scale glyphs
+       horizontally, only applying vertical scaling and hinting.
 
-2016-12-17  Werner Lemberg  <wl@gnu.org>
+       At the same time, the behaviour of the `light' auto-hinter gets
+       restored for backward compatibility: Both vertical and horizontal
+       scaling is again based on rounded metrics values (this was changed
+       in a commit from 2017-03-30 as a side effect).  To be more precise,
+       the behaviour is restored for TrueType fonts only; for other font
+       formats like Type 1, this is a new feature of the `light' hinting
+       mode.
 
-       Improve tracing of `FT_Open_Face'.
+       * include/freetype/freetype.h (FT_LOAD_TARGET_SLIGHT): New macro.
+       (FT_RENDER_MODE_SLIGHT): New render mode.
 
-       * src/base/ftobjs.c (FT_Open_Face): Return info on number of
-       available faces and numbered instances, or the indices of the
-       requested face and numbered instance.
+       * include/freetype/internal/ftobjs.h (FT_Size_InternalRec): Add
+       `autohint_mode' and `autohint_metrics' fields.
 
-       * src/sfnt/sfobjs. (sfnt_open_font): Trace number of subfonts.
+       * src/autofit/afcjk.c (af_cjk_hints_init), src/autofit/aflatin.c
+       (af_latin_hints_init), src/autofit/aflatin2 (af_latin2_hints_init):
+       Updated.
 
-2016-12-17  Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afloader.c (af_loader_embolden_glyph_in_slot): Use
+       `autohint_metrics'.
+       (af_loader_load_glyph): s/internal/slot_internal/.
+       Initialize `autohint_metrics' and `autohint_mode' depending on
+       current auto-hint mode.
+       Use `autohint_metrics'.
+       Updated.
 
-       * src/cff/cffload.c (cff_load_private_dict): Always init `blend'.
+       * src/base/ftadvanc.c (LOAD_ADVANCE_FAST_CHECK): Updated.
 
-       Reported as
+       * src/base/ftobjs.c (FT_Load_Glyph): Updated.
+       (FT_New_Size): Allocate `internal' object.
 
-         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=295
+       * src/pshinter/pshalgo.c (ps_hints_apply): Updated.
 
-2016-12-16  Werner Lemberg  <wl@gnu.org>
+       * src/smooth/ftsmooth.c (ft_smooth_render): Updated.
 
-       [truetype] Fix `cvar' sanity test.
+2017-04-22  Werner Lemberg  <wl@gnu.org>
 
-       Reported by Dave Arnold.
+       Introduce `FT_Size_InternalRec' structure.
 
-       * src/truetype/ttgxvar.c (tt_face_vary_cvt): Use tuple count mask.
+       We are going to extend this later on.
 
-2016-12-16  Werner Lemberg  <wl@gnu.org>
+       * include/freetype/internal/ftobjs.h (FT_Size_InternalRec): New
+       structure with a single field `module_data'.
 
-       [cff, truetype] Remove compiler warnings; fix `make multi'.
+       * src/base/ftobjs.c (FT_New_Size): Allocate `internal' field of
+       `FT_Size' structure.
 
-       * src/cff/cf2font.h: Include `cffload.h'.
+       * src/cff/cffgload.c (cff_builder_init, cff_decoder_prepare): Use
+       `size->internal->module_data' instead of `size->internal'.
 
-       * src/cff/cffload.c: Include FT_MULTIPLE_MASTERS_H and
-       FT_SERVICE_MULTIPLE_MASTERS_H.
-       (cff_vstore_load): Eliminate `vsSize'.
-       (cff_load_private_dict): Tag as `FT_LOCAL_DEF'.
+       * src/cff/cffobjs.c (cff_size_done): Deallocate `module_data'.
+       (cff_size_init, cff_size_select, cff_size_request): Use
+       `size->internal->module_data' instead of `size->internal'.
 
-       * src/cff/cffload.h: Include `cffobjs.h'.
-       Provide declaration for `cff_load_private_dict'.
+       * src/cif/cidobjs.c (cid_size_done, cid_size_init,
+       cid_size_request): Use `size->internal->module_data' instead of
+       `size->internal'.
 
-       * src/truetype/ttgxvar.c (ft_var_load_hvar): Eliminate
-       `minorVersion' and `map_offset'.
+       * src/psaux/psobjs.c (t1_builder_ini): Use
+       `size->internal->module_data' instead of `size->internal'.
 
-2016-12-16  Werner Lemberg  <wl@gnu.org>
+       * src/type1/t1objs.c (T1_Size_Done, T1_Size_Init, T1_Size_Request):
+       Use `size->internal->module_data' instead of `size->internal'.
 
-       [cff] Fix heap buffer overflow (#49858).
+2017-04-21  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/cff/cffparse.c (cff_parser_run): Add one more stack size
-       check.
+       * src/smooth/ftsmooth.h: Remove unused guards and declaration.
 
-2016-12-15  Werner Lemberg  <wl@gnu.org>
+2017-04-16  Hin-Tak Leung  <htl10@users.sourceforge.net>
 
-       Fix clang warnings.
+       Fix tracing messages.
 
-       * src/cff/cffload.c (cff_blend_doBlend): Add cast.
-       (cff_subfont_load): Set `error' correctly.
+       * src/base/ftobjs.c (FT_Face_GetCharVariantIndex,
+       FT_Face_GetCharVariantIsDefault, FT_Face_GetVariantsOfChar): Print
+       correct function name.
 
-       * src/sfnt/ttmtx.c (tt_face_get_metrics): Typo.
+2017-04-08  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-2016-12-15  Dave Arnold  <darnold@adobe.com>
-           Werner Lemberg  <wl@gnu.org>
+       [autofit] Add support for Old Turkic script.
 
-       [cff] Implement CFF2 support (2/2).
-
-       The font variation code.  All parts dependent on the GX code in the
-       `truetype' module are guarded with TT_CONFIG_OPTION_GX_VAR_SUPPORT.
-       In other words, you can still compile the `cff' module without
-       defining TT_CONFIG_OPTION_GX_VAR_SUPPORT (which brings you CFF2
-       support without font variation).
-
-       * src/cff/cf2font.c (cf2_font_setup): Add support for font
-       variation.
-       * src/cff/cf2font.h (CF2_Font): Add fields for variation data.
-
-       * src/cff/cf2ft.c (cf2_free_instance): Free blend data.
-       (cf2_getVStore, cf2_getNormalizedVector): New functions.
-       * src/cff/cf2ft.h: Updated.
-
-       * src/cff/cf2intrp.c: Include `cffload.h'.
-       (cf2_cmdRESERVED_15, cf2_cmdRESERVED_16): Replace with...
-       (cf2_cmdVSINDEX, cf2_cmdBLEND): ... this new enum values.
-       (cf2_doBlend): New function.
-       (cf2_interpT2CharString): Handle `vsindex' and `blend' opcodes.
-
-       * src/cff/cffload.c (FT_fdot14ToFixed): New macro.
-       (cff_vstore_done, cff_vstore_load): New functions.
-       (cff_blend_clear, cff_blend_doBlend, cff_blend_build_vector,
-       cff_blend_check_vector): New functions.
-       (cff_load_private_dict): Add arguments for blend vector.
-       Handle blend data.
-       (cff_subfont_load, cff_subfont_done): Updated.
-       (cff_font_load): Handle CFF2 variation store data.
-       (cff_font_done): Updated.
-       * src/cff/cffload.h: Include `cffparse.h'.
-       Updated.
+       * src/autofit/afblue.dat: Add blue zone data for Old Turkic.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       * src/cff/cffobjs.c (cff_face_done): Updated.
+       * src/autofit/afscript.h: Add Old Turkic standard characters.
 
-       * src/cff/cffparse.c: Include `cffload.h'.
-       (cff_parse_num): Handle internal value 255.
-       (cff_parse_vsindex, cff_parse_blend): New functions.
-       (CFF_FIELD_BLEND): New macro.
-       (cff_parser_run): Updated.
-       * src/cff/cffparse.h (cff_kind_blend): New enum value.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Old Turkic data.
 
-       * src/cff/cfftoken.h: Handle `vstore', `vsindex', and `blend'
-       dictionary values.
+2017-04-08  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       * src/cff/cfftypes.h (CFF_VarData, CFF_AxisCoords, CFF_VarRegion,
-       CFF_VStore, CFF_Blend): New structures.
-       (CFF_FontRecDict): Add `vstore_offset' field.
-       (CFF_Private): Add `vsindex' field.
-       (CFF_SubFont): Add fields for blend data.
-       (CFF_Font): Add `vstore' field.
+       [autofit] Add support for Gothic script.
 
-       * src/truetype/ttgxvar.c (TT_Get_MM_Var): `CFF2' is equal to `gvar',
-       since glyph variation data is directly embedded.
-       (TT_Set_MM_Blend): Don't load `gvar' table for CFF2 fonts.
+       * src/autofit/afblue.dat: Add blue zone data for Gothic.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-2016-12-15  Dave Arnold  <darnold@adobe.com>
-           Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afscript.h: Add Gothic standard characters.
 
-       [cff] Implement CFF2 support (1/2).
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Gothic data.
 
-       This commit does not contain the blend code for font variation
-       support, which follows in another commit.
+2017-04-08  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       You should ignore whitespace while inspecting this commit.
+       [autofit] Add support for Cypriot script.
 
-       * include/freetype/internal/tttypes.h (TT_Face): Add `isCFF2'
-       member.
+       * src/autofit/afblue.dat: Add blue zone data for Cypriot.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       * src/cff/cf2font.h (CF2_Font): Add `isCFF2' member.
+       * src/autofit/afscript.h: Add Cypriot standard characters.
 
-       * src/cff/cf2ft.c (cf2_decoder_parse_charstrings): Handle `isCFF2'
-       flag.
-       (cf2_getMaxstack): New function.
-       * src/cff/cf2ft.h: Updated.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Cypriot data.
 
-       * src/cff/cf2intrp.c (cf2_escRESERVED_38): New enum.
-       (cf2_interpT2CharString): Handle CFF2 differences.
-       Add tracing message for errors.
+2017-04-08  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       * src/cff/cffdrivr.c (cff_get_glyph_name, cff_get_name_index):
-       Update for CFF2.
+       [autofit] Add support for Deseret script.
 
-       * src/cff/cffload.c (FT_FIXED_ONE): New macro.
-       (cff_index_init, cff_index_load_offsets, cff_index_access_element,
-       cff_index_get_name, cff_ft_select_get, cff_load_private_dict,
-       cff_subfont_load, cff_font_load): Handle CFF2.
-       * src/cff/cffload.h: Updated.
+       * src/autofit/afblue.dat: Add blue zone data for Deseret.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       * src/cff/cffobjs.c (cff_face_init): Handle CFF2.
+       * src/autofit/afscript.h: Add Deseret standard characters.
 
-       * src/cff/cffparse.c (cff_parse_maxstack): New function.
-       (CFFCODE_TOPDICT, CFFCODE_PRIVATE): Removed
-       * src/cff/cffparse.h (CFF2_MAX_STACK, CFF2_DEFAULT_STACK): New
-       macros.
-       (CFF2_CODE_TOPDICT, CFF2_CODE_FONTDICT, CFF2_CODE_PRIVATE): New
-       macros.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Deseret data.
 
-       * src/cff/cfftoken.h: Add fields for CFF2 dictionaries (but no blend
-       stuff).
+2017-04-07  Werner Lemberg  <wl@gnu.org>
 
-       * src/cff/cfftypes.h (CFF_Index): Add `hdr_size' field.
-       (CFF_FontRecDict): Add `maxstack' field.
-       (CFF_Private): Add `subfont' field.
-       (CFF_Font): Add `top_dict_length' and `cff2' fields.
+       [autofit] Fix invalid character range description (#50745).
 
-       * src/sfnt/sfobjs.c (sfnt_load_face): Handle `CFF2' table.
+       Also reported as
 
-2016-12-15  Werner Lemberg  <wl@gnu.org>
-           Dave Arnold  <darnold@adobe.com>
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1034
 
-       [truetype] Provide HVAR advance width variation as a service.
+       * src/autofit/afranges.c (af_glag_nonbase_uniranges): Fix typo in
+       recent commit.
 
-       Everything is guarded with TT_CONFIG_OPTION_GX_VAR_SUPPORT.
+2017-04-07  Werner Lemberg  <wl@gnu.org>
 
-       * src/truetype/ttdriver.c (tt_service_metrics_variations): Updated.
+       [ftfuzzer] Fix clang warnings.
 
-       * src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Prevent
-       double adjustment of advance width.
+       * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Add
+       casts.
 
-       * src/sfnt/ttmtx.c: Include FT_SERVICE_METRICS_VARIATIONS_H.
-       (tt_face_get_metrics): Apply metrics variations.
+2017-04-06  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-2016-12-15  Dave Arnold  <darnold@adobe.com>
-           Werner Lemberg  <wl@gnu.org>
+       [autofit] Add support for Lisu script.
 
-       [truetype] Provide function to apply `HVAR' advance width variation.
+       * src/autofit/afblue.dat: Add blue zone data for Lisu.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       Everything is guarded with TT_CONFIG_OPTION_GX_VAR_SUPPORT.
+       * src/autofit/afscript.h: Add Lisu standard characters.
 
-       * src/truetype/ttgxvar.c (tt_hadvance_adjust): New function.
-       * src/truetype/ttgxvar.h: Updated.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Lisu data.
 
-2016-12-15  Dave Arnold  <darnold@adobe.com>
-           Werner Lemberg  <wl@gnu.org>
+2017-04-06  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       [truetype] Add `HVAR' table parsing.
+       [autofit] Add support for Osage script.
 
-       Note that this is not complete yet; it only handles advance width
-       variation.
+       * src/autofit/afblue.dat: Add blue zone data for Osage.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       Activation of the code follows in another commit.
+       * src/autofit/afscript.h: Add Osage standard characters.
 
-       Everything is guarded with TT_CONFIG_OPTION_GX_VAR_SUPPORT.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Osage data.
 
-       * include/freetype/ftmm.h (FT_Var_Named_Style): Add `psid' member.
+2017-04-06  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       * src/truetype/ttgxvar.h (GX_HVarData, GX_AxisCoords, GX_HVarRegion,
-       GX_HVStore, GX_WidthMap): New auxiliary structures for...
-       (GX_HVarTable): ... HVAR main structure.
-       (GX_BlendRec): Add data for HVAR loading.
+       [autofit] Add support for Glagolitic script.
 
-       * src/truetype/ttgxvar.c (FT_FIXED_ONE, FT_fdot14ToFixed,
-       FT_intToFixed, FT_fixedToInt): New macros.
-       (ft_var_load_hvar): New function.
-       (TT_Get_MM_Var): Updated.
-       (tt_done_blend): Deallocate HVAR data.
+       * src/autofit/afblue.dat: Add blue zone data for Glagolitic.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-2016-12-15  Dave Arnold  <darnold@adobe.com>
+       * src/autofit/afscript.h: Add Glagolitic standard characters.
 
-       [cff] Extend number parsing.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Glagolitic data.
 
-       The forthcoming CFF2 support needs a dynamic parsing limit.
+2017-04-06  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       * src/cff/cffparse.c (cff_parse_num, do_fixed, cff_parse_fixed,
-       cff_parse_fixed_scaled, cff_parse_fixed_dynamic): Add argument for
-       parser.
-       (cff_parse_font_matrix, cff_parse_font_bbox, cff_parse_private_dict,
-       cff_parse_multiple_master, cff_parse_cid_ros, cff_parser_run): Updated.
+       [autofit] Add support for Tai Viet script.
 
-       * src/cff/cffparse.h (cff_parse_num): Export locally.
+       * src/autofit/afblue.dat: Add blue zone data for Tai Viet.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-2016-12-15  Dave Arnold  <darnold@adobe.com>
+       * src/autofit/afscript.h: Add Tai Viet standard characters.
 
-       [cff] Implement dynamic stack size for Adobe engine.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Tai Viet data.
 
-       This also adds `cf2_stack_setReal' and `cf2_stack_pop', needed for
-       the forthcoming CFF2 support.
+2017-04-06  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       * src/cff/cf2stack.c (cf2_stack_init): Add argument for stack size.
-       (cf2_stack_free): Deallocate stack.
-       (cf2_stack_count, cf2_stack_pushInt, cf2_stack_pushFixed,
-       cf2_stack_popInt, cf2_stack_popFixed, cf2_stack_getReal,
-       cf2_stack_clear): Updated.
-       (cf2_stack_setReal, cf2_stack_pop): New functions.
+       [autofit] Add support for Tifinagh script.
 
-       * src/cff/cf2stack.h (CF2_Stack): Add `stackSize' member.
-       Update function declarations.
+       * src/autofit/afblue.dat: Add blue zone data for Tifinagh.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       * src/cff/cf2intrp.c (cf2_interpT2CharString): Updated.
+       * src/autofit/afscript.h: Add Tifinagh standard characters.
 
-       * src/cff/cffparse.c (cff_parser_init): Add parameter for stack
-       size; return error code.
-       (cff_parser_done): New function.
-       (cff_parser_run): Updated.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Tifinagh data.
 
-       * src/cff/cffparse.h (CFF_Parser): Add `stackSize' member and make
-       `stack' a pointer.
-       Update function declarations.
+2017-04-06  Sascha Brawer  <sascha@google.com>
+           Werner Lemberg  <wl@gnu.org
 
-       * src/cff/cffload.c (cff_load_private_dict, cff_subfont_load):
-       Updated.
+       [autofit] Add support for N'Ko script.
 
-2016-12-15  Dave Arnold  <darnold@adobe.com>
-           Werner Lemberg  <wl@gnu.org>
+       * src/autofit/afblue.dat: Add blue zone data for N'Ko.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       [cff] Code shuffling.
+       * src/autofit/afscript.h: Add N'Ko standard characters.
 
-       * src/cff/cfftypes.h (CFF_Font): Add `library' and `base_offset'
-       fields.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add N'Ko data.
 
-       * src/cff/cffload.c (cff_subfont_load): Change last argument to
-       `CFF_Font'
-       Split off parsing of private dictionary into...
-       (cff_load_private_dict): ...this new function.
-       (cff_font_load): Updated.
+2017-04-06  Sascha Brawer  <sascha@google.com>
 
-2016-12-14  Werner Lemberg  <wl@gnu.org>
+       [autofit] Add support for Adlam script.
 
-       [sfnt, truetype] Add framework for Metrics Variations service.
+       * src/autofit/afblue.dat: Add blue zone data for Adlam.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       No effect yet; service functions will be implemented later on.
+       * src/autofit/afscript.h: Add Adlam standard characters.
 
-       Everything is guarded with TT_CONFIG_OPTION_GX_VAR_SUPPORT.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Adlam data.
 
-       * include/freetype/internal/services/svmetric.h: New file.
+2017-04-06  Sascha Brawer  <sascha@google.com>
 
-       * include/freetype/internal/ftserv.h
-       (FT_SERVICE_METRICS_VARIATIONS_H): New macro.
+       [autofit] Add support for Ol Chiki script.
 
-       * include/freetype/internal/tttypes.h (TT_Face): New field `var'.
+       * src/autofit/afblue.dat: Add blue zone data for Ol Chiki.
+       * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
 
-       * src/sfnt/sfobjs.c: Include FT_SERVICE_METRICS_VARIATIONS_H.
-       (sfnt_init_face): Initialize `face->var'.
+       * src/autofit/afscript.h: Add Ol Chiki standard character.
 
-       * src/truetype/ttdriver.c: Include FT_SERVICE_METRICS_VARIATIONS_H.
-       (tt_service_metrics_variations): New service.
-       (tt_services): Updated.
+       * src/autofit/afranges.c, src/autofit/afstyles.h: Add Ol Chiki data.
 
-       * src/truetype/ttpic.h: Updated.
+2017-04-03  Werner Lemberg  <wl@gnu.org>
 
-2016-12-14  Werner Lemberg  <wl@gnu.org>
+       [truetype] Avoid reexecution of `fpgm' and `prep' in case of error.
 
-       [cff] Add Multiple Masters service.
+       Reported as
 
-       The code simply uses the MM functions from the `truetype' module.
+         https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=981
 
-       Everything is guarded with TT_CONFIG_OPTION_GX_VAR_SUPPORT.
+       * include/freetype/fterrdef.h (FT_Err_DEF_In_Glyf_Bytecode): New
+       error code.
 
-       * include/freetype/internal/tttypes.h (TT_Face): New field `mm'.
+       * src/truetype/ttinterp.c (Ins_FDEF, Ins_IDEF): Prohibit execution
+       of these two opcodes in `glyf' bytecode.
+       (TT_RunIns): Don't enforce reexecution of `fpgm' and `prep' bytecode
+       in case of error since function tables can no longer be modified
+       (due to the changes in `Ins_FDEF' and `Ins_IDEF').  This change can
+       enormously speed up handling of broken fonts.
 
-       * src/cff/cffdrivr.c: Include FT_SERVICE_MULTIPLE_MASTERS_H.
-       (cff_set_mm_blend, cff_get_mm_blend, cff_get_mm_var,
-       cff_set_var_design, cff_get_var_design): New functions.
-       (cff_service_multi_masters): New service.
-       (cff_services): Updated.
+2017-04-02  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
-       * src/cff/cffload.c (cff_get_var_blend, cff_done_blend): New
-       functions.
-       * src/cff/cffload.h: Updated.
+       [autofit] Disable metrics adjustment for `FT_LOAD_TARGET_LCD'.
 
-       * src/cff/cffpic.h (CFF_SERVICE_MULTI_MASTERS_GET): New macro.
+ &