requires msys+mingw-w64(>= 4.8.0)+curl+git
- git sha1-revision:
65cb3326e30ef8a67eb1d4411ec563e91be6e9ae
- MinGW from win-builds (using their download-tool)---both x86 and x64 tool-sets were tested.
win-builds-i686-w64-mingw32-4.8.2
(32bit here) --- 4.8.0, 4.9.1, 4.9.2, posix-sjlj posix-dwarf/dw2 were tested. win32-threading models aren't supported by this patch.- if attempting to try some other tool-chain (via an installer) make sure
libgcc_s.a
is available to the compiler-system. If the library is missing, your binary will depend on some dlls, or the build might fail.
TODO: If you don't have msys+mingw-w64, and just want the quickest possible solution...
If you have MSYS with one of the compilers mentioned allread configured
- fulfill requirements: MSYS + MinGW-w64 + GIT
- Load up your bash shell
- you might want to place a command script in your MSYS directory and type:
msys.bat -mintty
(mintty is a much better terminal then windows command shell)
- you might want to place a command script in your MSYS directory and type:
- create and/or navigate to a desired build directory
- copy/paste and execute the following snipit
- this will create a sub-directory named
font-compression-tools
from git, patch and build. - binaries will be in the
font-compression-tools
directory.
- this will create a sub-directory named
curl -L https://gist.github.com/tfwio/83b2b499d5827f0d83bc/raw/0c0a037ce025c87bcbc379485e3417b795e1467f/get-woff2.sh -o get-woff2
get-woff2
# ^ additional LF
this script is nearly obsolete: working on another script that compiles more font tools here
# use at your own risk.
# this script is released to the public domain without restriction.
# the font-compression-reference project constitutes its own copyright
# and licensing information.