Tal Leming
Tal Leming
An API like this would work: ```python font.data[fileName] = blob blob = font.data[fileName] ``` defcon has this implemented, it just needs to be wrapped by fontParts.
> It checks explicitly if the object is a BaseAnchor: Aha, I see. Are you using any of the functions from `fontParts.base.normalizers`? I'm guessing not since those also reference the...
Yeah, disable that for now and hopefully it'll give you better results. The normalizers are used by the base classes to ensure that consistent value types are passed to the...
> How would the changed() method tie into this? It could be deprecated in favor of something more robust like `makeAnnouncement(name="changed", details=None)`. I wonder if `changed()` is even needed now....
Other announcements that should be implemented: **Font** - name = "will close", details = None - name = "closed", details = None - name = "will generate", details = format...
Note after running into this idea again: It would be good if `addSubscriber` could take some details about what events the caller would _like_ to be notified of. For example,...
Also, let's bundle the idea of subscription with the idea of grouping changes similar to the way RoboFont has `object.holdChanges()`. Something like `with object.changeGroup()` seems fontParts-y.
This is a great idea! (It might be good to replace #217 with this.)
Yeah. I don't think we ever added that functionality to RoboFab and this code came [straight from there](https://github.com/robofab-developers/robofab/blob/master/Lib/robofab/objects/objectsBase.py#L2071). If you want to add it, feel free. It might get kind...
I feel like I had some reason why I didn't use the proxy model on this. I'm pretty sure I sketched out an implementation early on. (Maybe I even committed...