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
Loading a font #33
Comments
|
loading the ufo is done using defcon self.main_path = "ufo/sample.ufo"
self.main_font = Font(self.main_path) for some ufo files this fails and gives the error saving a ufo file is also done through defcon self.main_font.save(file_name)but I'm getting the same error as above for all the ufo files I tried |
|
Using Object Chooser I am not able to see the files corresponding to the following mime types I have added all of them in my activity.info file and here's how I'm calling the Object Chooser dialog try:
chooser = ObjectChooser(
parent=self,
what_filter=self.get_bundle_id(),
filter_type=FILTER_TYPE_MIME_BY_ACTIVITY)
except:
chooser = ObjectChooser(parent=self,
what_filter=mime.GENERIC_TYPE_TEXT)I only see the above-mentioned file types if I select the Anything filter in the Object Chooser dialog |
|
I ran |
|
Can you set the dialog to open with 'Anything' preselected? If not, I guess the OS has a mime registry that lacks definitions for these mime types. Perhaps @quozl knows how OLPC OS mime types are defined, and can suggest how you might be able to get these added to the next release... Or, you could use Then with the file object returned by the |
I don't know the syntax for this, but I'll look for it
This sounds doable, I'll start with this then |
|
OLPC OS on Fedora 18 and also Ubuntu 16.04 lack any definition of;
Don't restrict your activity to a presumed future operating system release. Use a local MIME registry. This is to reside in You might select relevant lines from a later version of |
|
@YashAgarwal is the ufo zip format working for load and save? |
|
It work! |
The text was updated successfully, but these errors were encountered: