Use |toUnicode| when creating the glyph map for standard CIDFontType2 fonts without embedded font file
Merge pull request #5352 from Snuffleupagus/issue-2840

Use |toUnicode| when creating the glyph map for standard CIDFontType2 fonts without embedded font file