Open davelab6 opened 3 years ago
Also how do I get some example .ufo files ? I was just curious about this project and searching the web didn't show much about where you can get some (free?) .ufo font files.
Try babelfont to convert any font in nearly any format into a UFO. FontForge and many other font editors can also do this conversion. There are also plenty of open source fonts that use UFO sources, for example Raleway and some of the others from @theleagueof.
Do note that Runebender currently will not play nicely with UFOs created in other editors. It currently refuses to save them for fear of overwriting some bit of them it didn't understand. You can only save fonts that were created in Runebender. Try Baby Shark for an existing open source project with UFOs created in Runebender so they are easier to play with.
Try Baby Shark for an existing open source project with UFOs created in Runebender so they are easier to play with.
How do I open this with runebender ? There is no .ufo file inside, or do I have to convert it ?
UFOs are not files, they are directories. On some platforms such as macOS they can appear as "packages" where the finder presents the entire directory as an object, but Linux for example doesn't support this.
Runebender expects the path to the UFO directory as the first argument. For example if testing out Runebender from a Git clone of this project, you can compile and run it like this (using your path to the Baby Shark projct).
$ cargo run -- ~/projects/github/baby-shark/sources/BabyShark-Regular.ufo
Note that on Linux at least the File→Open selection dialog box is broken and you can't select UFOs. See #108 for the relevant bug tracking issue.
Ah ok, I know there is a folder-selection dialog in windows, but currently that isn't shown, only the "file selection" dialog for .ufo files.
Oops, had a comment in here from a few days ago that didn't get posted: in any case: good notes dave, happy to have new eyes on things. A lot of the stuff you touch on is definitely important, and it's nice to see it enumerated.
On the file opening: good to be reminded of this, I've definitely been principally been working on macOS the last half-year or so.
@davelab6 The magenta fill color thing is fixed in this PR, note how easy this is with the theme system! People can make PRs like this without touching any Rust code: https://github.com/linebender/runebender/pull/246/files
nice :)
Going over Zulip, I see @eliheuer mentioned wanting
a way to keep the off-curve points horizontal or vertical
I think this is useful for both regular and hyper beziers :)
I have a fresh macOS so went through this fresh, and played with it and took notes on things that occurred to me as I was playing for about 90 minutes... I'm sure many of these things are already known and on the roadmap, but hopefully that I noticed them can be helpful for prioritization :)
[ ] Better install docs.
brew install rust; mkdir -p ~/src/github.com/linebender; cd !$; git clone https://github.com/linebender/runebender.git; cd runebender; PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" cargo build; cargo run;
I think this should be stated in the README, just in case people from the type community who will be up for an adventure running stuff in Terminal, but don't know the pre-reqs implicitly, can get started.
This is what I saw:
?
glyph for all.?
can be improved, likely by using one from an existing font (like Inconsolata)H
andO
. Potentially this should be first in the table :)0
in the central slot under the glyph preview is unclear. Is that the advance width? There are no tooltips.+
button on the right edge of the tab bar or right of the rightmost tab, and a 'text' tool to enter new characters (like GlyphsApp), or a 'string input' (like FontForge), to fill that tab with glyphs.H
) I don't want to see the fill, but I do want the hand tool to be active when holding space.Untitled.ufo
but I expectFamily-Style.ufo
(so hereSample-Regular.ufo
)Then I go, App, Quit Runebender, then run it again, and File, Open, and it opens my UFO and I see my existing glyph data as expected :)
If run the app, and close the first glyph window, I get this INFO in console, and File, Open, no longer opens the Open dialog; and many of the pull down menu items are still active, although obviously inert.
[ ] If I run the app, open a glyph, draw something like a square, then go File, Open, the Font Info of the current (unsaved) font changes, but the glyph view does not update with the loaded glyph data. (If I Save, quit, run again, and open, I get the square, and my original has been lost.)
[ ] File, New, is inactive; I expect that to work.
[ ] There's no Help menu. The macOS Help, Search, Menu Items feature is slick... but macOS help eBook stuff is not great, I think its better to just have a link to a docs website, and a link to this issue tracker.