Fontsizeandcodefix

Fix the text size if the isFont2 is true. Also fixes the embedded font's character codes, when they are not unique.
nit: remove extra space before `)`