On 2014-02-24 2:41 PM, Brendan Dahl wrote:
> There are 168 files with an average size of ~40KB, and all of the files 
> together are roughly:
> 6.9M
> 2.2M when gzipped

IIRC mupdf was able to save significant space by pre-parsing the files.
Their code for that is GPL (and oriented toward compiling-in the tables
as C code) but it might be worth a look.

  http://git.ghostscript.com/?p=mupdf.git;a=blob;f=scripts/cmapdump.c

4.2M    resources/cmaps/
1008K   build/debug/pdf/pdf-cmap-table.o

 -r
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to