question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

maximum_color is unhappy with > 1 palette

See original GitHub issue

In a clone of google/fonts:

maximum_color ofl/reemkufiink/ReemKufiInk-Regular.ttf

nanoemoji/colr_to_svg.py", line 410, in colr_to_svg
    assert len(ttfont["CPAL"].palettes) == 1, "We assume one palette"
AssertionError: We assume one palette

This is far less helpful than building a functional font with only one - presumably the first - palette.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
anthrotypecommented, Aug 18, 2022

I suggest we go on and merge those two PRs, cut a release and use the updated nanoemoji to onboard the COLRv1 fonts

0reactions
anthrotypecommented, Aug 18, 2022

running maximum_color on ReemKufiInk-Regular using #423 branch (in turn, based on #424) completes successfully and the “ٮح” string containing zero-width glyph displays the same on both Chrome (COLRv1) and FireFox/Safari (OT-SVG)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Suggestion for A Better Palette · Issue #1812 · xournalpp ...
I have a suggestion for a better color palette heavily inspired by ... In the unhappy 1 case, shouldn't the default palette be...
Read more >
How a Film Color Palette Can Make You a Better Filmmaker [W
The below infographic sets up which colors will help you assign which emotions to scenes or parts of your movie or TV show....
Read more >
Create a Perfect Wardrobe Color Palette: 5 easy methods
Building a Wardrobe Color Palette: 5 Basic Methods · Method 1: Universal Colors · Method 2: Examining Undertone and Skin tone color palettes....
Read more >
it's okay if you're unhappy Color Palette - Pinterest
May 8, 2016 - it's okay if you're unhappy color palette created by brokenlines that consists #395b80,#92bdcd,#b5e2ee,#f99186,#fec35b colors.
Read more >
How to Choose the Right Color Schemes - Artists Network
Although it is enjoyable to experiment with color schemes by choosing colors randomly based on our individual preferences, there are a number of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found