laag-freetype2 2.9.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +57 -0
- data/LICENSE.txt +169 -0
- data/README.org +34 -0
- data/ext/laag/freetype2/extconf.rb +16 -0
- data/laag-freetype2.gemspec +20 -0
- data/lib/laag/freetype2.rb +29 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/.gitignore +3 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/.mailmap +9 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/CMakeLists.txt +497 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/ChangeLog +2352 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/ChangeLog.20 +2613 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/ChangeLog.21 +9438 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/ChangeLog.22 +2837 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/ChangeLog.23 +7948 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/ChangeLog.24 +6360 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/ChangeLog.25 +5161 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/ChangeLog.26 +5711 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/ChangeLog.27 +2106 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/ChangeLog.28 +3136 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/Jamfile +222 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/Jamrules +71 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/Makefile +34 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/README +84 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/README.git +50 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/autogen.sh +165 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/amiga/README +110 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/amiga/include/config/ftconfig.h +55 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/amiga/include/config/ftmodule.h +160 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/amiga/makefile +293 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/amiga/makefile.os4 +297 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/amiga/smakefile +299 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/amiga/src/base/ftdebug.c +297 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/amiga/src/base/ftsystem.c +530 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/ansi/ansi-def.mk +74 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/ansi/ansi.mk +21 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/atari/ATARI.H +20 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/atari/FNames.SIC +37 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/atari/FREETYPE.PRJ +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/atari/README.TXT +51 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/atari/deflinejoiner.awk +181 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/atari/gen-purec-patch.sh +40 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/beos/beos-def.mk +76 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/beos/beos.mk +19 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/beos/detect.mk +41 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/cmake/FindHarfBuzz.cmake +81 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/cmake/iOS.cmake +270 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/cmake/testbuild.sh +157 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/ansi-cc.mk +80 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/bcc-dev.mk +86 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/bcc.mk +86 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/emx.mk +77 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/gcc-dev.mk +95 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/gcc.mk +77 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/intelc.mk +85 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/unix-lcc.mk +83 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/visualage.mk +76 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/visualc.mk +82 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/watcom.mk +81 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/compiler/win-lcc.mk +81 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/detect.mk +128 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/dos/detect.mk +142 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/dos/dos-def.mk +45 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/dos/dos-emx.mk +21 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/dos/dos-gcc.mk +21 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/dos/dos-wat.mk +20 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/exports.mk +80 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/freetype.mk +357 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/link_dos.mk +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/link_std.mk +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/mac/FreeType.m68k_cfm.make.txt +209 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/mac/FreeType.m68k_far.make.txt +208 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/mac/FreeType.ppc_carbon.make.txt +212 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/mac/FreeType.ppc_classic.make.txt +213 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/mac/README +401 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/mac/ascii2mpw.py +24 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/mac/freetype-Info.plist +36 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/mac/ftlib.prj.xml +1194 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/mac/ftmac.c +1542 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/modules.mk +79 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/os2/detect.mk +73 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/os2/os2-def.mk +44 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/os2/os2-dev.mk +30 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/os2/os2-gcc.mk +26 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/symbian/bld.inf +72 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/symbian/freetype.mmp +146 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/toplevel.mk +277 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/.gitignore +18 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/configure.raw +1103 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/detect.mk +93 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/freetype-config.in +211 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/freetype2.in +14 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/freetype2.m4 +194 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/ft-munmap.m4 +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/ftconfig.in +602 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/ftsystem.c +420 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/install.mk +102 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/pkg.m4 +199 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/unix-cc.in +121 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/unix-def.in +154 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/unix-dev.mk +26 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/unix-lcc.mk +24 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/unix.mk +62 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/unix/unixddef.mk +45 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/vms/ftconfig.h +554 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/vms/ftsystem.c +328 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/wince/ftdebug.c +255 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/wince/vc2005-ce/freetype.sln +157 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/wince/vc2005-ce/freetype.vcproj +874 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/wince/vc2005-ce/index.html +47 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/wince/vc2008-ce/freetype.sln +157 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/wince/vc2008-ce/freetype.vcproj +3508 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/wince/vc2008-ce/index.html +47 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/.gitignore +5 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/detect.mk +184 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/ftdebug.c +237 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/vc2005/freetype.sln +31 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/vc2005/freetype.vcproj +217 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/vc2005/index.html +37 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/vc2008/freetype.sln +31 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/vc2008/freetype.vcproj +668 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/vc2008/index.html +37 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/vc2010/freetype.sln +37 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/vc2010/freetype.user.props +68 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/vc2010/freetype.vcxproj +444 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/vc2010/freetype.vcxproj.filters +155 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/vc2010/index.html +40 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/visualc/freetype.dsp +383 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/visualc/freetype.dsw +29 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/visualc/freetype.sln +31 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/visualc/freetype.vcproj +667 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/visualc/index.html +37 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/visualce/freetype.dsp +383 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/visualce/freetype.dsw +29 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/visualce/freetype.vcproj +3697 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/visualce/index.html +47 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/w32-bcc.mk +28 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/w32-bccd.mk +26 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/w32-dev.mk +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/w32-gcc.mk +31 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/w32-icc.mk +28 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/w32-intl.mk +28 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/w32-lcc.mk +24 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/w32-mingw32.mk +33 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/w32-vcc.mk +28 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/w32-wat.mk +28 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/builds/windows/win32-def.mk +47 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/configure +135 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/devel/ft2build.h +40 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/devel/ftoption.h +927 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/CHANGES +5035 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/CMAKE +2 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/CUSTOMIZE +152 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/DEBUG +204 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/FTL.TXT +169 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/GPLv2.TXT +340 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/INSTALL +90 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/INSTALL.ANY +154 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/INSTALL.CROSS +177 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/INSTALL.GNU +161 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/INSTALL.MAC +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/INSTALL.UNIX +118 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/INSTALL.VMS +62 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/LICENSE.TXT +39 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/MAKEPP +5 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/PROBLEMS +90 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/TODO +40 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/VERSIONS.TXT +127 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/formats.txt +208 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/freetype-config.1 +146 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/raster.txt +635 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/reference/.gitignore +1 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/reference/README +5 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/docs/release +202 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/config/ftconfig.h +571 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/config/ftheader.h +804 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/config/ftmodule.h +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/config/ftoption.h +977 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/config/ftstdlib.h +175 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/freetype.h +4657 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftadvanc.h +187 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftbbox.h +101 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftbdf.h +210 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftbitmap.h +240 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftbzip2.h +102 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftcache.h +1042 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftchapters.h +139 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftcid.h +168 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftdriver.h +1225 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/fterrdef.h +280 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/fterrors.h +226 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftfntfmt.h +95 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftgasp.h +142 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftglyph.h +614 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftgxval.h +357 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftgzip.h +151 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftimage.h +1205 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftincrem.h +343 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftlcdfil.h +309 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftlist.h +276 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftlzw.h +99 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftmac.h +275 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftmm.h +638 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftmodapi.h +711 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftmoderr.h +194 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftotval.h +204 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftoutln.h +582 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftparams.h +205 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftpfr.h +172 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftrender.h +233 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftsizes.h +159 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftsnames.h +253 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftstroke.h +785 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftsynth.h +84 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftsystem.h +355 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/fttrigon.h +350 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/fttypes.h +602 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ftwinfnt.h +275 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/autohint.h +244 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/cffotypes.h +108 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/cfftypes.h +412 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftcalc.h +444 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftdebug.h +255 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftdrv.h +400 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftgloadr.h +154 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/fthash.h +136 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftmemory.h +393 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftobjs.h +1625 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftpic.h +71 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftpsprop.h +48 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftrfork.h +267 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftserv.h +1016 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftstream.h +536 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/fttrace.h +153 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/ftvalid.h +159 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/internal.h +67 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/psaux.h +1372 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/pshints.h +722 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svbdf.h +82 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svcfftl.h +112 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svcid.h +90 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svfntfmt.h +55 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svgldict.h +91 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svgxval.h +72 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svkern.h +51 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svmetric.h +153 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svmm.h +172 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svotval.h +55 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svpfr.h +66 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svpostnm.h +81 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svprop.h +82 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svpscmap.h +177 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svpsinfo.h +111 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svsfnt.h +103 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svttcmap.h +106 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svtteng.h +53 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svttglyf.h +69 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/services/svwinfnt.h +50 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/sfnt.h +784 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/t1types.h +257 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/internal/tttypes.h +1689 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/t1tables.h +770 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/ttnameid.h +1236 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/tttables.h +846 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/freetype/tttags.h +121 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/include/ft2build.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/modules.cfg +261 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/objs/.gitignore +3 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/objs/README +2 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/Jamfile +19 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/Jamfile +53 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afangles.c +285 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afangles.h +7 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afblue.c +739 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afblue.cin +39 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afblue.dat +1072 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afblue.h +414 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afblue.hin +146 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afcjk.c +2381 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afcjk.h +141 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afcover.h +105 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afdummy.c +75 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afdummy.h +40 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/aferrors.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afglobal.c +503 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afglobal.h +173 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afhints.c +1659 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afhints.h +481 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afindic.c +157 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afindic.h +41 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/aflatin.c +3590 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/aflatin.h +194 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/aflatin2.c +2427 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/aflatin2.h +46 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afloader.c +721 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afloader.h +91 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afmodule.c +600 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afmodule.h +58 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afpic.c +152 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afpic.h +105 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afranges.c +1033 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afranges.h +47 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afscript.h +390 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afshaper.c +683 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afshaper.h +72 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afstyles.h +475 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/aftypes.h +651 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afwarp.c +373 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afwarp.h +64 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/afwrtsys.h +52 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/autofit.c +39 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/autofit/rules.mk +89 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/Jamfile +89 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/basepic.c +108 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/basepic.h +91 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftadvanc.c +175 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftapi.c +121 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftbase.c +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftbase.h +78 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftbbox.c +515 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftbdf.c +91 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftbitmap.c +835 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftcalc.c +1017 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftcid.c +118 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftdbgmem.c +999 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftdebug.c +266 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftfntfmt.c +55 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftfstype.c +62 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftgasp.c +61 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftgloadr.c +406 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftglyph.c +649 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftgxval.c +142 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/fthash.c +339 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftinit.c +376 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftlcdfil.c +383 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftmac.c +1088 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftmm.c +508 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftobjs.c +5405 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftotval.c +91 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftoutln.c +1110 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftpatent.c +51 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftpfr.c +153 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftpic.c +55 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftpsprop.c +285 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftrfork.c +943 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftsnames.c +148 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftstream.c +860 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftstroke.c +2469 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftsynth.c +163 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftsystem.c +320 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/fttrigon.c +526 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/fttype1.c +127 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftutil.c +443 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftver.rc +61 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/ftwinfnt.c +53 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/md5.c +291 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/md5.h +45 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/base/rules.mk +109 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bdf/Jamfile +31 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bdf/README +148 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bdf/bdf.c +35 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bdf/bdf.h +280 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bdf/bdfdrivr.c +1006 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bdf/bdfdrivr.h +80 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bdf/bdferror.h +45 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bdf/bdflib.c +2462 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bdf/module.mk +34 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bdf/rules.mk +84 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bzip2/Jamfile +18 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bzip2/ftbzip2.c +525 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/bzip2/rules.mk +64 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/Jamfile +37 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcache.c +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcbasic.c +632 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftccache.c +621 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftccache.h +352 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftccback.h +92 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftccmap.c +327 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcerror.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcglyph.c +219 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcglyph.h +329 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcimage.c +164 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcimage.h +107 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcmanag.c +704 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcmanag.h +175 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcmru.c +357 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcmru.h +248 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcsbits.c +423 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/ftcsbits.h +103 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cache/rules.mk +85 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/Jamfile +36 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cff.c +30 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffcmap.c +229 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffcmap.h +67 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffdrivr.c +1143 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffdrivr.h +38 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cfferrs.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffgload.c +683 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffgload.h +63 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffload.c +2564 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffload.h +125 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffobjs.c +1206 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffobjs.h +85 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffparse.c +1694 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffparse.h +136 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffpic.c +138 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cffpic.h +121 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/cfftoken.h +150 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cff/rules.mk +76 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/Jamfile +34 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/ciderrs.h +41 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/cidgload.c +531 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/cidgload.h +51 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/cidload.c +846 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/cidload.h +53 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/cidobjs.c +526 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/cidobjs.h +154 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/cidparse.c +277 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/cidparse.h +123 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/cidriver.c +256 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/cidriver.h +43 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/cidtoken.h +112 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/rules.mk +73 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/cid/type1cid.c +29 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/Jamfile +52 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/README +532 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvalid.c +47 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvalid.h +108 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvbsln.c +334 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvcommn.c +1746 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvcommn.h +582 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxverror.h +51 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvfeat.c +339 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvfeat.h +173 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvfgen.c +483 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvjust.c +719 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvkern.c +920 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvlcar.c +224 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmod.c +285 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmod.h +51 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmort.c +300 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmort.h +94 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmort0.c +152 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmort1.c +260 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmort2.c +312 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmort4.c +126 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmort5.c +234 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmorx.c +199 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmorx.h +68 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmorx0.c +112 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmorx1.c +278 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmorx2.c +331 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmorx4.c +56 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvmorx5.c +226 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvopbd.c +218 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvprop.c +330 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/gxvtrak.c +288 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gxvalid/rules.mk +98 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/Jamfile +16 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/adler32.c +48 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/ftgzip.c +816 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/ftzconf.h +284 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/infblock.c +387 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/infblock.h +36 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/infcodes.c +250 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/infcodes.h +31 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/inffixed.h +151 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/inflate.c +273 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/inftrees.c +468 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/inftrees.h +63 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/infutil.c +86 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/infutil.h +98 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/rules.mk +83 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/zlib.h +830 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/zutil.c +181 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/gzip/zutil.h +215 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/lzw/Jamfile +16 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/lzw/ftlzw.c +420 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/lzw/ftzopen.c +424 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/lzw/ftzopen.h +172 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/lzw/rules.mk +72 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/Jamfile +37 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvalid.c +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvalid.h +78 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvbase.c +345 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvcommn.c +1096 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvcommn.h +467 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otverror.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvgdef.c +303 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvgpos.c +1051 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvgpos.h +36 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvgsub.c +617 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvjstf.c +259 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvmath.c +453 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvmod.c +282 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/otvmod.h +43 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/otvalid/rules.mk +81 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/Jamfile +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/README +96 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/module.mk +34 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/pcf.c +36 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/pcf.h +247 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/pcfdrivr.c +869 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/pcfdrivr.h +48 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/pcferror.h +41 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/pcfread.c +1665 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/pcfread.h +45 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/pcfutil.c +104 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/pcfutil.h +55 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pcf/rules.mk +82 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/Jamfile +35 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfr.c +30 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrcmap.c +177 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrcmap.h +46 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrdrivr.c +213 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrdrivr.h +43 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrerror.h +41 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrgload.c +851 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrgload.h +49 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrload.c +1049 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrload.h +123 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrobjs.c +600 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrobjs.h +96 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrsbit.c +808 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrsbit.h +37 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/pfrtypes.h +332 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pfr/rules.mk +76 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/Jamfile +45 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/afmparse.c +986 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/afmparse.h +89 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/cffdecode.c +2370 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/cffdecode.h +64 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psarrst.c +241 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psarrst.h +100 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psaux.c +41 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psauxerr.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psauxmod.c +191 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psauxmod.h +51 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psblues.c +582 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psblues.h +185 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psconv.c +611 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psconv.h +71 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/pserror.c +52 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/pserror.h +119 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psfixed.h +95 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psfont.c +567 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psfont.h +134 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psft.c +890 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psft.h +167 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psglue.h +144 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/pshints.c +1939 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/pshints.h +288 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psintrp.c +3040 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psintrp.h +83 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psobjs.c +2533 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psobjs.h +313 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psread.c +112 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psread.h +68 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psstack.c +328 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/psstack.h +121 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/pstypes.h +78 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/rules.mk +89 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/t1cmap.c +371 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/t1cmap.h +105 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/t1decode.c +1988 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psaux/t1decode.h +74 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/Jamfile +34 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshalgo.c +2195 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshalgo.h +241 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshglob.c +795 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshglob.h +196 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshinter.c +29 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshmod.c +121 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshmod.h +39 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshnterr.h +41 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshpic.c +76 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshpic.h +63 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshrec.c +1220 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/pshrec.h +172 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/pshinter/rules.mk +76 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psnames/Jamfile +31 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psnames/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psnames/psmodule.c +632 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psnames/psmodule.h +38 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psnames/psnamerr.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psnames/psnames.c +26 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psnames/pspic.c +97 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psnames/pspic.h +68 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psnames/pstables.h +4238 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/psnames/rules.mk +74 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/Jamfile +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/ftmisc.h +142 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/ftraster.c +3225 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/ftraster.h +46 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/ftrend1.c +204 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/ftrend1.h +38 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/raster.c +27 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/rasterrs.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/rastpic.c +89 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/rastpic.h +63 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/raster/rules.mk +73 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/Jamfile +40 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/pngshim.c +456 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/pngshim.h +51 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/rules.mk +81 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/sfdriver.c +1288 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/sfdriver.h +38 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/sferrors.h +41 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/sfnt.c +35 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/sfntpic.c +143 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/sfntpic.h +112 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/sfobjs.c +1804 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/sfobjs.h +59 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttbdf.c +257 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttbdf.h +50 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttcmap.c +3938 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttcmap.h +160 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttcmapc.h +56 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttkern.c +311 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttkern.h +52 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttload.c +1427 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttload.h +112 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttmtx.c +326 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttmtx.h +55 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttpost.c +575 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttpost.h +46 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttsbit.c +1682 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/sfnt/ttsbit.h +63 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/smooth/Jamfile +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/smooth/ftgrays.c +2042 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/smooth/ftgrays.h +58 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/smooth/ftsmerrs.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/smooth/ftsmooth.c +464 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/smooth/ftsmooth.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/smooth/ftspic.c +118 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/smooth/ftspic.h +75 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/smooth/module.mk +27 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/smooth/rules.mk +74 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/smooth/smooth.c +27 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/Jamfile +5 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/afblue.pl +551 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/apinames.c +481 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/chktrcmp.py +114 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/cordic.py +33 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/docmaker/.gitignore +1 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/docmaker/content.py +672 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/docmaker/docbeauty.py +111 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/docmaker/docmaker.py +115 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/docmaker/formatter.py +228 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/docmaker/sources.py +410 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/docmaker/tohtml.py +725 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/docmaker/utils.py +127 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/ftfuzzer/README +81 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/ftfuzzer/ftfuzzer.cc +428 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/ftfuzzer/ftmutator.cc +314 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/ftfuzzer/rasterfuzzer.cc +129 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/ftfuzzer/runinput.cc +58 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/ftrandom/Makefile +45 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/ftrandom/README +69 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/ftrandom/ftrandom.c +720 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/glnames.py +5540 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/no-copyright +65 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/test_afm.c +157 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/test_bbox.c +188 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/test_trig.c +258 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/update-copyright +14 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/tools/update-copyright-year +135 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/Jamfile +37 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/rules.mk +77 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/truetype.c +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttdriver.c +666 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttdriver.h +38 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/tterrors.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttgload.c +2906 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttgload.h +62 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttgxvar.c +4074 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttgxvar.h +453 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttinterp.c +8551 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttinterp.h +539 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttobjs.c +1440 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttobjs.h +425 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttpic.c +101 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttpic.h +88 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttpload.c +642 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttpload.h +75 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttsubpix.c +1014 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/truetype/ttsubpix.h +111 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/Jamfile +35 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/rules.mk +76 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1afm.c +415 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1afm.h +54 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1driver.c +773 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1driver.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1errors.h +41 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1gload.c +590 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1gload.h +53 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1load.c +2520 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1load.h +117 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1objs.c +641 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1objs.h +160 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1parse.c +525 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1parse.h +129 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/t1tokens.h +143 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type1/type1.c +30 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/Jamfile +32 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/rules.mk +73 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/t42drivr.c +246 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/t42drivr.h +43 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/t42error.h +41 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/t42objs.c +688 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/t42objs.h +124 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/t42parse.c +1299 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/t42parse.h +91 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/t42types.h +57 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/type42/type42.c +27 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/winfonts/Jamfile +16 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/winfonts/fnterrs.h +42 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/winfonts/module.mk +23 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/winfonts/rules.mk +68 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/winfonts/winfnt.c +1200 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/src/winfonts/winfnt.h +171 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/version.sed +5 -0
- data/vendor/git.savannah.nongnu.org/r/freetype/freetype2/vms_make.com +1286 -0
- metadata +800 -0
@@ -0,0 +1,63 @@
|
|
1
|
+
/* inftrees.h -- header to use inftrees.c
|
2
|
+
* Copyright (C) 1995-2002 Mark Adler
|
3
|
+
* For conditions of distribution and use, see copyright notice in zlib.h
|
4
|
+
*/
|
5
|
+
|
6
|
+
/* WARNING: this file should *not* be used by applications. It is
|
7
|
+
part of the implementation of the compression library and is
|
8
|
+
subject to change. Applications should only use zlib.h.
|
9
|
+
*/
|
10
|
+
|
11
|
+
/* Huffman code lookup table entry--this entry is four bytes for machines
|
12
|
+
that have 16-bit pointers (e.g. PC's in the small or medium model). */
|
13
|
+
|
14
|
+
#ifndef _INFTREES_H
|
15
|
+
#define _INFTREES_H
|
16
|
+
|
17
|
+
typedef struct inflate_huft_s FAR inflate_huft;
|
18
|
+
|
19
|
+
struct inflate_huft_s {
|
20
|
+
union {
|
21
|
+
struct {
|
22
|
+
Byte Exop; /* number of extra bits or operation */
|
23
|
+
Byte Bits; /* number of bits in this code or subcode */
|
24
|
+
} what;
|
25
|
+
uInt pad; /* pad structure to a power of 2 (4 bytes for */
|
26
|
+
} word; /* 16-bit, 8 bytes for 32-bit int's) */
|
27
|
+
uInt base; /* literal, length base, distance base,
|
28
|
+
or table offset */
|
29
|
+
};
|
30
|
+
|
31
|
+
/* Maximum size of dynamic tree. The maximum found in a long but non-
|
32
|
+
exhaustive search was 1004 huft structures (850 for length/literals
|
33
|
+
and 154 for distances, the latter actually the result of an
|
34
|
+
exhaustive search). The actual maximum is not known, but the
|
35
|
+
value below is more than safe. */
|
36
|
+
#define MANY 1440
|
37
|
+
|
38
|
+
local int inflate_trees_bits OF((
|
39
|
+
uIntf *, /* 19 code lengths */
|
40
|
+
uIntf *, /* bits tree desired/actual depth */
|
41
|
+
inflate_huft * FAR *, /* bits tree result */
|
42
|
+
inflate_huft *, /* space for trees */
|
43
|
+
z_streamp)); /* for messages */
|
44
|
+
|
45
|
+
local int inflate_trees_dynamic OF((
|
46
|
+
uInt, /* number of literal/length codes */
|
47
|
+
uInt, /* number of distance codes */
|
48
|
+
uIntf *, /* that many (total) code lengths */
|
49
|
+
uIntf *, /* literal desired/actual bit depth */
|
50
|
+
uIntf *, /* distance desired/actual bit depth */
|
51
|
+
inflate_huft * FAR *, /* literal/length tree result */
|
52
|
+
inflate_huft * FAR *, /* distance tree result */
|
53
|
+
inflate_huft *, /* space for trees */
|
54
|
+
z_streamp)); /* for messages */
|
55
|
+
|
56
|
+
local int inflate_trees_fixed OF((
|
57
|
+
uIntf *, /* literal desired/actual bit depth */
|
58
|
+
uIntf *, /* distance desired/actual bit depth */
|
59
|
+
const inflate_huft * FAR *, /* literal/length tree result */
|
60
|
+
const inflate_huft * FAR *, /* distance tree result */
|
61
|
+
z_streamp)); /* for memory allocation */
|
62
|
+
|
63
|
+
#endif /* _INFTREES_H */
|
@@ -0,0 +1,86 @@
|
|
1
|
+
/* inflate_util.c -- data and routines common to blocks and codes
|
2
|
+
* Copyright (C) 1995-2002 Mark Adler
|
3
|
+
* For conditions of distribution and use, see copyright notice in zlib.h
|
4
|
+
*/
|
5
|
+
|
6
|
+
#include "zutil.h"
|
7
|
+
#include "infblock.h"
|
8
|
+
#include "inftrees.h"
|
9
|
+
#include "infcodes.h"
|
10
|
+
#include "infutil.h"
|
11
|
+
|
12
|
+
|
13
|
+
/* And'ing with mask[n] masks the lower n bits */
|
14
|
+
local const uInt inflate_mask[17] = {
|
15
|
+
0x0000,
|
16
|
+
0x0001, 0x0003, 0x0007, 0x000f, 0x001f, 0x003f, 0x007f, 0x00ff,
|
17
|
+
0x01ff, 0x03ff, 0x07ff, 0x0fff, 0x1fff, 0x3fff, 0x7fff, 0xffff
|
18
|
+
};
|
19
|
+
|
20
|
+
|
21
|
+
/* copy as much as possible from the sliding window to the output area */
|
22
|
+
local int inflate_flush( /* s, z, r) */
|
23
|
+
inflate_blocks_statef *s,
|
24
|
+
z_streamp z,
|
25
|
+
int r )
|
26
|
+
{
|
27
|
+
uInt n;
|
28
|
+
Bytef *p;
|
29
|
+
Bytef *q;
|
30
|
+
|
31
|
+
/* local copies of source and destination pointers */
|
32
|
+
p = z->next_out;
|
33
|
+
q = s->read;
|
34
|
+
|
35
|
+
/* compute number of bytes to copy as far as end of window */
|
36
|
+
n = (uInt)((q <= s->write ? s->write : s->end) - q);
|
37
|
+
if (n > z->avail_out) n = z->avail_out;
|
38
|
+
if (n && r == Z_BUF_ERROR) r = Z_OK;
|
39
|
+
|
40
|
+
/* update counters */
|
41
|
+
z->avail_out -= n;
|
42
|
+
z->total_out += n;
|
43
|
+
|
44
|
+
/* update check information */
|
45
|
+
if (s->checkfn != Z_NULL)
|
46
|
+
z->adler = s->check = (*s->checkfn)(s->check, q, n);
|
47
|
+
|
48
|
+
/* copy as far as end of window */
|
49
|
+
zmemcpy(p, q, n);
|
50
|
+
p += n;
|
51
|
+
q += n;
|
52
|
+
|
53
|
+
/* see if more to copy at beginning of window */
|
54
|
+
if (q == s->end)
|
55
|
+
{
|
56
|
+
/* wrap pointers */
|
57
|
+
q = s->window;
|
58
|
+
if (s->write == s->end)
|
59
|
+
s->write = s->window;
|
60
|
+
|
61
|
+
/* compute bytes to copy */
|
62
|
+
n = (uInt)(s->write - q);
|
63
|
+
if (n > z->avail_out) n = z->avail_out;
|
64
|
+
if (n && r == Z_BUF_ERROR) r = Z_OK;
|
65
|
+
|
66
|
+
/* update counters */
|
67
|
+
z->avail_out -= n;
|
68
|
+
z->total_out += n;
|
69
|
+
|
70
|
+
/* update check information */
|
71
|
+
if (s->checkfn != Z_NULL)
|
72
|
+
z->adler = s->check = (*s->checkfn)(s->check, q, n);
|
73
|
+
|
74
|
+
/* copy */
|
75
|
+
zmemcpy(p, q, n);
|
76
|
+
p += n;
|
77
|
+
q += n;
|
78
|
+
}
|
79
|
+
|
80
|
+
/* update pointers */
|
81
|
+
z->next_out = p;
|
82
|
+
s->read = q;
|
83
|
+
|
84
|
+
/* done */
|
85
|
+
return r;
|
86
|
+
}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
/* infutil.h -- types and macros common to blocks and codes
|
2
|
+
* Copyright (C) 1995-2002 Mark Adler
|
3
|
+
* For conditions of distribution and use, see copyright notice in zlib.h
|
4
|
+
*/
|
5
|
+
|
6
|
+
/* WARNING: this file should *not* be used by applications. It is
|
7
|
+
part of the implementation of the compression library and is
|
8
|
+
subject to change. Applications should only use zlib.h.
|
9
|
+
*/
|
10
|
+
|
11
|
+
#ifndef _INFUTIL_H
|
12
|
+
#define _INFUTIL_H
|
13
|
+
|
14
|
+
typedef enum {
|
15
|
+
TYPE, /* get type bits (3, including end bit) */
|
16
|
+
LENS, /* get lengths for stored */
|
17
|
+
STORED, /* processing stored block */
|
18
|
+
TABLE, /* get table lengths */
|
19
|
+
BTREE, /* get bit lengths tree for a dynamic block */
|
20
|
+
DTREE, /* get length, distance trees for a dynamic block */
|
21
|
+
CODES, /* processing fixed or dynamic block */
|
22
|
+
DRY, /* output remaining window bytes */
|
23
|
+
DONE, /* finished last block, done */
|
24
|
+
BAD} /* got a data error--stuck here */
|
25
|
+
inflate_block_mode;
|
26
|
+
|
27
|
+
/* inflate blocks semi-private state */
|
28
|
+
struct inflate_blocks_state {
|
29
|
+
|
30
|
+
/* mode */
|
31
|
+
inflate_block_mode mode; /* current inflate_block mode */
|
32
|
+
|
33
|
+
/* mode dependent information */
|
34
|
+
union {
|
35
|
+
uInt left; /* if STORED, bytes left to copy */
|
36
|
+
struct {
|
37
|
+
uInt table; /* table lengths (14 bits) */
|
38
|
+
uInt index; /* index into blens (or border) */
|
39
|
+
uIntf *blens; /* bit lengths of codes */
|
40
|
+
uInt bb; /* bit length tree depth */
|
41
|
+
inflate_huft *tb; /* bit length decoding tree */
|
42
|
+
} trees; /* if DTREE, decoding info for trees */
|
43
|
+
struct {
|
44
|
+
inflate_codes_statef
|
45
|
+
*codes;
|
46
|
+
} decode; /* if CODES, current state */
|
47
|
+
} sub; /* submode */
|
48
|
+
uInt last; /* true if this block is the last block */
|
49
|
+
|
50
|
+
/* mode independent information */
|
51
|
+
uInt bitk; /* bits in bit buffer */
|
52
|
+
uLong bitb; /* bit buffer */
|
53
|
+
inflate_huft *hufts; /* single malloc for tree space */
|
54
|
+
Bytef *window; /* sliding window */
|
55
|
+
Bytef *end; /* one byte after sliding window */
|
56
|
+
Bytef *read; /* window read pointer */
|
57
|
+
Bytef *write; /* window write pointer */
|
58
|
+
check_func checkfn; /* check function */
|
59
|
+
uLong check; /* check on output */
|
60
|
+
|
61
|
+
};
|
62
|
+
|
63
|
+
|
64
|
+
/* defines for inflate input/output */
|
65
|
+
/* update pointers and return */
|
66
|
+
#define UPDBITS {s->bitb=b;s->bitk=k;}
|
67
|
+
#define UPDIN {z->avail_in=n;z->total_in+=p-z->next_in;z->next_in=p;}
|
68
|
+
#define UPDOUT {s->write=q;}
|
69
|
+
#define UPDATE {UPDBITS UPDIN UPDOUT}
|
70
|
+
#define LEAVE {UPDATE return inflate_flush(s,z,r);}
|
71
|
+
/* get bytes and bits */
|
72
|
+
#define LOADIN {p=z->next_in;n=z->avail_in;b=s->bitb;k=s->bitk;}
|
73
|
+
#define NEEDBYTE {if(n)r=Z_OK;else LEAVE}
|
74
|
+
#define NEXTBYTE (n--,*p++)
|
75
|
+
#define NEEDBITS(j) {while(k<(j)){NEEDBYTE;b|=((uLong)NEXTBYTE)<<k;k+=8;}}
|
76
|
+
#define DUMPBITS(j) {b>>=(j);k-=(j);}
|
77
|
+
/* output bytes */
|
78
|
+
#define WAVAIL (uInt)(q<s->read?s->read-q-1:s->end-q)
|
79
|
+
#define LOADOUT {q=s->write;m=(uInt)WAVAIL;}
|
80
|
+
#define WRAP {if(q==s->end&&s->read!=s->window){q=s->window;m=(uInt)WAVAIL;}}
|
81
|
+
#define FLUSH {UPDOUT r=inflate_flush(s,z,r); LOADOUT}
|
82
|
+
#define NEEDOUT {if(m==0){WRAP if(m==0){FLUSH WRAP if(m==0) LEAVE}}r=Z_OK;}
|
83
|
+
#define OUTBYTE(a) {*q++=(Byte)(a);m--;}
|
84
|
+
/* load local pointers */
|
85
|
+
#define LOAD {LOADIN LOADOUT}
|
86
|
+
|
87
|
+
/* masks for lower bits (size given to avoid silly warnings with Visual C++) */
|
88
|
+
#ifndef NO_INFLATE_MASK
|
89
|
+
local uInt inflate_mask[17];
|
90
|
+
#endif
|
91
|
+
|
92
|
+
/* copy as much as possible from the sliding window to the output area */
|
93
|
+
local int inflate_flush OF((
|
94
|
+
inflate_blocks_statef *,
|
95
|
+
z_streamp ,
|
96
|
+
int));
|
97
|
+
|
98
|
+
#endif
|
@@ -0,0 +1,83 @@
|
|
1
|
+
#
|
2
|
+
# FreeType 2 GZip support configuration rules
|
3
|
+
#
|
4
|
+
|
5
|
+
|
6
|
+
# Copyright 2002-2018 by
|
7
|
+
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
8
|
+
#
|
9
|
+
# This file is part of the FreeType project, and may only be used, modified,
|
10
|
+
# and distributed under the terms of the FreeType project license,
|
11
|
+
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
12
|
+
# indicate that you have read the license and understand and accept it
|
13
|
+
# fully.
|
14
|
+
|
15
|
+
|
16
|
+
# gzip driver directory
|
17
|
+
#
|
18
|
+
GZIP_DIR := $(SRC_DIR)/gzip
|
19
|
+
|
20
|
+
|
21
|
+
# compilation flags for the driver
|
22
|
+
#
|
23
|
+
ifeq ($(SYSTEM_ZLIB),)
|
24
|
+
GZIP_COMPILE := $(CC) $(ANSIFLAGS) \
|
25
|
+
$I$(subst /,$(COMPILER_SEP),$(GZIP_DIR)) \
|
26
|
+
$(INCLUDE_FLAGS) \
|
27
|
+
$(FT_CFLAGS)
|
28
|
+
else
|
29
|
+
GZIP_COMPILE := $(CC) $(ANSIFLAGS) \
|
30
|
+
$(INCLUDE_FLAGS) \
|
31
|
+
$(FT_CFLAGS)
|
32
|
+
endif
|
33
|
+
|
34
|
+
|
35
|
+
# gzip support sources
|
36
|
+
#
|
37
|
+
# All source and header files get loaded by `ftgzip.c' only if SYSTEM_ZLIB
|
38
|
+
# is not defined (regardless whether we have a `single' or a `multi' build).
|
39
|
+
# However, it doesn't harm if we add everything as a dependency
|
40
|
+
# unconditionally.
|
41
|
+
#
|
42
|
+
GZIP_DRV_SRCS := $(GZIP_DIR)/adler32.c \
|
43
|
+
$(GZIP_DIR)/ftzconf.h \
|
44
|
+
$(GZIP_DIR)/infblock.c \
|
45
|
+
$(GZIP_DIR)/infblock.h \
|
46
|
+
$(GZIP_DIR)/infcodes.c \
|
47
|
+
$(GZIP_DIR)/infcodes.h \
|
48
|
+
$(GZIP_DIR)/inffixed.h \
|
49
|
+
$(GZIP_DIR)/inflate.c \
|
50
|
+
$(GZIP_DIR)/inftrees.c \
|
51
|
+
$(GZIP_DIR)/inftrees.h \
|
52
|
+
$(GZIP_DIR)/infutil.c \
|
53
|
+
$(GZIP_DIR)/infutil.h \
|
54
|
+
$(GZIP_DIR)/zlib.h \
|
55
|
+
$(GZIP_DIR)/zutil.c \
|
56
|
+
$(GZIP_DIR)/zutil.h
|
57
|
+
|
58
|
+
|
59
|
+
# gzip driver object(s)
|
60
|
+
#
|
61
|
+
# GZIP_DRV_OBJ is used during both `single' and `multi' builds
|
62
|
+
#
|
63
|
+
GZIP_DRV_OBJ := $(OBJ_DIR)/ftgzip.$O
|
64
|
+
|
65
|
+
|
66
|
+
# gzip main source file
|
67
|
+
#
|
68
|
+
GZIP_DRV_SRC := $(GZIP_DIR)/ftgzip.c
|
69
|
+
|
70
|
+
|
71
|
+
# gzip support - object
|
72
|
+
#
|
73
|
+
$(GZIP_DRV_OBJ): $(GZIP_DRV_SRC) $(GZIP_DRV_SRCS) $(FREETYPE_H)
|
74
|
+
$(GZIP_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(GZIP_DRV_SRC))
|
75
|
+
|
76
|
+
|
77
|
+
# update main driver object lists
|
78
|
+
#
|
79
|
+
DRV_OBJS_S += $(GZIP_DRV_OBJ)
|
80
|
+
DRV_OBJS_M += $(GZIP_DRV_OBJ)
|
81
|
+
|
82
|
+
|
83
|
+
# EOF
|
@@ -0,0 +1,830 @@
|
|
1
|
+
/* zlib.h -- interface of the 'zlib' general purpose compression library
|
2
|
+
version 1.1.4, March 11th, 2002
|
3
|
+
|
4
|
+
Copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler
|
5
|
+
|
6
|
+
This software is provided 'as-is', without any express or implied
|
7
|
+
warranty. In no event will the authors be held liable for any damages
|
8
|
+
arising from the use of this software.
|
9
|
+
|
10
|
+
Permission is granted to anyone to use this software for any purpose,
|
11
|
+
including commercial applications, and to alter it and redistribute it
|
12
|
+
freely, subject to the following restrictions:
|
13
|
+
|
14
|
+
1. The origin of this software must not be misrepresented; you must not
|
15
|
+
claim that you wrote the original software. If you use this software
|
16
|
+
in a product, an acknowledgment in the product documentation would be
|
17
|
+
appreciated but is not required.
|
18
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
19
|
+
misrepresented as being the original software.
|
20
|
+
3. This notice may not be removed or altered from any source distribution.
|
21
|
+
|
22
|
+
Jean-loup Gailly Mark Adler
|
23
|
+
jloup@gzip.org madler@alumni.caltech.edu
|
24
|
+
|
25
|
+
|
26
|
+
The data format used by the zlib library is described by RFCs (Request for
|
27
|
+
Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt
|
28
|
+
(zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
|
29
|
+
*/
|
30
|
+
|
31
|
+
#ifndef _ZLIB_H
|
32
|
+
#define _ZLIB_H
|
33
|
+
|
34
|
+
#include "ftzconf.h"
|
35
|
+
|
36
|
+
#ifdef __cplusplus
|
37
|
+
extern "C" {
|
38
|
+
#endif
|
39
|
+
|
40
|
+
#define ZLIB_VERSION "1.1.4"
|
41
|
+
|
42
|
+
/*
|
43
|
+
The 'zlib' compression library provides in-memory compression and
|
44
|
+
decompression functions, including integrity checks of the uncompressed
|
45
|
+
data. This version of the library supports only one compression method
|
46
|
+
(deflation) but other algorithms will be added later and will have the same
|
47
|
+
stream interface.
|
48
|
+
|
49
|
+
Compression can be done in a single step if the buffers are large
|
50
|
+
enough (for example if an input file is mmap'ed), or can be done by
|
51
|
+
repeated calls of the compression function. In the latter case, the
|
52
|
+
application must provide more input and/or consume the output
|
53
|
+
(providing more output space) before each call.
|
54
|
+
|
55
|
+
The library also supports reading and writing files in gzip (.gz) format
|
56
|
+
with an interface similar to that of stdio.
|
57
|
+
|
58
|
+
The library does not install any signal handler. The decoder checks
|
59
|
+
the consistency of the compressed data, so the library should never
|
60
|
+
crash even in case of corrupted input.
|
61
|
+
*/
|
62
|
+
|
63
|
+
typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
|
64
|
+
typedef void (*free_func) OF((voidpf opaque, voidpf address));
|
65
|
+
|
66
|
+
struct internal_state;
|
67
|
+
|
68
|
+
typedef struct z_stream_s {
|
69
|
+
Bytef *next_in; /* next input byte */
|
70
|
+
uInt avail_in; /* number of bytes available at next_in */
|
71
|
+
uLong total_in; /* total nb of input bytes read so far */
|
72
|
+
|
73
|
+
Bytef *next_out; /* next output byte should be put there */
|
74
|
+
uInt avail_out; /* remaining free space at next_out */
|
75
|
+
uLong total_out; /* total nb of bytes output so far */
|
76
|
+
|
77
|
+
char *msg; /* last error message, NULL if no error */
|
78
|
+
struct internal_state FAR *state; /* not visible by applications */
|
79
|
+
|
80
|
+
alloc_func zalloc; /* used to allocate the internal state */
|
81
|
+
free_func zfree; /* used to free the internal state */
|
82
|
+
voidpf opaque; /* private data object passed to zalloc and zfree */
|
83
|
+
|
84
|
+
int data_type; /* best guess about the data type: ascii or binary */
|
85
|
+
uLong adler; /* adler32 value of the uncompressed data */
|
86
|
+
uLong reserved; /* reserved for future use */
|
87
|
+
} z_stream;
|
88
|
+
|
89
|
+
typedef z_stream FAR *z_streamp;
|
90
|
+
|
91
|
+
/*
|
92
|
+
The application must update next_in and avail_in when avail_in has
|
93
|
+
dropped to zero. It must update next_out and avail_out when avail_out
|
94
|
+
has dropped to zero. The application must initialize zalloc, zfree and
|
95
|
+
opaque before calling the init function. All other fields are set by the
|
96
|
+
compression library and must not be updated by the application.
|
97
|
+
|
98
|
+
The opaque value provided by the application will be passed as the first
|
99
|
+
parameter for calls of zalloc and zfree. This can be useful for custom
|
100
|
+
memory management. The compression library attaches no meaning to the
|
101
|
+
opaque value.
|
102
|
+
|
103
|
+
zalloc must return Z_NULL if there is not enough memory for the object.
|
104
|
+
If zlib is used in a multi-threaded application, zalloc and zfree must be
|
105
|
+
thread safe.
|
106
|
+
|
107
|
+
On 16-bit systems, the functions zalloc and zfree must be able to allocate
|
108
|
+
exactly 65536 bytes, but will not be required to allocate more than this
|
109
|
+
if the symbol MAXSEG_64K is defined (see zconf.h). WARNING: On MSDOS,
|
110
|
+
pointers returned by zalloc for objects of exactly 65536 bytes *must*
|
111
|
+
have their offset normalized to zero. The default allocation function
|
112
|
+
provided by this library ensures this (see zutil.c). To reduce memory
|
113
|
+
requirements and avoid any allocation of 64K objects, at the expense of
|
114
|
+
compression ratio, compile the library with -DMAX_WBITS=14 (see zconf.h).
|
115
|
+
|
116
|
+
The fields total_in and total_out can be used for statistics or
|
117
|
+
progress reports. After compression, total_in holds the total size of
|
118
|
+
the uncompressed data and may be saved for use in the decompressor
|
119
|
+
(particularly if the decompressor wants to decompress everything in
|
120
|
+
a single step).
|
121
|
+
*/
|
122
|
+
|
123
|
+
/* constants */
|
124
|
+
|
125
|
+
#define Z_NO_FLUSH 0
|
126
|
+
#define Z_PARTIAL_FLUSH 1 /* will be removed, use Z_SYNC_FLUSH instead */
|
127
|
+
#define Z_SYNC_FLUSH 2
|
128
|
+
#define Z_FULL_FLUSH 3
|
129
|
+
#define Z_FINISH 4
|
130
|
+
/* Allowed flush values; see deflate() below for details */
|
131
|
+
|
132
|
+
#define Z_OK 0
|
133
|
+
#define Z_STREAM_END 1
|
134
|
+
#define Z_NEED_DICT 2
|
135
|
+
#define Z_ERRNO (-1)
|
136
|
+
#define Z_STREAM_ERROR (-2)
|
137
|
+
#define Z_DATA_ERROR (-3)
|
138
|
+
#define Z_MEM_ERROR (-4)
|
139
|
+
#define Z_BUF_ERROR (-5)
|
140
|
+
#define Z_VERSION_ERROR (-6)
|
141
|
+
/* Return codes for the compression/decompression functions. Negative
|
142
|
+
* values are errors, positive values are used for special but normal events.
|
143
|
+
*/
|
144
|
+
|
145
|
+
#define Z_NO_COMPRESSION 0
|
146
|
+
#define Z_BEST_SPEED 1
|
147
|
+
#define Z_BEST_COMPRESSION 9
|
148
|
+
#define Z_DEFAULT_COMPRESSION (-1)
|
149
|
+
/* compression levels */
|
150
|
+
|
151
|
+
#define Z_FILTERED 1
|
152
|
+
#define Z_HUFFMAN_ONLY 2
|
153
|
+
#define Z_DEFAULT_STRATEGY 0
|
154
|
+
/* compression strategy; see deflateInit2() below for details */
|
155
|
+
|
156
|
+
#define Z_BINARY 0
|
157
|
+
#define Z_ASCII 1
|
158
|
+
#define Z_UNKNOWN 2
|
159
|
+
/* Possible values of the data_type field */
|
160
|
+
|
161
|
+
#define Z_DEFLATED 8
|
162
|
+
/* The deflate compression method (the only one supported in this version) */
|
163
|
+
|
164
|
+
#define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
|
165
|
+
|
166
|
+
|
167
|
+
/* basic functions */
|
168
|
+
|
169
|
+
/* The application can compare zlibVersion and ZLIB_VERSION for consistency.
|
170
|
+
If the first character differs, the library code actually used is
|
171
|
+
not compatible with the zlib.h header file used by the application.
|
172
|
+
This check is automatically made by deflateInit and inflateInit.
|
173
|
+
*/
|
174
|
+
|
175
|
+
/*
|
176
|
+
ZEXTERN(int) deflateInit OF((z_streamp strm, int level));
|
177
|
+
|
178
|
+
Initializes the internal stream state for compression. The fields
|
179
|
+
zalloc, zfree and opaque must be initialized before by the caller.
|
180
|
+
If zalloc and zfree are set to Z_NULL, deflateInit updates them to
|
181
|
+
use default allocation functions.
|
182
|
+
|
183
|
+
The compression level must be Z_DEFAULT_COMPRESSION, or between 0 and 9:
|
184
|
+
1 gives best speed, 9 gives best compression, 0 gives no compression at
|
185
|
+
all (the input data is simply copied a block at a time).
|
186
|
+
Z_DEFAULT_COMPRESSION requests a default compromise between speed and
|
187
|
+
compression (currently equivalent to level 6).
|
188
|
+
|
189
|
+
deflateInit returns Z_OK if success, Z_MEM_ERROR if there was not
|
190
|
+
enough memory, Z_STREAM_ERROR if level is not a valid compression level,
|
191
|
+
Z_VERSION_ERROR if the zlib library version (zlib_version) is incompatible
|
192
|
+
with the version assumed by the caller (ZLIB_VERSION).
|
193
|
+
msg is set to null if there is no error message. deflateInit does not
|
194
|
+
perform any compression: this will be done by deflate().
|
195
|
+
*/
|
196
|
+
|
197
|
+
|
198
|
+
/*
|
199
|
+
deflate compresses as much data as possible, and stops when the input
|
200
|
+
buffer becomes empty or the output buffer becomes full. It may introduce some
|
201
|
+
output latency (reading input without producing any output) except when
|
202
|
+
forced to flush.
|
203
|
+
|
204
|
+
The detailed semantics are as follows. deflate performs one or both of the
|
205
|
+
following actions:
|
206
|
+
|
207
|
+
- Compress more input starting at next_in and update next_in and avail_in
|
208
|
+
accordingly. If not all input can be processed (because there is not
|
209
|
+
enough room in the output buffer), next_in and avail_in are updated and
|
210
|
+
processing will resume at this point for the next call of deflate().
|
211
|
+
|
212
|
+
- Provide more output starting at next_out and update next_out and avail_out
|
213
|
+
accordingly. This action is forced if the parameter flush is non zero.
|
214
|
+
Forcing flush frequently degrades the compression ratio, so this parameter
|
215
|
+
should be set only when necessary (in interactive applications).
|
216
|
+
Some output may be provided even if flush is not set.
|
217
|
+
|
218
|
+
Before the call of deflate(), the application should ensure that at least
|
219
|
+
one of the actions is possible, by providing more input and/or consuming
|
220
|
+
more output, and updating avail_in or avail_out accordingly; avail_out
|
221
|
+
should never be zero before the call. The application can consume the
|
222
|
+
compressed output when it wants, for example when the output buffer is full
|
223
|
+
(avail_out == 0), or after each call of deflate(). If deflate returns Z_OK
|
224
|
+
and with zero avail_out, it must be called again after making room in the
|
225
|
+
output buffer because there might be more output pending.
|
226
|
+
|
227
|
+
If the parameter flush is set to Z_SYNC_FLUSH, all pending output is
|
228
|
+
flushed to the output buffer and the output is aligned on a byte boundary, so
|
229
|
+
that the decompressor can get all input data available so far. (In particular
|
230
|
+
avail_in is zero after the call if enough output space has been provided
|
231
|
+
before the call.) Flushing may degrade compression for some compression
|
232
|
+
algorithms and so it should be used only when necessary.
|
233
|
+
|
234
|
+
If flush is set to Z_FULL_FLUSH, all output is flushed as with
|
235
|
+
Z_SYNC_FLUSH, and the compression state is reset so that decompression can
|
236
|
+
restart from this point if previous compressed data has been damaged or if
|
237
|
+
random access is desired. Using Z_FULL_FLUSH too often can seriously degrade
|
238
|
+
the compression.
|
239
|
+
|
240
|
+
If deflate returns with avail_out == 0, this function must be called again
|
241
|
+
with the same value of the flush parameter and more output space (updated
|
242
|
+
avail_out), until the flush is complete (deflate returns with non-zero
|
243
|
+
avail_out).
|
244
|
+
|
245
|
+
If the parameter flush is set to Z_FINISH, pending input is processed,
|
246
|
+
pending output is flushed and deflate returns with Z_STREAM_END if there
|
247
|
+
was enough output space; if deflate returns with Z_OK, this function must be
|
248
|
+
called again with Z_FINISH and more output space (updated avail_out) but no
|
249
|
+
more input data, until it returns with Z_STREAM_END or an error. After
|
250
|
+
deflate has returned Z_STREAM_END, the only possible operations on the
|
251
|
+
stream are deflateReset or deflateEnd.
|
252
|
+
|
253
|
+
Z_FINISH can be used immediately after deflateInit if all the compression
|
254
|
+
is to be done in a single step. In this case, avail_out must be at least
|
255
|
+
0.1% larger than avail_in plus 12 bytes. If deflate does not return
|
256
|
+
Z_STREAM_END, then it must be called again as described above.
|
257
|
+
|
258
|
+
deflate() sets strm->adler to the adler32 checksum of all input read
|
259
|
+
so far (that is, total_in bytes).
|
260
|
+
|
261
|
+
deflate() may update data_type if it can make a good guess about
|
262
|
+
the input data type (Z_ASCII or Z_BINARY). In doubt, the data is considered
|
263
|
+
binary. This field is only for information purposes and does not affect
|
264
|
+
the compression algorithm in any manner.
|
265
|
+
|
266
|
+
deflate() returns Z_OK if some progress has been made (more input
|
267
|
+
processed or more output produced), Z_STREAM_END if all input has been
|
268
|
+
consumed and all output has been produced (only when flush is set to
|
269
|
+
Z_FINISH), Z_STREAM_ERROR if the stream state was inconsistent (for example
|
270
|
+
if next_in or next_out was NULL), Z_BUF_ERROR if no progress is possible
|
271
|
+
(for example avail_in or avail_out was zero).
|
272
|
+
*/
|
273
|
+
|
274
|
+
|
275
|
+
/*
|
276
|
+
All dynamically allocated data structures for this stream are freed.
|
277
|
+
This function discards any unprocessed input and does not flush any
|
278
|
+
pending output.
|
279
|
+
|
280
|
+
deflateEnd returns Z_OK if success, Z_STREAM_ERROR if the
|
281
|
+
stream state was inconsistent, Z_DATA_ERROR if the stream was freed
|
282
|
+
prematurely (some input or output was discarded). In the error case,
|
283
|
+
msg may be set but then points to a static string (which must not be
|
284
|
+
deallocated).
|
285
|
+
*/
|
286
|
+
|
287
|
+
|
288
|
+
/*
|
289
|
+
ZEXTERN(int) inflateInit OF((z_streamp strm));
|
290
|
+
|
291
|
+
Initializes the internal stream state for decompression. The fields
|
292
|
+
next_in, avail_in, zalloc, zfree and opaque must be initialized before by
|
293
|
+
the caller. If next_in is not Z_NULL and avail_in is large enough (the exact
|
294
|
+
value depends on the compression method), inflateInit determines the
|
295
|
+
compression method from the zlib header and allocates all data structures
|
296
|
+
accordingly; otherwise the allocation will be deferred to the first call of
|
297
|
+
inflate. If zalloc and zfree are set to Z_NULL, inflateInit updates them to
|
298
|
+
use default allocation functions.
|
299
|
+
|
300
|
+
inflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
|
301
|
+
memory, Z_VERSION_ERROR if the zlib library version is incompatible with the
|
302
|
+
version assumed by the caller. msg is set to null if there is no error
|
303
|
+
message. inflateInit does not perform any decompression apart from reading
|
304
|
+
the zlib header if present: this will be done by inflate(). (So next_in and
|
305
|
+
avail_in may be modified, but next_out and avail_out are unchanged.)
|
306
|
+
*/
|
307
|
+
|
308
|
+
|
309
|
+
ZEXTERN(int) inflate OF((z_streamp strm, int flush));
|
310
|
+
/*
|
311
|
+
inflate decompresses as much data as possible, and stops when the input
|
312
|
+
buffer becomes empty or the output buffer becomes full. It may some
|
313
|
+
introduce some output latency (reading input without producing any output)
|
314
|
+
except when forced to flush.
|
315
|
+
|
316
|
+
The detailed semantics are as follows. inflate performs one or both of the
|
317
|
+
following actions:
|
318
|
+
|
319
|
+
- Decompress more input starting at next_in and update next_in and avail_in
|
320
|
+
accordingly. If not all input can be processed (because there is not
|
321
|
+
enough room in the output buffer), next_in is updated and processing
|
322
|
+
will resume at this point for the next call of inflate().
|
323
|
+
|
324
|
+
- Provide more output starting at next_out and update next_out and avail_out
|
325
|
+
accordingly. inflate() provides as much output as possible, until there
|
326
|
+
is no more input data or no more space in the output buffer (see below
|
327
|
+
about the flush parameter).
|
328
|
+
|
329
|
+
Before the call of inflate(), the application should ensure that at least
|
330
|
+
one of the actions is possible, by providing more input and/or consuming
|
331
|
+
more output, and updating the next_* and avail_* values accordingly.
|
332
|
+
The application can consume the uncompressed output when it wants, for
|
333
|
+
example when the output buffer is full (avail_out == 0), or after each
|
334
|
+
call of inflate(). If inflate returns Z_OK and with zero avail_out, it
|
335
|
+
must be called again after making room in the output buffer because there
|
336
|
+
might be more output pending.
|
337
|
+
|
338
|
+
If the parameter flush is set to Z_SYNC_FLUSH, inflate flushes as much
|
339
|
+
output as possible to the output buffer. The flushing behavior of inflate is
|
340
|
+
not specified for values of the flush parameter other than Z_SYNC_FLUSH
|
341
|
+
and Z_FINISH, but the current implementation actually flushes as much output
|
342
|
+
as possible anyway.
|
343
|
+
|
344
|
+
inflate() should normally be called until it returns Z_STREAM_END or an
|
345
|
+
error. However if all decompression is to be performed in a single step
|
346
|
+
(a single call of inflate), the parameter flush should be set to
|
347
|
+
Z_FINISH. In this case all pending input is processed and all pending
|
348
|
+
output is flushed; avail_out must be large enough to hold all the
|
349
|
+
uncompressed data. (The size of the uncompressed data may have been saved
|
350
|
+
by the compressor for this purpose.) The next operation on this stream must
|
351
|
+
be inflateEnd to deallocate the decompression state. The use of Z_FINISH
|
352
|
+
is never required, but can be used to inform inflate that a faster routine
|
353
|
+
may be used for the single inflate() call.
|
354
|
+
|
355
|
+
If a preset dictionary is needed at this point (see inflateSetDictionary
|
356
|
+
below), inflate sets strm-adler to the adler32 checksum of the
|
357
|
+
dictionary chosen by the compressor and returns Z_NEED_DICT; otherwise
|
358
|
+
it sets strm->adler to the adler32 checksum of all output produced
|
359
|
+
so far (that is, total_out bytes) and returns Z_OK, Z_STREAM_END or
|
360
|
+
an error code as described below. At the end of the stream, inflate()
|
361
|
+
checks that its computed adler32 checksum is equal to that saved by the
|
362
|
+
compressor and returns Z_STREAM_END only if the checksum is correct.
|
363
|
+
|
364
|
+
inflate() returns Z_OK if some progress has been made (more input processed
|
365
|
+
or more output produced), Z_STREAM_END if the end of the compressed data has
|
366
|
+
been reached and all uncompressed output has been produced, Z_NEED_DICT if a
|
367
|
+
preset dictionary is needed at this point, Z_DATA_ERROR if the input data was
|
368
|
+
corrupted (input stream not conforming to the zlib format or incorrect
|
369
|
+
adler32 checksum), Z_STREAM_ERROR if the stream structure was inconsistent
|
370
|
+
(for example if next_in or next_out was NULL), Z_MEM_ERROR if there was not
|
371
|
+
enough memory, Z_BUF_ERROR if no progress is possible or if there was not
|
372
|
+
enough room in the output buffer when Z_FINISH is used. In the Z_DATA_ERROR
|
373
|
+
case, the application may then call inflateSync to look for a good
|
374
|
+
compression block.
|
375
|
+
*/
|
376
|
+
|
377
|
+
|
378
|
+
ZEXTERN(int) inflateEnd OF((z_streamp strm));
|
379
|
+
/*
|
380
|
+
All dynamically allocated data structures for this stream are freed.
|
381
|
+
This function discards any unprocessed input and does not flush any
|
382
|
+
pending output.
|
383
|
+
|
384
|
+
inflateEnd returns Z_OK if success, Z_STREAM_ERROR if the stream state
|
385
|
+
was inconsistent. In the error case, msg may be set but then points to a
|
386
|
+
static string (which must not be deallocated).
|
387
|
+
*/
|
388
|
+
|
389
|
+
/* Advanced functions */
|
390
|
+
|
391
|
+
/*
|
392
|
+
The following functions are needed only in some special applications.
|
393
|
+
*/
|
394
|
+
|
395
|
+
/*
|
396
|
+
ZEXTERN(int) deflateInit2 OF((z_streamp strm,
|
397
|
+
int level,
|
398
|
+
int method,
|
399
|
+
int windowBits,
|
400
|
+
int memLevel,
|
401
|
+
int strategy));
|
402
|
+
|
403
|
+
This is another version of deflateInit with more compression options. The
|
404
|
+
fields next_in, zalloc, zfree and opaque must be initialized before by
|
405
|
+
the caller.
|
406
|
+
|
407
|
+
The method parameter is the compression method. It must be Z_DEFLATED in
|
408
|
+
this version of the library.
|
409
|
+
|
410
|
+
The windowBits parameter is the base two logarithm of the window size
|
411
|
+
(the size of the history buffer). It should be in the range 8..15 for this
|
412
|
+
version of the library. Larger values of this parameter result in better
|
413
|
+
compression at the expense of memory usage. The default value is 15 if
|
414
|
+
deflateInit is used instead.
|
415
|
+
|
416
|
+
The memLevel parameter specifies how much memory should be allocated
|
417
|
+
for the internal compression state. memLevel=1 uses minimum memory but
|
418
|
+
is slow and reduces compression ratio; memLevel=9 uses maximum memory
|
419
|
+
for optimal speed. The default value is 8. See zconf.h for total memory
|
420
|
+
usage as a function of windowBits and memLevel.
|
421
|
+
|
422
|
+
The strategy parameter is used to tune the compression algorithm. Use the
|
423
|
+
value Z_DEFAULT_STRATEGY for normal data, Z_FILTERED for data produced by a
|
424
|
+
filter (or predictor), or Z_HUFFMAN_ONLY to force Huffman encoding only (no
|
425
|
+
string match). Filtered data consists mostly of small values with a
|
426
|
+
somewhat random distribution. In this case, the compression algorithm is
|
427
|
+
tuned to compress them better. The effect of Z_FILTERED is to force more
|
428
|
+
Huffman coding and less string matching; it is somewhat intermediate
|
429
|
+
between Z_DEFAULT and Z_HUFFMAN_ONLY. The strategy parameter only affects
|
430
|
+
the compression ratio but not the correctness of the compressed output even
|
431
|
+
if it is not set appropriately.
|
432
|
+
|
433
|
+
deflateInit2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
|
434
|
+
memory, Z_STREAM_ERROR if a parameter is invalid (such as an invalid
|
435
|
+
method). msg is set to null if there is no error message. deflateInit2 does
|
436
|
+
not perform any compression: this will be done by deflate().
|
437
|
+
*/
|
438
|
+
|
439
|
+
/*
|
440
|
+
Initializes the compression dictionary from the given byte sequence
|
441
|
+
without producing any compressed output. This function must be called
|
442
|
+
immediately after deflateInit, deflateInit2 or deflateReset, before any
|
443
|
+
call of deflate. The compressor and decompressor must use exactly the same
|
444
|
+
dictionary (see inflateSetDictionary).
|
445
|
+
|
446
|
+
The dictionary should consist of strings (byte sequences) that are likely
|
447
|
+
to be encountered later in the data to be compressed, with the most commonly
|
448
|
+
used strings preferably put towards the end of the dictionary. Using a
|
449
|
+
dictionary is most useful when the data to be compressed is short and can be
|
450
|
+
predicted with good accuracy; the data can then be compressed better than
|
451
|
+
with the default empty dictionary.
|
452
|
+
|
453
|
+
Depending on the size of the compression data structures selected by
|
454
|
+
deflateInit or deflateInit2, a part of the dictionary may in effect be
|
455
|
+
discarded, for example if the dictionary is larger than the window size in
|
456
|
+
deflate or deflate2. Thus the strings most likely to be useful should be
|
457
|
+
put at the end of the dictionary, not at the front.
|
458
|
+
|
459
|
+
Upon return of this function, strm->adler is set to the Adler32 value
|
460
|
+
of the dictionary; the decompressor may later use this value to determine
|
461
|
+
which dictionary has been used by the compressor. (The Adler32 value
|
462
|
+
applies to the whole dictionary even if only a subset of the dictionary is
|
463
|
+
actually used by the compressor.)
|
464
|
+
|
465
|
+
deflateSetDictionary returns Z_OK if success, or Z_STREAM_ERROR if a
|
466
|
+
parameter is invalid (such as NULL dictionary) or the stream state is
|
467
|
+
inconsistent (for example if deflate has already been called for this stream
|
468
|
+
or if the compression method is bsort). deflateSetDictionary does not
|
469
|
+
perform any compression: this will be done by deflate().
|
470
|
+
*/
|
471
|
+
|
472
|
+
/*
|
473
|
+
Sets the destination stream as a complete copy of the source stream.
|
474
|
+
|
475
|
+
This function can be useful when several compression strategies will be
|
476
|
+
tried, for example when there are several ways of pre-processing the input
|
477
|
+
data with a filter. The streams that will be discarded should then be freed
|
478
|
+
by calling deflateEnd. Note that deflateCopy duplicates the internal
|
479
|
+
compression state which can be quite large, so this strategy is slow and
|
480
|
+
can consume lots of memory.
|
481
|
+
|
482
|
+
deflateCopy returns Z_OK if success, Z_MEM_ERROR if there was not
|
483
|
+
enough memory, Z_STREAM_ERROR if the source stream state was inconsistent
|
484
|
+
(such as zalloc being NULL). msg is left unchanged in both source and
|
485
|
+
destination.
|
486
|
+
*/
|
487
|
+
|
488
|
+
/*
|
489
|
+
This function is equivalent to deflateEnd followed by deflateInit,
|
490
|
+
but does not free and reallocate all the internal compression state.
|
491
|
+
The stream will keep the same compression level and any other attributes
|
492
|
+
that may have been set by deflateInit2.
|
493
|
+
|
494
|
+
deflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
|
495
|
+
stream state was inconsistent (such as zalloc or state being NULL).
|
496
|
+
*/
|
497
|
+
|
498
|
+
/*
|
499
|
+
Dynamically update the compression level and compression strategy. The
|
500
|
+
interpretation of level and strategy is as in deflateInit2. This can be
|
501
|
+
used to switch between compression and straight copy of the input data, or
|
502
|
+
to switch to a different kind of input data requiring a different
|
503
|
+
strategy. If the compression level is changed, the input available so far
|
504
|
+
is compressed with the old level (and may be flushed); the new level will
|
505
|
+
take effect only at the next call of deflate().
|
506
|
+
|
507
|
+
Before the call of deflateParams, the stream state must be set as for
|
508
|
+
a call of deflate(), since the currently available input may have to
|
509
|
+
be compressed and flushed. In particular, strm->avail_out must be non-zero.
|
510
|
+
|
511
|
+
deflateParams returns Z_OK if success, Z_STREAM_ERROR if the source
|
512
|
+
stream state was inconsistent or if a parameter was invalid, Z_BUF_ERROR
|
513
|
+
if strm->avail_out was zero.
|
514
|
+
*/
|
515
|
+
|
516
|
+
/*
|
517
|
+
ZEXTERN(int) inflateInit2 OF((z_streamp strm,
|
518
|
+
int windowBits));
|
519
|
+
|
520
|
+
This is another version of inflateInit with an extra parameter. The
|
521
|
+
fields next_in, avail_in, zalloc, zfree and opaque must be initialized
|
522
|
+
before by the caller.
|
523
|
+
|
524
|
+
The windowBits parameter is the base two logarithm of the maximum window
|
525
|
+
size (the size of the history buffer). It should be in the range 8..15 for
|
526
|
+
this version of the library. The default value is 15 if inflateInit is used
|
527
|
+
instead. If a compressed stream with a larger window size is given as
|
528
|
+
input, inflate() will return with the error code Z_DATA_ERROR instead of
|
529
|
+
trying to allocate a larger window.
|
530
|
+
|
531
|
+
inflateInit2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
|
532
|
+
memory, Z_STREAM_ERROR if a parameter is invalid (such as a negative
|
533
|
+
memLevel). msg is set to null if there is no error message. inflateInit2
|
534
|
+
does not perform any decompression apart from reading the zlib header if
|
535
|
+
present: this will be done by inflate(). (So next_in and avail_in may be
|
536
|
+
modified, but next_out and avail_out are unchanged.)
|
537
|
+
*/
|
538
|
+
|
539
|
+
/*
|
540
|
+
Initializes the decompression dictionary from the given uncompressed byte
|
541
|
+
sequence. This function must be called immediately after a call of inflate
|
542
|
+
if this call returned Z_NEED_DICT. The dictionary chosen by the compressor
|
543
|
+
can be determined from the Adler32 value returned by this call of
|
544
|
+
inflate. The compressor and decompressor must use exactly the same
|
545
|
+
dictionary (see deflateSetDictionary).
|
546
|
+
|
547
|
+
inflateSetDictionary returns Z_OK if success, Z_STREAM_ERROR if a
|
548
|
+
parameter is invalid (such as NULL dictionary) or the stream state is
|
549
|
+
inconsistent, Z_DATA_ERROR if the given dictionary doesn't match the
|
550
|
+
expected one (incorrect Adler32 value). inflateSetDictionary does not
|
551
|
+
perform any decompression: this will be done by subsequent calls of
|
552
|
+
inflate().
|
553
|
+
*/
|
554
|
+
|
555
|
+
/*
|
556
|
+
Skips invalid compressed data until a full flush point (see above the
|
557
|
+
description of deflate with Z_FULL_FLUSH) can be found, or until all
|
558
|
+
available input is skipped. No output is provided.
|
559
|
+
|
560
|
+
inflateSync returns Z_OK if a full flush point has been found, Z_BUF_ERROR
|
561
|
+
if no more input was provided, Z_DATA_ERROR if no flush point has been found,
|
562
|
+
or Z_STREAM_ERROR if the stream structure was inconsistent. In the success
|
563
|
+
case, the application may save the current value of total_in which
|
564
|
+
indicates where valid compressed data was found. In the error case, the
|
565
|
+
application may repeatedly call inflateSync, providing more input each time,
|
566
|
+
until success or end of the input data.
|
567
|
+
*/
|
568
|
+
|
569
|
+
ZEXTERN(int) inflateReset OF((z_streamp strm));
|
570
|
+
/*
|
571
|
+
This function is equivalent to inflateEnd followed by inflateInit,
|
572
|
+
but does not free and reallocate all the internal decompression state.
|
573
|
+
The stream will keep attributes that may have been set by inflateInit2.
|
574
|
+
|
575
|
+
inflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
|
576
|
+
stream state was inconsistent (such as zalloc or state being NULL).
|
577
|
+
*/
|
578
|
+
|
579
|
+
|
580
|
+
/* utility functions */
|
581
|
+
|
582
|
+
/*
|
583
|
+
The following utility functions are implemented on top of the
|
584
|
+
basic stream-oriented functions. To simplify the interface, some
|
585
|
+
default options are assumed (compression level and memory usage,
|
586
|
+
standard memory allocation functions). The source code of these
|
587
|
+
utility functions can easily be modified if you need special options.
|
588
|
+
*/
|
589
|
+
|
590
|
+
/*
|
591
|
+
Compresses the source buffer into the destination buffer. sourceLen is
|
592
|
+
the byte length of the source buffer. Upon entry, destLen is the total
|
593
|
+
size of the destination buffer, which must be at least 0.1% larger than
|
594
|
+
sourceLen plus 12 bytes. Upon exit, destLen is the actual size of the
|
595
|
+
compressed buffer.
|
596
|
+
This function can be used to compress a whole file at once if the
|
597
|
+
input file is mmap'ed.
|
598
|
+
compress returns Z_OK if success, Z_MEM_ERROR if there was not
|
599
|
+
enough memory, Z_BUF_ERROR if there was not enough room in the output
|
600
|
+
buffer.
|
601
|
+
*/
|
602
|
+
|
603
|
+
/*
|
604
|
+
Compresses the source buffer into the destination buffer. The level
|
605
|
+
parameter has the same meaning as in deflateInit. sourceLen is the byte
|
606
|
+
length of the source buffer. Upon entry, destLen is the total size of the
|
607
|
+
destination buffer, which must be at least 0.1% larger than sourceLen plus
|
608
|
+
12 bytes. Upon exit, destLen is the actual size of the compressed buffer.
|
609
|
+
|
610
|
+
compress2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
|
611
|
+
memory, Z_BUF_ERROR if there was not enough room in the output buffer,
|
612
|
+
Z_STREAM_ERROR if the level parameter is invalid.
|
613
|
+
*/
|
614
|
+
|
615
|
+
/*
|
616
|
+
Decompresses the source buffer into the destination buffer. sourceLen is
|
617
|
+
the byte length of the source buffer. Upon entry, destLen is the total
|
618
|
+
size of the destination buffer, which must be large enough to hold the
|
619
|
+
entire uncompressed data. (The size of the uncompressed data must have
|
620
|
+
been saved previously by the compressor and transmitted to the decompressor
|
621
|
+
by some mechanism outside the scope of this compression library.)
|
622
|
+
Upon exit, destLen is the actual size of the compressed buffer.
|
623
|
+
This function can be used to decompress a whole file at once if the
|
624
|
+
input file is mmap'ed.
|
625
|
+
|
626
|
+
uncompress returns Z_OK if success, Z_MEM_ERROR if there was not
|
627
|
+
enough memory, Z_BUF_ERROR if there was not enough room in the output
|
628
|
+
buffer, or Z_DATA_ERROR if the input data was corrupted.
|
629
|
+
*/
|
630
|
+
|
631
|
+
|
632
|
+
/*
|
633
|
+
Opens a gzip (.gz) file for reading or writing. The mode parameter
|
634
|
+
is as in fopen ("rb" or "wb") but can also include a compression level
|
635
|
+
("wb9") or a strategy: 'f' for filtered data as in "wb6f", 'h' for
|
636
|
+
Huffman only compression as in "wb1h". (See the description
|
637
|
+
of deflateInit2 for more information about the strategy parameter.)
|
638
|
+
|
639
|
+
gzopen can be used to read a file which is not in gzip format; in this
|
640
|
+
case gzread will directly read from the file without decompression.
|
641
|
+
|
642
|
+
gzopen returns NULL if the file could not be opened or if there was
|
643
|
+
insufficient memory to allocate the (de)compression state; errno
|
644
|
+
can be checked to distinguish the two cases (if errno is zero, the
|
645
|
+
zlib error is Z_MEM_ERROR). */
|
646
|
+
|
647
|
+
/*
|
648
|
+
gzdopen() associates a gzFile with the file descriptor fd. File
|
649
|
+
descriptors are obtained from calls like open, dup, creat, pipe or
|
650
|
+
fileno (in the file has been previously opened with fopen).
|
651
|
+
The mode parameter is as in gzopen.
|
652
|
+
The next call of gzclose on the returned gzFile will also close the
|
653
|
+
file descriptor fd, just like fclose(fdopen(fd), mode) closes the file
|
654
|
+
descriptor fd. If you want to keep fd open, use gzdopen(dup(fd), mode).
|
655
|
+
gzdopen returns NULL if there was insufficient memory to allocate
|
656
|
+
the (de)compression state.
|
657
|
+
*/
|
658
|
+
|
659
|
+
/*
|
660
|
+
Dynamically update the compression level or strategy. See the description
|
661
|
+
of deflateInit2 for the meaning of these parameters.
|
662
|
+
gzsetparams returns Z_OK if success, or Z_STREAM_ERROR if the file was not
|
663
|
+
opened for writing.
|
664
|
+
*/
|
665
|
+
|
666
|
+
/*
|
667
|
+
Reads the given number of uncompressed bytes from the compressed file.
|
668
|
+
If the input file was not in gzip format, gzread copies the given number
|
669
|
+
of bytes into the buffer.
|
670
|
+
gzread returns the number of uncompressed bytes actually read (0 for
|
671
|
+
end of file, -1 for error). */
|
672
|
+
|
673
|
+
/*
|
674
|
+
Writes the given number of uncompressed bytes into the compressed file.
|
675
|
+
gzwrite returns the number of uncompressed bytes actually written
|
676
|
+
(0 in case of error).
|
677
|
+
*/
|
678
|
+
|
679
|
+
/*
|
680
|
+
Converts, formats, and writes the args to the compressed file under
|
681
|
+
control of the format string, as in fprintf. gzprintf returns the number of
|
682
|
+
uncompressed bytes actually written (0 in case of error).
|
683
|
+
*/
|
684
|
+
|
685
|
+
/*
|
686
|
+
Writes the given null-terminated string to the compressed file, excluding
|
687
|
+
the terminating null character.
|
688
|
+
gzputs returns the number of characters written, or -1 in case of error.
|
689
|
+
*/
|
690
|
+
|
691
|
+
/*
|
692
|
+
Reads bytes from the compressed file until len-1 characters are read, or
|
693
|
+
a newline character is read and transferred to buf, or an end-of-file
|
694
|
+
condition is encountered. The string is then terminated with a null
|
695
|
+
character.
|
696
|
+
gzgets returns buf, or Z_NULL in case of error.
|
697
|
+
*/
|
698
|
+
|
699
|
+
/*
|
700
|
+
Writes c, converted to an unsigned char, into the compressed file.
|
701
|
+
gzputc returns the value that was written, or -1 in case of error.
|
702
|
+
*/
|
703
|
+
|
704
|
+
/*
|
705
|
+
Reads one byte from the compressed file. gzgetc returns this byte
|
706
|
+
or -1 in case of end of file or error.
|
707
|
+
*/
|
708
|
+
|
709
|
+
/*
|
710
|
+
Flushes all pending output into the compressed file. The parameter
|
711
|
+
flush is as in the deflate() function. The return value is the zlib
|
712
|
+
error number (see function gzerror below). gzflush returns Z_OK if
|
713
|
+
the flush parameter is Z_FINISH and all output could be flushed.
|
714
|
+
gzflush should be called only when strictly necessary because it can
|
715
|
+
degrade compression.
|
716
|
+
*/
|
717
|
+
|
718
|
+
/*
|
719
|
+
Sets the starting position for the next gzread or gzwrite on the
|
720
|
+
given compressed file. The offset represents a number of bytes in the
|
721
|
+
uncompressed data stream. The whence parameter is defined as in lseek(2);
|
722
|
+
the value SEEK_END is not supported.
|
723
|
+
If the file is opened for reading, this function is emulated but can be
|
724
|
+
extremely slow. If the file is opened for writing, only forward seeks are
|
725
|
+
supported; gzseek then compresses a sequence of zeroes up to the new
|
726
|
+
starting position.
|
727
|
+
|
728
|
+
gzseek returns the resulting offset location as measured in bytes from
|
729
|
+
the beginning of the uncompressed stream, or -1 in case of error, in
|
730
|
+
particular if the file is opened for writing and the new starting position
|
731
|
+
would be before the current position.
|
732
|
+
*/
|
733
|
+
|
734
|
+
/*
|
735
|
+
Rewinds the given file. This function is supported only for reading.
|
736
|
+
|
737
|
+
gzrewind(file) is equivalent to (int)gzseek(file, 0L, SEEK_SET)
|
738
|
+
*/
|
739
|
+
|
740
|
+
/*
|
741
|
+
Returns the starting position for the next gzread or gzwrite on the
|
742
|
+
given compressed file. This position represents a number of bytes in the
|
743
|
+
uncompressed data stream.
|
744
|
+
|
745
|
+
gztell(file) is equivalent to gzseek(file, 0L, SEEK_CUR)
|
746
|
+
*/
|
747
|
+
|
748
|
+
/*
|
749
|
+
Returns 1 when EOF has previously been detected reading the given
|
750
|
+
input stream, otherwise zero.
|
751
|
+
*/
|
752
|
+
|
753
|
+
/*
|
754
|
+
Flushes all pending output if necessary, closes the compressed file
|
755
|
+
and deallocates all the (de)compression state. The return value is the zlib
|
756
|
+
error number (see function gzerror below).
|
757
|
+
*/
|
758
|
+
|
759
|
+
/*
|
760
|
+
Returns the error message for the last error which occurred on the
|
761
|
+
given compressed file. errnum is set to zlib error number. If an
|
762
|
+
error occurred in the file system and not in the compression library,
|
763
|
+
errnum is set to Z_ERRNO and the application may consult errno
|
764
|
+
to get the exact error code.
|
765
|
+
*/
|
766
|
+
|
767
|
+
/* checksum functions */
|
768
|
+
|
769
|
+
/*
|
770
|
+
These functions are not related to compression but are exported
|
771
|
+
anyway because they might be useful in applications using the
|
772
|
+
compression library.
|
773
|
+
*/
|
774
|
+
|
775
|
+
ZEXTERN(uLong) adler32 OF((uLong adler, const Bytef *buf, uInt len));
|
776
|
+
|
777
|
+
/*
|
778
|
+
Update a running Adler-32 checksum with the bytes buf[0..len-1] and
|
779
|
+
return the updated checksum. If buf is NULL, this function returns
|
780
|
+
the required initial value for the checksum.
|
781
|
+
An Adler-32 checksum is almost as reliable as a CRC32 but can be computed
|
782
|
+
much faster. Usage example:
|
783
|
+
|
784
|
+
uLong adler = adler32(0L, Z_NULL, 0);
|
785
|
+
|
786
|
+
while (read_buffer(buffer, length) != EOF) {
|
787
|
+
adler = adler32(adler, buffer, length);
|
788
|
+
}
|
789
|
+
if (adler != original_adler) error();
|
790
|
+
*/
|
791
|
+
|
792
|
+
/*
|
793
|
+
Update a running crc with the bytes buf[0..len-1] and return the updated
|
794
|
+
crc. If buf is NULL, this function returns the required initial value
|
795
|
+
for the crc. Pre- and post-conditioning (one's complement) is performed
|
796
|
+
within this function so it shouldn't be done by the application.
|
797
|
+
Usage example:
|
798
|
+
|
799
|
+
uLong crc = crc32(0L, Z_NULL, 0);
|
800
|
+
|
801
|
+
while (read_buffer(buffer, length) != EOF) {
|
802
|
+
crc = crc32(crc, buffer, length);
|
803
|
+
}
|
804
|
+
if (crc != original_crc) error();
|
805
|
+
*/
|
806
|
+
|
807
|
+
|
808
|
+
/* various hacks, don't look :) */
|
809
|
+
|
810
|
+
/* deflateInit and inflateInit are macros to allow checking the zlib version
|
811
|
+
* and the compiler's view of z_stream:
|
812
|
+
*/
|
813
|
+
ZEXTERN(int) inflateInit2_ OF((z_streamp strm, int windowBits,
|
814
|
+
const char *version, int stream_size));
|
815
|
+
#define deflateInit(strm, level) \
|
816
|
+
deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
|
817
|
+
#define inflateInit(strm) \
|
818
|
+
inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
|
819
|
+
#define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
|
820
|
+
deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
|
821
|
+
(strategy), ZLIB_VERSION, sizeof(z_stream))
|
822
|
+
#define inflateInit2(strm, windowBits) \
|
823
|
+
inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
|
824
|
+
|
825
|
+
|
826
|
+
#ifdef __cplusplus
|
827
|
+
}
|
828
|
+
#endif
|
829
|
+
|
830
|
+
#endif /* _ZLIB_H */
|