Tal Leming

Results 186 comments of Tal Leming

> Generally I don't like how BPoints can't distinguish between lines and curves that have their handles coincide with their end points. This implicit "a line is just a flat...

The description in the cookbook is what was common practice in fonts at the time. I can't recall 100%, but I think this was a workaround for an implementation issue...

Here's what I'm thinking of for bounds: ```python class Bounds(tuple): def _get_xMin(self): return self[0] def _get_xMax(self): return self[2] def _get_xCenter(self): return ((self[2] - self[0]) / 2) + self[0] def _get_yMin(self):...

I thought about a named tuple, but didn't think I could subclass it. Here's a new sketch: ```python import typing class Bounds(typing.NamedTuple): xMin: float yMin: float xMax: float yMax: float...

fontParts is mostly about making things easy for scripters, and I'm tired of doing bounds calculations so I see the need for this.

> What's the purpose then of the base.reference function and how would you prefer we annotate this? Hmmmm. This is a really good question. I'm hesitant to change it because...

Right, if the identifier hasn't been defined `None` is returned. If it has been defined, it is passed through the normalizer. We do this because if this property created an...

> I'm not doing much design work myself nowadays, but the library I've built, [SMufoLib](https://smufolib.readthedocs.io/en/latest/), extends the functionality of FontParts to aid in building fonts following the [SMuFL standard](https://w3c.github.io/smufl/latest/), which...

Also... > It does not implement FontParts in the intended way This may not be exactly what I was thinking with environment implementations, but, gosh, this is so, so, so,...