Fix priority of which font encoding is used.
Handle server returning 200 for range request
Use only one temp canvas for patterns

This fixes a regression #3153 which was introduced by #2177.
The temp vanvases that are being created are not being re-used, which lead
to high memory use.
Merge branch 'master' into issue3156
Merge pull request #3075 from brendandahl/font-encoding

Fix priority of which font encoding is used.
Fixing pattern canvas transform for chrome
Merge pull request #3178 from yurydelendik/issue3156

Cherry-pick of #3157
Merge pull request #3179 from yurydelendik/pr-3171

Cont of #3171, Reusing pattern canvas fixes