This is a patck from @spakin that is to address problems exporting glyphs to pdf.
Merge pull request #1364 from fontforge/spakin-fix-pdf-export

Fix export of glyphs to pdf