Problems with exporting

I have some problems with exporting ((
When I exported font (OTF or TTF ) it looks like this:

That is not a bug. That is a problem with the path direction of your glyphs. From the Paths menu, run Correct Path Direction. Select all glyphs in Font view do do it for all at once.

Read this tutorial please:
Pay special attention to outline order and orientation.

Thank you!!!