Avoiding double draw() calls
Use a more compact typed array to pass the image mask from the worker to the main thread.
Fixes type3 glyph compilation for bitpacked mask
Merge pull request #4122 from yurydelendik/bug878397

Use a more compact typed array to pass the image mask from the worker
Merge pull request #4081 from yurydelendik/doubledraw

Avoiding double draw() calls