Refactors loadFont for translateFont be async; fixes type3 dup data
Merge pull request #4815 from yurydelendik/loadFont

Refactors loadFont for translateFont be async
Fixes regression in the cleanup
Merge pull request #4821 from yurydelendik/fix-loadfontregr

Fixes regression in the cleanup
Added Promise.catch
Fixed Promise so it rejects on uncaught exception
Catch possible rejection on ViewHistory.setMultiple
Merge pull request #4826 from dferer/localstorage-exceptions

Wrapped localstorage.setItem in try block to avoid uncaught exceptions.
small optimizations in parser.getObj(), lexer.getObj()
Adds some addon/mozcentral files to the preprocessor
Merge pull request #4831 from yurydelendik/ext-preprocessor

Adds some addon/mozcentral files to the preprocessor
Refactors showText: split type3, remove showSpacedText
Moves ColorSpace logic into evaluator
Moves shared/colorspace.js into core/
Moves shared/function.js to core/
Merge pull request #4824 from yurydelendik/movecs

Moves colorspace.js and function.js into core/
Merge pull request #4829 from fkaelberer/optimize_parser_getObj

small optimizations in parser.getObj(), lexer.getObj()
Fixing ca/metadata.inc file
merged with earlier commits
commit before pull
conclude merge
Simplify the interaction with overlays by adding an OverlayManager