Forum Replies Created
-
AuthorPosts
-
thanks frederik and jens, good enough. cheers!
I exactly meant that, I want to remove the hinting data stored by vfb2ufo. I had some error when generating the fonts outside RoboFont. I’ve to check with Robofab lib (Nonelab).
Yes, that will work. Thanks!
Well, the thing is that I wanted to update in a vanilla popUpButton
AllFonts
when a font did close. If I do it withfontWillClose
the font is still there.
I just found it in the docs and seemed useful for what I wanted. I’ll find another approach then. ThanksAugust 13, 2013 at 14:59 in reply to: glyphColor and backgroundColor in MultiLineView or GlyphLineView? #5674Thanks Frederik, but no luck :)
I got thespaceCenterDraw
notification. I’ve been trying but I didn’t managed to get what I want.Do you mean draw each layer on top of the ‘foreground’ layer? Can I change the color of the glyph for each layer when drawing and have overlapping colors and that will be reflected in the spaceCenter? Do I need to do this in the spaceCenter?
I’d like to overlap glyph layers (or glyphs from different fonts) as in the Stacked Groups in a Line or MultiLineView (or groups in MM), being able to select color for each layer and background. I can access to glyphColor and backGround color in GlyphLineView but not in MultiLineView.Any further clue of objects to check/access? I’m a bit lost now.
Thanks — [actually brainboiled]
August 8, 2013 at 16:17 in reply to: how to access/create a dictionary mapping unicode values to glyphnames? #5666Probably this will work for you:
# -*- coding: utf-8 -*- from fontTools import agl txt = u"Àü" for c in txt: gname = agl.UV2AGL[ord(c)] uni = agl.AGL2UV[gname] print gname, uni
Probably there’s a better way of doing this, but at least, in the meantime, this works:
) sorry I don’t know how to format code properly in the forum :(from vanilla import * class checkboxWindow: def __init__(self): self.w = Window((400,400), 'SetOrganizer') for n in range(5): exec("self.w.checkBox%s = CheckBox((10, 10 + (25*n+1), -10, -10), 'Label', callback=self.checkBoxCallback, value=True)" % (n)) self.w.open() def checkBoxCallback(self, sender): print sender.get(), sender.getTitle() checkboxWindow()
Sounds a good idea, thanks : )
I’ve some slider making some transformations to f.selection, if I change the front font and the slider keeps transforming the previous font. So I need the slider to know which is the CurrentFont.
Using a Window works, I prefered the floating if it would be possible. Thanks.Still not working with the launcher code :(
Sorry for worst formatting ever.from mojo.UI import AccordionView from vanilla import * from storegroup import aGroup class launcher: def __init__(self): self.w = FloatingWindow((200, 600), title='accordionView') self.agroup = aGroup() descriptions = [ dict(label="aGroup", view=self.agroup, size=117, collapsed=False, canResize=False) ] self.w.accordionView = AccordionView((0, 0, -0, -0), descriptions) self.w.open() launcher()
BTW, is there a guide somewhere to correctly format in posts?
Ok, we’ll wait then. Other formats, as html itself would work too in the meantime.
Thanks!Thanks for the tip, Frederik.
That made everything smooth, as doing it outside RF, same performance, better access to dialogs : )
BTW, Is there any chance to get the RoboFont documentation for reading offline?Thanks Frederik, that was it.
BTW, is there any special recommendation for storing the RoboFont application in the Apps folder?
I currently have all my type related applications in a folder inside my home, called (now : ) “type_apps”
Better move the whole folder to the Apps folder. Doesn’t matter? Any inside trick?
Thanks!I don’t know why but the xml code disappears. So i attached a file.
I could reproduce the error in another glyph, so the ValueError for this glyph is:
File “/Users/joanca/type apps/RoboFont.app/Contents/Resources/lib/python2.7/defcon/tools/booleanOperations/flatten.py”, line 746, in reCurveSubSegments
ValueError: (44762500, 45687500) is not in listThanks
Attachments:
You must be logged in to view attached files.‘alt’ sounds great to me : )
Dank u -
AuthorPosts