Fixing issue with using GlyphIds in text operators

e.g Tj was using ArrayToGlyphsList which wasn't adding the Glyphs map to
the glyphList
Added test for this scenario