Closed codingisacopingstrategy closed 12 years ago
Good point. I’m not yet up to speed how all this works so I’m not sure how to go about doing it.
I’ve brought this issue up on the fontforge-devel mailing list:
It’s up to the FontForge dev’s now, I hope they can implement this. I don’t know FontForge’s codebase well enough to write a patch… Anyone reading this is welcome to do so of course :)
This actually got implemented in the FontForge codebase:
Hurray! Another problem remains with FontForge output, but I will file a seperate bug for that.
To accept patches from FontForge users, the data needs to be formatted the same as the existing data—otherwise it becomes hard to track changes in the versioning system.
This is a Robofab generated font roundtripped through fontforge: http://schr.fr/tlkng/ufo-roundtrip.html There’s some more issues here but they should be addressed in separate tickets.
Robofab uses Python XML Sax which seems to work similar to Libxml2: as using Nokigiri on the ufo data works very well in maintaining the same pretty-print.
Here’s how Fontforge ideally should output the Glyph XML:
When the curve is unsmooth, this is default, so you don’t mention it:
hex value’s should be uppercase
outline components should be organised alphabetically: