Clean up XDG support · Issue #991 · fontforge/fontforge

Checklist of things I think should be done, and will do if @holomorph doesn't:

  • Remove now-superfluous getPfaEditDir() function
  • Make auto-save and any similar directories invoke getFontForgeUserDir() with appropriate argument values
  • Figure out whether there's a memory leak and if so, fix it (most likely by caching results)
  • Make indentation match existing code
  • At least a few code comments
  • Namespace pollution issues
  • Think about whether varargs may be a portability problem
  • Think about backward compatibility
  • Directory creation

Not something I plan to do, but someone should:

  • User-visible documentation of where FontForge will put its files