Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/baba-s/TMP_FontAssetUpdater
You can automatically update FontAsset when the character you want to include in FontAsset of TextMesh Pro is changed.
https://github.com/baba-s/TMP_FontAssetUpdater
kogane-unity-lib textmeshpro unity unity-scripts unity3d
Last synced: about 2 months ago
JSON representation
You can automatically update FontAsset when the character you want to include in FontAsset of TextMesh Pro is changed.
- Host: GitHub
- URL: https://github.com/baba-s/TMP_FontAssetUpdater
- Owner: baba-s
- License: mit
- Created: 2018-12-26T05:36:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-26T08:47:26.000Z (about 6 years ago)
- Last Synced: 2024-11-12T17:48:07.539Z (2 months ago)
- Topics: kogane-unity-lib, textmeshpro, unity, unity-scripts, unity3d
- Language: ShaderLab
- Homepage: http://baba-s.hatenablog.com/entry/2018/12/27/090000
- Size: 6.57 MB
- Stars: 20
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-unity-open-source-on-github - TMP_FontAssetUpdater - You can automatically update FontAsset (TextMesh Pro)
README
# TMP_FontAssetUpdater
You can automatically update FontAsset when the character you want to include in FontAsset of TextMesh Pro is changed.
[![](https://img.shields.io/github/release/baba-s/TMP_FontAssetUpdater.svg?label=latest%20version)](https://github.com/baba-s/TMP_FontAssetUpdater/releases)
[![](https://img.shields.io/github/release-date/baba-s/TMP_FontAssetUpdater.svg)](https://github.com/baba-s/TMP_FontAssetUpdater/releases)
![](https://img.shields.io/badge/Unity-2017.4%2B-red.svg)
![](https://img.shields.io/badge/.NET-3.5%2B-orange.svg)
[![](https://img.shields.io/github/license/baba-s/TMP_FontAssetUpdater.svg)](https://github.com/baba-s/TMP_FontAssetUpdater/blob/master/LICENSE)## Features
- Support for Material Preset
- Mass update of multiple Font Asset
- Manual update is also possible## Version
- Unity 2018.3.0f2
- TextMesh Pro 1.3.0## Example
![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20181226/20181226163642.gif)
By writing the character you want to include in FontAsset of TextMesh Pro in .txt and saving it.
FontAsset is automatically updated to include only the characters listed in that .txt.Even if you are using Material Preset, it will update properly.
It is also possible to automatically update multiple FontAsset at once.![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20181226/20181226164223.gif)
You can also disable automatic updating function and update manually.
## How To Use
![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20181226/20181226164822.png)
Select "Create> TMP_Font Asset Updater Settings" in Project view.
![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20181226/20181226164825.png)
A file for managing update rules of FontAsset is generated.
![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20181226/20181226164828.png)
Set FontAsset to be updated, original font data, .txt describing the character to include in FontAsset in each item.
![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20181226/20181226164831.png)
By pressing the "Update" button at the end, FontAsset is updated to include only the characters described in .txt.
![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20181226/20181226164834.png)
If "Is Auto Update" is checked, FontAsset will be automatically updated at the time of change in .txt.
![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20181226/20181226170142.png)
When updating of FontAsset is completed, the result is output to the Console window.
You can check Missing Characters.![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20181226/20181226165458.png)
Material Preset file name must be named using underbar.
Material Preset that is not using underbar will not be eligible for updating.## Acknowledgments
This repository uses the code of the following repository.
- https://github.com/akof1314/UnityTMProFontCustomizedCreater
Example of this repository use the following free fonts.
- http://jikasei.me/font/rounded-mgenplus/
- http://www.fontna.com/blog/1706/