googlefonts / ufo2ft

A bridge from UFOs to FontTools objects (and therefore, OTFs and TTFs).
MIT License
151 stars 43 forks source link

Don't copy color layer unnecessarily #538

Closed khaledhosny closed 3 years ago

khaledhosny commented 3 years ago

If the color layer uses the same UFO layer as the base one, then no need to copy the layer at all. For example:

  <key>com.github.googlei18n.ufo2ft.colorLayerMapping</key>
  <array>
    <array>
      <string>public.default</string>
      <integer>0</integer>
    </array>
  </array>
khaledhosny commented 3 years ago

(FYI, I can't merge PRs here)

anthrotype commented 3 years ago

oh. now you can

khaledhosny commented 3 years ago

oh. now you can

Thanks