Change the signature of `TranslatedFont`, and convert it to a proper class
Change the signature of `TranslatedFont`, and convert it to a proper class

In preparation for the next patch, this changes the signature of `TranslatedFont` to take an object rather than individual parameters. This also, in my opinion, makes the call-sites easier to read since it essentially provides a small bit of documentation of the arguments.

Finally, since it was necessary to touch `TranslatedFont` anyway it seemed like a good idea to also convert it to a proper `class`.

macroplant/pdf.js,nawawi/pdf.js,mozilla/pdf.js,showpad/mozilla-pdf.js,timvandermeij/pdf.js,xavier114fch/pdf.js,timvandermeij/pdf.js,mozilla/pdf.js,Snuffleupagus/pdf.js,macroplant/pdf.js,caremerge/pdf.js,showpad/mozilla-pdf.js,mozilla/pdf.js,caremerge/pdf.js,xavier114fch/pdf.js,timvandermeij/pdf.js,nawawi/pdf.js,nawawi/pdf.js,Shoobx/pdf.js,showpad/mozilla-pdf.js,macroplant/pdf.js,Snuffleupagus/pdf.js,Snuffleupagus/pdf.js,Shoobx/pdf.js,Shoobx/pdf.js