{"id":19592637,"url":"https://github.com/source-foundry/set-unicoderange","last_synced_at":"2025-04-27T14:33:49.996Z","repository":{"id":86461568,"uuid":"357013090","full_name":"source-foundry/set-unicoderange","owner":"source-foundry","description":"Python script to automatically set OpenType OS/2 table Unicode range bit flags in fonts","archived":false,"fork":false,"pushed_at":"2021-04-12T03:11:25.000Z","size":28,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-05T00:51:16.748Z","etag":null,"topics":["font","fonts","opentype","os2","unicode","unicode-range"],"latest_commit_sha":null,"homepage":"","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/source-foundry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-12T00:36:31.000Z","updated_at":"2024-06-04T14:38:02.000Z","dependencies_parsed_at":"2023-03-13T01:52:13.569Z","dependency_job_id":null,"html_url":"https://github.com/source-foundry/set-unicoderange","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-foundry%2Fset-unicoderange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-foundry%2Fset-unicoderange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-foundry%2Fset-unicoderange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-foundry%2Fset-unicoderange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/source-foundry","download_url":"https://codeload.github.com/source-foundry/set-unicoderange/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251154798,"owners_count":21544560,"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":["font","fonts","opentype","os2","unicode","unicode-range"],"created_at":"2024-11-11T08:36:27.421Z","updated_at":"2025-04-27T14:33:49.986Z","avatar_url":"https://github.com/source-foundry.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# set-unicoderange\n\nPython script to automatically set the [OpenType OS/2 table Unicode range bit flags](https://docs.microsoft.com/en-us/typography/opentype/spec/os2#ur).\n\n## Dependencies\n\n- Python 3.6+ interpreter\n- [fontTools Python package](https://github.com/fonttools/fonttools)\n\n## Usage\n\nExecute the `src/set-unicoderange.py` script on the command line with one or more font path arguments.\n\n```\n$ python3 set-unicoderange.py [FONT PATH 1] (FONT PATH 2)...(FONT PATH n)\n```\n\nThe script detects the code points available in the font and automatically sets the OpenType OS/2.ulUnicodeRange bit flags 1 - 4. If *any* code point is found in a range, the corresponding range bit is set.  If there are no code points in a range, the corresponding range bit is cleared.\n\nThe font write is in place on the path that you enter on the command line.\n\n### Example\n\n```\n$ python3 set-unicoderange.py SomeFont-Regular.ttf\n```\n\n### Changes\n\nPlease see the [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nApache License, Version 2.0.  Please see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsource-foundry%2Fset-unicoderange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsource-foundry%2Fset-unicoderange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsource-foundry%2Fset-unicoderange/lists"}