BubbleKern icon indicating copy to clipboard operation
BubbleKern copied to clipboard

Option to decompose all components types and remove overlap for making bubbles

Open gorjious opened this issue 2 years ago • 5 comments

Would it be possible to add a checkbox option to base the bubble on a fully decomposed and overlap-removed shape?

I have letters that are composed of different types of components: smart, corner, segment, as well as, nested components...one issue I run into is that make bubbles doesn't work on open corner component paths (maybe it could?) and another is keeping bubbles in sync, say if a stem is made of two components.

Currently, my process has been to decompose everything and remove overlap to get the final outline and then to make the bubble layer.

gorjious avatar Feb 08 '23 15:02 gorjious

If might be possible to always do that, no checkbox needed.

schriftgestalt avatar Feb 08 '23 22:02 schriftgestalt

Thinking out loud. What if there is already a bubble inherited from a component, would running «Make Bubble Layer» override the inherited bubble? If fully decomposing is the default, then maybe there should be a checkbox to prevent this as part of the «Overwrite existing?» options.

gorjious avatar Feb 08 '23 22:02 gorjious

There are different types of decomposition needed. It should flatten all smart outline stuff. Then generate bubbles for all shapes. For (regular) components, it could look if the base glyph has a bubble and use that, otherwise make a new one. In the end, merge all bubble paths from all shapes.

schriftgestalt avatar Feb 09 '23 08:02 schriftgestalt

I think the smart stuff should be decomposed always, and component inheritance should be optional. I can do that.

Tosche avatar Feb 09 '23 15:02 Tosche

Certainly not a priority but would it be possible to incorporate sharpening open corners? Was running into the issue where the bubble looked right but it wasn't kerning then I realized the open corners were interfering.

gorjious avatar Feb 23 '23 00:02 gorjious