Merge pull request #2549 from mduan/issue2391

Skip commands that have too few arguments
Default to a built-in font if an invalid non-embedded font is encountered