Tal Leming
Tal Leming
Could you show the code in `copy to layer.py` or just the lines around where the traceback is triggered? It looks like something is trying to set the left margin...
> So what is a "move" segment, then? I _think_ these only appear on open contours these days. This decision was made 17 years ago, so I'm not 100% sure...
They are just different models. If this was 17 years ago, we could consider changing it but a lot of stuff depends on the existing behavior. (No joke, I literally...
Likewise, internally sometimes the default layer is represented with `None` and other times it is represented with `"public.default"`. This needs to be consistent.
Similarly, each environment may have it's own default layer name and our tests need to be able to access this.
I did some digging and this is needed. See the `_setContourInPoint` method of BaseContour. Are you running into a situation in which that assertion is being raised?
We may as well add `group=False/True`, `kerning=False/True`, `glyphOrder=False/True` and anywhere else outside of `*.lib` and `*.data` glyphs can be mentioned.
@gferreira Oh, wow. So, almost all of the code is written! @mrecord Good idea. There should be something like `components=False|"decompose"|"remove"` with `False` as the default and that indicates "do nothing...
This is related to #247.
The specific code that you are referencing is [here](https://github.com/robofab-developers/fontParts/blob/master/Lib/fontParts/base/glyph.py#L1862). Rather than asking a vague question and expecting us to do all of the research, please explain how this _should_ work...