Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UFO export #17

Open
raphaelbastide opened this issue Apr 16, 2014 · 9 comments
Open

UFO export #17

raphaelbastide opened this issue Apr 16, 2014 · 9 comments

Comments

@raphaelbastide
Copy link
Collaborator

Exporting source files as UFO will allow a cross-software compatibility.
Example here.

@nclm
Copy link
Collaborator

nclm commented May 3, 2015

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 (or sfdir, see Move source files from sfd to sfdir #21), exports an ufo copy, exports the font file, generates the webfonts. Commit and pull request.
  • Bob opens the ufo and makes modifications with Robofont. He saves the ufo, exports the font files, generates the webfonts. Commit and pull request. Note: The sfd is out of date!
  • Camille, who uses Fontforge, wants to join. Either they opens the ufo and there should not be any problem (a new, updated sfd is saved), or they opens the outdated sfd and 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.

@raphaelbastide
Copy link
Collaborator Author

Yes, all-UFO is the most appropriate process imo.

@raphaelbastide
Copy link
Collaborator Author

Also, we should consider to keep the last version only on the repo, and solve #7

@ms-studio
Copy link
Owner

Ok! Then let's move the src to UFO, and we can remove the sfd files by adding that extension to the .gitignore.

@davelab6
Copy link

davelab6 commented May 4, 2015

👍

@nclm
Copy link
Collaborator

nclm commented May 4, 2015

I started making the changes on my local copy, but I’m getting weird glyphs alterations when converting to UFO from Fontforge:

ufo-issues

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.

@nclm
Copy link
Collaborator

nclm commented May 4, 2015

Can’t seem to make it work. What is happening is not some control points being scattered but actual points being added:

ee

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?

@nclm
Copy link
Collaborator

nclm commented May 4, 2015

For reference, here’s the SFD’s .glyph and the UFO’s .glif for that lowercase ‘e’:

Trying to read them to get what is happening…

@davelab6
Copy link

davelab6 commented May 4, 2015

cc @frank-trampe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants