{"id":14240778,"url":"https://github.com/googlefonts/color-fonts","last_synced_at":"2025-04-11T11:06:58.679Z","repository":{"id":40425228,"uuid":"253302395","full_name":"googlefonts/color-fonts","owner":"googlefonts","description":"Experimental color font builds.","archived":false,"fork":false,"pushed_at":"2024-05-27T09:14:55.000Z","size":672248,"stargazers_count":97,"open_issues_count":18,"forks_count":13,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-03-25T07:24:11.435Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googlefonts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-04-05T18:19:53.000Z","updated_at":"2025-03-25T02:38:54.000Z","dependencies_parsed_at":"2024-01-18T15:02:31.267Z","dependency_job_id":null,"html_url":"https://github.com/googlefonts/color-fonts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlefonts%2Fcolor-fonts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlefonts%2Fcolor-fonts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlefonts%2Fcolor-fonts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlefonts%2Fcolor-fonts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlefonts","download_url":"https://codeload.github.com/googlefonts/color-fonts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248381760,"owners_count":21094525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-21T10:01:50.048Z","updated_at":"2025-04-11T11:06:58.639Z","avatar_url":"https://github.com/googlefonts.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![CI Build Status](https://github.com/googlefonts/color-fonts/workflows/Continuous%20Test%20+%20Deploy/badge.svg)](https://github.com/googlefonts/color-fonts/actions/workflows/ci.yml?query=workflow%3ATest)\n\n# color-fonts\nExperimental color font builds. Intended to help verify font toolchain builds things that work with consuming tools for COLRv1 ([colr gradients spec](https://github.com/googlefonts/colr-gradients-spec/blob/main/colr-gradients-spec.md)).\n\nTo update the fonts:\n\n1.  Run [generate_config.py](https://github.com/googlefonts/color-fonts/blob/main/generate_config.py) if the config needs to be updated\n1.  Run [build.py](https://github.com/googlefonts/color-fonts/blob/main/build.py) to generate the font(s) you want to update\n\n## Color fonts in the fonts/ folder\n\nThe [fonts/](fonts/) folder contains generated COLRv1 (with different glyph shape formats) and OT-SVG fonts for testing and experimentation. The files in this folder follow the following naming convention. \n\n```\n(Glyph set)-(color font format and glyph definition format).(Extension otf or ttf)\n```\n\nThe following glyph sets exist:\n\n| Glyph set short name | Description |\n|---|---|\n| `noto` | Full Noto emoji set |\n| `noto_handwriting` | Only the WRITING HAND ✍️ emoji  of the Noto Emoji set |\n| `noto_flags` | Only the flag emoji of the Noto emoji set |\n| `noto_noflags` | All but the flags of the Noto emoji set |\n| `samples` | A set of sample glyphs generated from SVG sources |\n| `twemoji` | The set of emoji from the [Twitter emoji](https://github.com/twitter/twemoji/) set |\n| `tweomji_smiley` | Only the smiley emoji from the the [Twitter emoji](https://github.com/twitter/twemoji/) set |\n| `test_glyphs` | A set of test glyphs generated by the a build script in [config/test_glyphs-glyf_colr_1.py](config/test_glyphs-glyf_colr_1.py), see [more info below](#colrv1-test-font). |\n\nThe following color font and glyph definition formats exist:\n\n| Format short name | Description |\n| -- | -- |\n| `cff2_colr_1` | COLRv1 font with `CFF2` table contour definitions |\n| `cff_colr_1` | COLRv1 fotn with `CFF ` table contour definitions |\n| `glyf_colr_1` | COLRv1 fotn with `glyf ` table contour definitions (TrueType contours) |\n| `picosvg` | OT-SVG font with SVG sources processed through picosvg |\n| `picosvgz` | OT-SVG font with SVG sources processed through picosvg and gzip compressed |\n| `untouchedsvg` | OT-SVG font with SVG source images embeddded as-is |\n| `untouchedsvgz` | OT-SVG font with SVG source images embeddded as-is and gzip compressed |\n\nFor example, `noto-glyf_colr_1.ttf` means that this font contains the Noto Emoji\nfull glyph set, contains the glyph definitions in `glyf` table format (TrueType\noutlines) and features a COLRv1 table for the color glyphs\nfunctionality. `noto_flags-picosvgz.ttf` contains only the flag glyphs part of\nthe Noto emoji set, the font is an OT-SVG font where SVG source images went\nthrough picosvg for optimization and flattening.\n\n## COLRv1 Test Font\n\nThe fonts [`fonts/test_glyphs-glyf_colr_1.ttf`](fonts/test_glyphs-glyf_colr_1.ttf) \"COLRv1 Static Test Glyphs\" and\n[`fonts/test_glyphs-glyf_colr_1_variable.ttf`](fonts/test_glyphs-glyf_colr_1_variable.ttf) \"COLRv1 Variable Test Glyphs\"\nin this repository provide a set of glyphs testing the static and variable aspects of COLRv1.\n\nFor testing, additional versions of these font exist with the suffix\n`_no_cliplist` in which COLRv1 ClipLists are removed from the fonts and thus no\nglyphs have any clipboxes, see below for download links.\n\n### Glyph List \u0026 Coverage Descriptions\n\nFor a list of which glyphs provide test coverage of which specific COLRv1 features, please see the [individual glyph\ndescriptions here](glyph_descriptions.md).\n\n### Download the COLRv1 test font\n\nBinaries of the static and variable COLRv1 test font is available in the following files:\n* Static: [`fonts/test_glyphs-glyf_colr_1.ttf`](fonts/test_glyphs-glyf_colr_1.ttf)\n* Variable: [`fonts/test_glyphs-glyf_colr_1_variable.ttf`](fonts/test_glyphs-glyf_colr_1_variable.ttf)\n* Static, without ClipList:\n  [`fonts/test_glyphs-glyf_colr_1_no_cliplist.ttf`](fonts/test_glyphs-glyf_colr_1_no_cliplist.ttf)\n* Variable, without ClipList:\n  [`fonts/test_glyphs-glyf_colr_1_variable_no_cliplist.ttf`](fonts/test_glyphs-glyf_colr_1_variable_no_cliplist.ttf)\n\n### Build the COLRv1 test font\n\nIf you want to build the test fonts yourself, follow these steps:\n\nRun\n`$ ./build.py config/test_glyphs-glyf_colr_1.py`\n\nwhich builds the static test font `fonts/fonts/test_glyphs-glyf_colr_1.ttf` as well as the variable test font\n`fonts/test_glyphs-glyf_colr_1_variable.ttf`.\n\n#### Verify Variation Support\n\nTo verify that a variable COLRv1 font was built, run\n`$ ttx -tCOLR -o- fonts/test_glyphs-glyf_colr_1_variable.ttf | grep VarStore`\nwhich should show a `\u003cVarStore Format=\"1\"\u003e` line.\n\n## References\n\n*   [nanoemoji](https://github.com/googlefonts/nanoemoji), compiles a set of picosvg into a color font \n*   [picosvg](https://github.com/googlefonts/picosvg), simplifies svgs to use only a small subset of the full spec\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglefonts%2Fcolor-fonts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglefonts%2Fcolor-fonts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglefonts%2Fcolor-fonts/lists"}