Skip to content

LightSideMeowshop/UniText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniText

Open-source Unicode text engine for Unity

Built on HarfBuzz — the same shaping engine behind Chrome, Firefox, Adobe InDesign, and Android.

Version Unity License Discord

891,757 Unicode conformance tests passed. Zero failures.

UniText showcase

Note

Looking for production use? UniText 2.0 adds SDF/MSDF rendering, font families, variable fonts, effects, 3D text, Zstd compression, and much more. Available on Asset Store and direct from Light Side.


Key Features

Feature Description
🌐 150+ Languages 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
Languages showcase

Installation

  1. Open Window > Package Manager
  2. Click + > Add package from git URL...
  3. Enter:
    https://github.com/LightSideMeowshop/unitext.git#1.0.0
    

Quick Start

  1. Select any GameObject with RectTransform
  2. Add Component > UniText
  3. 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
Platforms showcase

Documentation

License

UniText 1.0 is free and open-source under the MIT License.

Tip

Contact: unity@lightside.media — questions, feedback, commercial inquiries.

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.

About

Text engine for Unity that correctly renders every writing system — Arabic, Hebrew, Hindi, Thai, CJK, emoji, and 150+ others. Built on HarfBuzz, the same shaping engine used by Chrome, Firefox, Adobe InDesign, and Android

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors