{"repo":"eviltwo/SystemFontLocalization","free":true,"listed":false,"github":"https://github.com/eviltwo/SystemFontLocalization","clone":"git clone https://github.com/eviltwo/SystemFontLocalization.git","description":"Auto generate fallback font asset by system font (OS font) in runtime.","language":"C#","stars":28,"topics":["font","localization","text-mesh-pro","tools","unity","upm","upm-package"],"license":"MIT","category":"game-templates","readme_excerpt":"SystemFontLocalization Auto generate fallback font asset by system font in runtime. Verified working on: Unity 2022.3.39, Unity 6 Dependency When you import SystemFontLocalization with UPM, these packages are automatically imported. - Text Mesh Pro com.unity.textmeshpro 3.2.0-pre.6 - Required 3.2.0-pre.6 for function TMP FontAsset.CreateFontAsset(fontPath) - Since Unity 6 includes an appropriate version of TMP, manual import is not necessary. - Localization com.unity.localization Install with UPM Getting started - Localize the text using the Localization package. - Create empty GameObject and attach SystemFontReplacer component to it. - Set font asset and font name list in SystemFontReplacer component. - When you play the game, the font assets will be swapped to match the localization language. Recommend settings - Use static fonts. Dynamic fonts cause diffs on git every time you build. - Set the default language to \"en\". - Set the base font asset to \"Static\". - Generate a Font atlas with the character set set to \"ASCII\". - Disable \"kern\" in text. Prevents the problem of Cyrillic characters being line breaks. - Setup default TextMeshPro settings in ProjectSettings. Support My Work As a solo developer, your financial support would be greatly appreciated and helps me continue working on this project. - Asset Store - Steam - GitHub Sponsors","default_branch":null,"files":null,"tree":[],"storefront":"/r/eviltwo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/eviltwo/SystemFontLocalization/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}