karmilla
                                
                                 karmilla copied to clipboard
                                
                                    karmilla copied to clipboard
                            
                            
                            
                        UFO export
Hello.
I’m wondering what would be the workflow for working with UFO? I was thinking about it for another project, and now I’m seeing this thread here.
- Alice makes modifications with Fontforge. She saves in sfd(orsfdir, see #21), exports anufocopy, exports the font file, generates the webfonts. Commit and pull request.
- Bob opens the ufoand makes modifications with Robofont. He saves theufo, exports the font files, generates the webfonts. Commit and pull request. Note: Thesfdis out of date!
- Camille, who uses Fontforge, wants to join. Either they opens the ufoand there should not be any problem (a new, updatedsfdis saved), or they opens the outdatedsfdand Bob’s edits are lost!
Having two source files seems tricky, but maybe there’s a way? Moving from sfd to all-UFO could be the way to go, but I believe there’s no way to use Fontforge as a native opening-editing-saving UFO application? Or sfd could just be temporary local work files for Fontforge users but not uploaded on Git.
Yes, all-UFO is the most appropriate process imo.
Also, we should consider to keep the last version only on the repo, and solve https://github.com/ms-studio/karmilla/issues/7
Ok! Then let's move the src to UFO, and we can remove the sfd files by adding that extension to the .gitignore.
:+1:
I started making the changes on my local copy, but I’m getting weird glyphs alterations when converting to UFO from Fontforge:

I will try with different options. We have to be extra careful and double check if nothing breaks in this conversion! We are also loosing the horizontal guides apparently, even with the ‘Save guides’ option on.
Can’t seem to make it work. What is happening is not some control points being scattered but actual points being added:

I wonder if it’s a Fontforge bug or a Karmilla issue (or both). We always get these warnings about our coordinates not being integers: maybe some decimal points values are interpreted as multiples points once converted to UFO?
For reference, here’s the SFD’s .glyph and the UFO’s .glif for that lowercase ‘e’:
- https://gist.github.com/nclm/e85bcb2c4f9c4c638782
Trying to read them to get what is happening…
cc @frank-trampe