googlefonts / googlefonts/glyphsLib

There can be two color palette layers with the same color

Open
#1,002 3 comments 0 reactions 1 assignee Claimed by @khaledhosny View on GitHub
Dominant language
Python
Stars
201
Forks
56
Avg merge
17m
Merged PRs (30d)
1

Description

as seen in this example:
Bildschirmfoto 2024-04-27 um 19 52 03

Using glyphs2ufo produces this output:
```
Bad Color Bold: Glyph A, layer color.0: Duplicate glyph layer name
Bad Color Thin: Glyph A, layer color.0: Duplicate glyph layer name
```
and this layer mapping (it appends a '#' to make the name unique):
```
com.github.googlei18n.ufo2ft.colorLayerMapping


color.0
0


color.1
1


color.0 #1
0


```

So it is not sufficient to use GSLayer.name as layer names in the ufos.

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.