{"id":13721575,"url":"https://github.com/adobe-type-tools/opentype-svg","last_synced_at":"2025-09-11T09:34:27.743Z","repository":{"id":50237467,"uuid":"68087844","full_name":"adobe-type-tools/opentype-svg","owner":"adobe-type-tools","description":"Tools and sample files for making OpenType-SVG fonts","archived":false,"fork":false,"pushed_at":"2024-05-14T18:21:01.000Z","size":230,"stargazers_count":228,"open_issues_count":1,"forks_count":18,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-09-03T02:55:43.188Z","etag":null,"topics":["font","fonts","opentype","svg"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adobe-type-tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-13T08:01:16.000Z","updated_at":"2025-08-22T07:22:33.000Z","dependencies_parsed_at":"2025-03-29T22:11:01.349Z","dependency_job_id":"87b3fe41-a8bd-4642-9757-2e8b93724ab1","html_url":"https://github.com/adobe-type-tools/opentype-svg","commit_stats":{"total_commits":82,"total_committers":2,"mean_commits":41.0,"dds":"0.012195121951219523","last_synced_commit":"73a21371dc6c66786d931551101d6c5be55ea449"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/adobe-type-tools/opentype-svg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe-type-tools%2Fopentype-svg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe-type-tools%2Fopentype-svg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe-type-tools%2Fopentype-svg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe-type-tools%2Fopentype-svg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adobe-type-tools","download_url":"https://codeload.github.com/adobe-type-tools/opentype-svg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe-type-tools%2Fopentype-svg/sbom","scorecard":{"id":167120,"data":{"date":"2025-08-11","repo":{"name":"github.com/adobe-type-tools/opentype-svg","commit":"538319fa425488baf3263ef2f4d752eb421f3ea3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/adobe-type-tools/opentype-svg/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/adobe-type-tools/opentype-svg/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/adobe-type-tools/opentype-svg/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/adobe-type-tools/opentype-svg/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/adobe-type-tools/opentype-svg/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/adobe-type-tools/opentype-svg/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/adobe-type-tools/opentype-svg/test.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/publish.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/publish.yml:25","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:48","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:49","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:56","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   5 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.1.5 not signed: https://api.github.com/repos/adobe-type-tools/opentype-svg/releases/44389622","Warn: release artifact 1.1.4 not signed: https://api.github.com/repos/adobe-type-tools/opentype-svg/releases/43926353","Warn: release artifact 1.1.3 not signed: https://api.github.com/repos/adobe-type-tools/opentype-svg/releases/42635512","Warn: release artifact 1.1.2 not signed: https://api.github.com/repos/adobe-type-tools/opentype-svg/releases/41233623","Warn: release artifact 1.1.1 not signed: https://api.github.com/repos/adobe-type-tools/opentype-svg/releases/26111345","Warn: release artifact 1.1.5 does not have provenance: https://api.github.com/repos/adobe-type-tools/opentype-svg/releases/44389622","Warn: release artifact 1.1.4 does not have provenance: https://api.github.com/repos/adobe-type-tools/opentype-svg/releases/43926353","Warn: release artifact 1.1.3 does not have provenance: https://api.github.com/repos/adobe-type-tools/opentype-svg/releases/42635512","Warn: release artifact 1.1.2 does not have provenance: https://api.github.com/repos/adobe-type-tools/opentype-svg/releases/41233623","Warn: release artifact 1.1.1 does not have provenance: https://api.github.com/repos/adobe-type-tools/opentype-svg/releases/26111345"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T15:13:11.890Z","repository_id":50237467,"created_at":"2025-08-16T15:13:11.890Z","updated_at":"2025-08-16T15:13:11.890Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274609465,"owners_count":25316621,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["font","fonts","opentype","svg"],"created_at":"2024-08-03T01:01:18.797Z","updated_at":"2025-09-11T09:34:27.720Z","avatar_url":"https://github.com/adobe-type-tools.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![PyPI](https://img.shields.io/pypi/v/opentypesvg.svg)](https://pypi.org/project/opentypesvg)\n[![Status](https://github.com/adobe-type-tools/opentype-svg/actions/workflows/test.yml/badge.svg)](https://github.com/adobe-type-tools/opentype-svg/actions/workflows/test.yml)\n[![Codecov](https://codecov.io/gh/adobe-type-tools/opentype-svg/branch/master/graph/badge.svg)](https://codecov.io/gh/adobe-type-tools/opentype-svg)\n\n# Tools for making OpenType-SVG fonts\n\n- **addsvg** adds an SVG table to a font, using SVG files provided. The font's format can be either OpenType or TrueType.\n\n- **dumpsvg** saves the contents of a font's SVG table as individual SVG files. The font's format can be either OpenType, TrueType, WOFF, or WOFF2.\n\n- **fonts2svg** generates a set of SVG glyph files from one or more fonts and hex colors for each of them. The fonts' format can be either OpenType, TrueType, WOFF, or WOFF2.\n\n\n### Dependencies\n\n- Python 3.6 or higher\n\n- [FontTools](https://github.com/fonttools/fonttools) 3.1.0 or higher\n\n\n### Installation instructions\n\n- Make sure you have Python 3.6 (or higher) installed:\n\n    ```sh\n    python --version\n    ```\n\n- Setup a virtual environment:\n\n    ```sh\n    python -m venv ot-svg\n    ```\n\n- Activate the virtual environment:\n\n    - macOS \u0026 Linux\n\n        ```sh\n        source ot-svg/bin/activate\n        ```\n\n    - Windows\n\n        ```sh\n        ot-svg\\Scripts\\activate.bat\n        ```\n\n- Install **opentypesvg**:\n\n    ```sh\n    python -m pip install opentypesvg\n    ```\n\n# How to make OpenType-SVG fonts?\n\n### Step 1\n#### Generate a set of SVG files from a series of fonts and color values.\n\n![step1](https://raw.githubusercontent.com/adobe-type-tools/opentype-svg/master/imgs/step1.png \"step 1\")\n\n\tfonts2svg -c 99ccff,ff0066,cc0066 fonts/Zebrawood-Shadow.otf fonts/Zebrawood-Fill.otf fonts/Zebrawood-Dots.otf\n\n### Step 2\n#### Add a set of SVG files to an existing OpenType (or TrueType) font.\n\n![step2](https://raw.githubusercontent.com/adobe-type-tools/opentype-svg/master/imgs/step2.png \"step 2\")\n\n\taddsvg fonts/SVGs fonts/Zebrawood.otf\n\n---\n\nYou can use **Step 2** without doing **Step 1**, but there are a few things you need to be aware of when using the **addsvg** tool:\n\n* After the SVG files are saved with the authoring application (e.g. Adobe Illustrator, CorelDRAW!, Inkscape) they should be put thru a process that optimizes and cleans up the SVG code; this will slim down the file size while keeping the resulting artwork the same. For this step you can use one of these tools:\n\t* [SVG Cleaner](https://github.com/RazrFalcon/svgcleaner-gui/releases) (GUI version)\n\t* [SVG Cleaner](https://github.com/RazrFalcon/svgcleaner) (command line version)\n\t* [SVG Optimizer](https://github.com/svg/svgo)\n\t* [Scour](https://github.com/scour-project/scour)\n\t* [picosvg](https://github.com/googlefonts/picosvg)\n\n* **addsvg** requires the SVG files to be named according to the glyphs which they are meant to be associated with. For example, if the glyph in the font is named **ampersand**, the SVG file must be named `ampersand.svg`.\n\n* **addsvg** expects the color artwork to have been designed at the same size as the glyphs in the font, usually 1000 or 2048 UPM. This means 1 point (pt) in the authoring app equals 1 unit in font coordinates. If the artwork's canvas size is not the same as the font's UPM value, use the `-k` option to prevent the tool from removing the SVG's `viewBox` parameter. Retaining the `viewBox` parameter will enable the artwork to be scaled to the full extent of the viewport (i.e. the font's UPM).\n\n* If the artwork's `\u003csvg\u003e` element contains `height` and/or `width` parameters, remove them, otherwise the artwork will have a fixed size and won't be allowed to scale to the full extent of the viewport.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadobe-type-tools%2Fopentype-svg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadobe-type-tools%2Fopentype-svg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadobe-type-tools%2Fopentype-svg/lists"}