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
Import #35
Comments
|
Both OTF and TTF are imported in Trufont using extractor.extractUFO(file_path, self.main_font)I'm can't figure out what should be given in the path variable I tried this outside sugar and works just fine |
|
What is the full path of the TTF? |
|
|
|
@davelab6 the .ttf file is in the main activity folder together with the ufo files (which I can access with |
|
What is the error? https://github.com/sugarlabs/Flappy-Birds/blob/testing/scorescreen.py#L47 suggests it will work without |
|
This is working now, but only if the file_name is hardcoded. |
|
@YashAgarwal what is the status of this? |
|
@eliheuer in the same way that kidpix isn't photoshop, I wonder that perhaps we should not enable import and only allow editing UFOs (potentially even UFOs with a flag to show they are compatible with Edit Fonts activity...) |
|
Next action is to add a button to the welcome screen for 'import' that uses the Extractor python library to convert an OTF or TTF to a UFO |
|
Reopening to ensure we track answering the questions in #84 :) |
* removing the git submodules * import otf, tf is now working * creating welcome screen * # This is a combination of 2 commits. # The first commit's message is: completing the welcome page UI add user color to the icons Fixes #32 Fixes #35 Fixes #62 Fixes #82 add load, save, import, export buttons to the top bar add buttons for welcome, manager, summary and editor pages (but note that on the welcome page these wont be active sometimes Use a UFO of Geo with just 101 glyphs as the demo font Fixes #82 # The 2nd commit message will be skipped: # fixing some thing * resolving conflicts
* removing the git submodules * import otf, tf is now working * creating welcome screen * # This is a combination of 2 commits. # The first commit's message is: completing the welcome page UI add user color to the icons Fixes #32 Fixes #35 Fixes #62 Fixes #82 add load, save, import, export buttons to the top bar add buttons for welcome, manager, summary and editor pages (but note that on the welcome page these wont be active sometimes Use a UFO of Geo with just 101 glyphs as the demo font Fixes #82 # The 2nd commit message will be skipped: # fixing some thing * resolving conflicts
|
Reopening to confirm |

Let's start with OTF only for now
The text was updated successfully, but these errors were encountered: