summaryrefslogtreecommitdiff
path: root/scripts/hexdump.c
AgeCommit message (Collapse)Author
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.