summaryrefslogtreecommitdiff
path: root/scripts/hexdump.c
AgeCommit message (Collapse)Author
2018-08-10Tweak hexdumped data to increase build portability.Tor Andersson
Follow bin2coff layout for hexdumped data instead of trying to emulate the objcopy layout (which seems to break for the android tools). Only use the basename of the resource in hexdump / bin2coff. Ifdef on HAVE_OBJCOPY instead of _WIN32.
2018-04-25Use objcopy to compile font resources.Tor Andersson
2017-06-22Use unsigned char arrays in hexdumped data.Tor Andersson
2017-06-22Add '-s' option to hexdump script to dump arrays using string literals.Tor Andersson
If the compiler supports string literals long enough, this will speed up compilation and reduce compiler memory use by a lot. Enough so that we don't need to use the .incbin asm directive. Gcc and Clang both support long string literals, so use the '-s' option for generated font files by default in the Makefile.
2017-05-08Make sure source text in pdf-js-util.js is zero terminated.Tor Andersson
When using .incbin, we forgot to zero-terminate. Add a -0 option to the hexdump script.
2017-03-21Replace fontdump, bin2hex and cquote with one tool: hexdump.Tor Andersson
Still need specialty tools for namedump and cmapdump.