{"id":16747927,"url":"https://github.com/amake/codepointcoverage","last_synced_at":"2025-03-16T03:10:56.626Z","repository":{"id":74600156,"uuid":"71873100","full_name":"amake/CodePointCoverage","owner":"amake","description":"Tools for determining Unicode code point coverage in various environments","archived":false,"fork":false,"pushed_at":"2024-12-11T22:44:27.000Z","size":10596,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T15:43:19.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/amake.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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},"funding":{"github":"amake"}},"created_at":"2016-10-25T07:55:50.000Z","updated_at":"2024-12-11T22:44:32.000Z","dependencies_parsed_at":"2024-10-29T01:42:27.029Z","dependency_job_id":null,"html_url":"https://github.com/amake/CodePointCoverage","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/amake%2FCodePointCoverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2FCodePointCoverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2FCodePointCoverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2FCodePointCoverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amake","download_url":"https://codeload.github.com/amake/CodePointCoverage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243818205,"owners_count":20352629,"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-10-13T02:11:18.000Z","updated_at":"2025-03-16T03:10:56.605Z","avatar_url":"https://github.com/amake.png","language":"Swift","funding_links":["https://github.com/sponsors/amake"],"categories":[],"sub_categories":[],"readme":"# Code Point Coverage\n\nThese are tools for determining which Unicode code points are \"available\" in a\ngiven environment. \"Available\" means that there is some font available that\nprovides a glyph for that code point, or in the case of non-printing characters\nthat the character is not considered \"missing\".\n\nThis is mostly interesting for mobile OSes where it is either impossible or very\ncumbersome to add fonts.\n\n## Methodology\n\nCoverage is determined by inspecting the font files that are bundled with the\nOS. If there is at least one font providing a glyph (more specifically, with an\nentry in the `cmap` table) for a given codepoint, that codepoint is considered\n\"covered\".\n\nFor iOS, the fonts are taken from the iOS Simulator runtimes bundled with\nvarious versions of Xcode. For Android, the fonts are taken from the Android\nEmulator system images downloadable with the Android SDK.\n\n## Data\n\nRaw glyph lists are available in [data](data).\n\nThese are the kinds of data that can be generated:\n\n```sh\n% make help\nusage: make [target]\n\nAvailable targets:\n  regex                    Generate regex for latest iOS and Android versions\n  decimal                  Generate glyphs for all platforms in decimal format\n  dart                     Generate Dart regex for all platforms\n  clean                    Clean temporary files\n  avd-fonts                Dump fonts from a running Android Virtual Device\n  help                     Show this help text\n```\n\n## Querying\n\nThe `cpc` script allows you to query the data.\n\n```sh\n% ./cpc\nUsage: cpc COMMAND [ARGS...]\n\nCommands:\n    diff PLATFORM1 PLATFORM2\n         List glyphs available in just one of the specified platforms, in\n         U+xxxxxx format\n    diffText PLATFORM1 PLATFORM2\n         List glyphs available in just one of the specified platforms, as\n         plain text\n    available TEXT\n         List the platforms on which all codepoints in the specified text are\n         available\n```\n\n## Other Applications\n\n[Is It Tofu?](https://tofu.mobi) is a web app based on this data that analyzes a\nblock of text and shows compatibility information for iOS and Android.\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famake%2Fcodepointcoverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famake%2Fcodepointcoverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famake%2Fcodepointcoverage/lists"}