{"id":14960983,"url":"https://github.com/eviltwo/systemfontlocalization","last_synced_at":"2025-06-19T18:38:57.767Z","repository":{"id":223521630,"uuid":"760632231","full_name":"eviltwo/SystemFontLocalization","owner":"eviltwo","description":"Auto generate fallback font asset by system font (OS font) in runtime.","archived":false,"fork":false,"pushed_at":"2024-10-31T07:29:05.000Z","size":1457,"stargazers_count":21,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T03:54:08.262Z","etag":null,"topics":["font","localization","text-mesh-pro","tools","unity","upm","upm-package"],"latest_commit_sha":null,"homepage":"","language":"C#","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/eviltwo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"eviltwo","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":null}},"created_at":"2024-02-20T16:45:35.000Z","updated_at":"2024-12-24T08:20:09.000Z","dependencies_parsed_at":"2024-02-20T18:02:01.012Z","dependency_job_id":"94897df2-d264-48b7-a9d3-d766efb73942","html_url":"https://github.com/eviltwo/SystemFontLocalization","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"7155bc6ec9d1ae81a0d981681150f42ea1ee8763"},"previous_names":["eviltwo/systemfontlocalization"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviltwo%2FSystemFontLocalization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviltwo%2FSystemFontLocalization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviltwo%2FSystemFontLocalization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviltwo%2FSystemFontLocalization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eviltwo","download_url":"https://codeload.github.com/eviltwo/SystemFontLocalization/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238030288,"owners_count":19404859,"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","localization","text-mesh-pro","tools","unity","upm","upm-package"],"created_at":"2024-09-24T13:23:35.926Z","updated_at":"2025-02-09T22:31:10.807Z","avatar_url":"https://github.com/eviltwo.png","language":"C#","funding_links":["https://github.com/sponsors/eviltwo"],"categories":[],"sub_categories":[],"readme":"# SystemFontLocalization\n Auto generate fallback font asset by system font in runtime.\n \n ![SystemFont](https://github.com/eviltwo/SystemFontLocalization/assets/7721151/8e203dbf-ea21-445d-a4d9-b8484028bf6d)\n\n Verified working on: Unity 2022.3.39, Unity 6\n\n# Dependency\nWhen you import SystemFontLocalization with UPM, these packages are automatically imported.\n- Text Mesh Pro `com.unity.textmeshpro 3.2.0-pre.6`\n  - Required 3.2.0-pre.6 for function `TMP_FontAsset.CreateFontAsset(fontPath)`\n  - Since Unity 6 includes an appropriate version of TMP, manual import is not necessary.\n- Localization `com.unity.localization`\n\n# Install with UPM\n```\nhttps://github.com/eviltwo/SystemFontLocalization.git?path=src/SystemFontLocalization/Assets/SystemFontLocalization\n```\n\n# Getting started\n- Localize the text using the [Localization package](https://docs.unity3d.com/Packages/com.unity.localization@1.3).\n- Create empty GameObject and attach SystemFontReplacer component to it.\n- Set font asset and font name list in SystemFontReplacer component.\n- When you play the game, the font assets will be swapped to match the localization language.\n\n# Recommend settings\n- Use static fonts. Dynamic fonts cause diffs on git every time you build.\n  - Set the default language to \"en\".\n  - Set the base font asset to \"Static\".\n  - Generate a Font atlas with the character set set to \"ASCII\".\n- Disable \"kern\" in text. Prevents the problem of Cyrillic characters being line breaks.\n- Setup default TextMeshPro settings in ProjectSettings.\n\n# Support My Work\nAs a solo developer, your financial support would be greatly appreciated and helps me continue working on this project.\n- [Asset Store](https://assetstore.unity.com/publishers/12117)\n- [Steam](https://store.steampowered.com/curator/45066588)\n- [GitHub Sponsors](https://github.com/sponsors/eviltwo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feviltwo%2Fsystemfontlocalization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feviltwo%2Fsystemfontlocalization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feviltwo%2Fsystemfontlocalization/lists"}