Fix loading of fonts with invalid encoding name entry (bug 859204 and 878112)
Merge pull request #4147 from Snuffleupagus/bug-859204

Fix loading of fonts with invalid encoding name entry (bug 859204 and 878112)