googlefonts / googlefonts/fontmake

Stacked nodes at path origin are removed

Open
#500 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
888
Forks
97
Avg merge
4d 52m
Merged PRs (30d)
1

Description

I'm working on a variable font where due to the design sometimes two nodes need to be stacked on each other. I've found upon exporting the variable font stacked nodes at the beginning/origin of a path are removed whereas other cases of stacked nodes are left untouched.

This is my source glyph (stacked nodes are highlighted in red):
![image](https://user-images.githubusercontent.com/18029187/51312318-455b6e00-1a4b-11e9-9b86-352299447676.png)

And this is the output:
![image](https://user-images.githubusercontent.com/18029187/51312452-95d2cb80-1a4b-11e9-92f2-c6e9ca56a247.png)

As you can see only the stacked nodes at the beginning of paths (marked with a triangle) were removed.

Is there anything I can do to remedy this? If the only solution is to move the nodes 1 unit away from each other that's fine but thought I'd see if there's another way to solve this. I thought maybe the `--keep-overlaps` would help but it didn't affect the output.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.