convert font woff to ttf

i got the woff2sfnt source to compile for windows 10 x64 with the following steps cobbled together from other references (i.e. i'm not claiming any original thought here)
  • the mozilla source host appears to be dead, found it here: https://github.com/wget/sfnt2woff... extracted all that to a working folder
  • used http://tdm-gcc.tdragon.net/ as a friendly gcc compiler stack installer
  • added #include <fcntl.h> at the top of woff2sfnt.c under #ifdef WIN32, in addition to io.h already there
  • downloaded the zlib source from http://www.zlib.net/ and copied all its root .c and .h files into my working folder
  • my gcc command line: gcc -o woff2sfnt.exe woff2sfnt.c woff.c compress.c uncompr.c deflate.c inflate.c adler32.c inffast.c crc32.c trees.c zutil.c inftrees.c
i realize this is all very brute force, for i'm a mere C# programmer with the soft underbelly afforded by modern tools, uninitiated with doing gcc the right way.
Link: https://drive.google.com/open?id=1y-AuUWKgPJ9pRwlFH5n-K0AvORrsqDjh

Popular posts from this blog

Map asp.net webform to OWIN path