LightSideKittens/UniText
About
UniText 1.0 — early open-source (MIT) release of the UniText text engine for Unity: HarfBuzz shaping, BiDi, emoji, 150+ languages. The current engine is UniText Folio — free trial at unity.lightside.media/unitext/pricing
Games & EmulationWhat you can do
- 🌐 - Every language - Arabic, Hebrew, Hindi, Thai, CJK, and every other Unicode script. One component, automatic font fallback
- 🔄 - Full BiDi - Mixed LTR/RTL with numbers and punctuation renders correctly (UAX #9)
- 😀 - Native Color Emoji - ZWJ sequences, skin tones, flags via system fonts. Zero extra build size
- 🏷️ - Extensible Markup - 15+ built-in modifiers, custom parse rules, shared configurations
Measured star growth
- in 24h
- -3
- in 7 days
- -3
- in 15 days
- +2
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalUniText 1.0 — Early Open-Source Release
This repository holds UniText 1.0.0, the first open-source release of UniText, free under MIT.
The engine has been rewritten since then. The current version, UniText Folio, adds SDF and MSDF rendering, variable fonts, effects, rich text editing and much more, so 1.0.0 does not show what UniText can do today.
Evaluating UniText for a project? Request a free 30-day trial of UniText Folio.
UniText Folio — Every language. Any style. No fonts required. Top performance.
UniText Folio supplies a common text model for labels, input fields, rich editors and virtualized documents in Canvas UI and world space. Capabilities include native emoji, variable and pixel fonts, Font Memory Mapping, rich editing, layered styles and text animation. Modifier, parser, input and decoration extensions compose through the same pipeline. Shared LightSide systems provide reusable infrastructure for authoring and runtime work.
UniText belongs to the wider LightSide ecosystem. Common implementations include paints, gradients, textures, filters, state, clocks, input, geometry, GPU infrastructure and editor tools. Text, shapes and Lottie use shared shaders, materials and batching. MoveIt animates exposed component and nested layer properties.
Also available on the Unity Asset Store.
UniText 1.0.0
Open-source Unicode text engine for Unity
Built on HarfBuzz — the same shaping engine behind Chrome, Firefox, Adobe InDesign, and Android.
891,757 Unicode conformance tests passed. Zero failures.
Key Features
| Feature | Description | |
|---|---|---|
| 🌐 | Every language | Arabic, Hebrew, Hindi, Thai, CJK, and every other Unicode script. One component, automatic font fallback |
| 🔄 | Full BiDi | Mixed LTR/RTL with numbers and punctuation renders correctly (UAX #9) |
| 😀 | Native Color Emoji | ZWJ sequences, skin tones, flags via system fonts. Zero extra build size |
| 🏷️ | Extensible Markup | 15+ built-in modifiers, custom parse rules, shared configurations |
| 👆 | Interactive Text | Clickable/hoverable regions with typed events and highlight system |
Installation
- Open Window > Package Manager
- Click + > Add package from git URL...
- Enter:
https://github.com/LightSideMeowshop/unitext.git#1.0.0
Quick Start
- Select any GameObject with RectTransform
- Add Component > UniText
- Type text — it works. Any language, any direction.
var uniText = gameObject.AddComponent<UniText>();
uniText.FontStack = myFontStack;
uniText.Appearance = myAppearance;
uniText.Text = "Hello, World!";
uniText.Text = "مرحبا بالعالم"; // Arabic
uniText.Text = "Mixed: Hello עולם World"; // BiDi
uniText.Text = "👨👩👧👦🇯🇵"; // Emoji
Supported Platforms
| Platform | Architectures |
|---|---|
| Windows | x86, x64, ARM64 |
| macOS | x64, Apple Silicon |
| Linux | x64 |
| Android | ARMv7, ARM64, x86, x64 |
| iOS | ARM64 |
| WebGL | 2.0 |
Documentation
License
UniText 1.0 is free and open-source under the License.
[!TIP] Discord is the primary channel for questions, bug reports, help and discussion across LightSide. Email: [email protected].
Third-Party Software
UniText includes the following open-source libraries in its native plugin. See Third-Party Notices.txt for full license texts.
| Library | License |
|---|---|
| HarfBuzz | Old MIT License |
| FreeType | FreeType License |
| Blend2D | Zlib License |
| Zstandard | BSD-3-Clause |
| zlib | Zlib License |
| libpng | PNG Reference Library License |
Default fonts (Noto Sans, Noto Sans Arabic, Noto Sans Hebrew) — SIL Open Font License v1.1. Thai word segmentation dictionary — derived from ICU, Unicode License V3.
Explore related projects
Loading…