Unclaimed Package Is this your package? Claim it to unlock full analytics and manage your listing.
Claim This Package

Install via UPM

Add to Unity Package Manager using this URL

https://www.pkglnk.dev/unitext.git

README Markdown

Copy this to your project's README.md

Style
Preview
pkglnk installs badge
## Installation

Add **UniText** to your Unity project via Package Manager:

1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/unitext.git
```

[![pkglnk](https://www.pkglnk.dev/badge/unitext.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/unitext)

Dependencies (2)

README

UniText

πŸš€ UniText 2.0 β€” Coming Soon. The biggest update since the initial release β€” rewritten from scratch.

See what's new in 2.0

🎨 No more materials. UniTextAppearance is gone. Effects are configured directly on components and can target individual parts of the text.

πŸ”€ Variable Fonts. Full axis support β€” weight, width, italic, slant, optical size β€” controllable per-character. Three-tier resolution: variable axes β†’ static faces β†’ synthesis. Same algorithm as CSS. No other game engine has this (except Godot).

⚑ SDF & MSDF rendering from raw curves. Runtime Bézier rasterization via Burst. No pre-baked atlases. A single global Texture2DArray: 1 draw call instead of N, automatic LRU eviction, adaptive tile sizes by glyph complexity, defragmentation.

πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Font Families. Primary + faces (bold, italic, light). CSS Β§5.2 weight matching β€” same algorithm browsers use. Redesigned UniTextFontStack.

🌍 UniTextWorld. 3D text without Canvas. Full pipeline (Unicode, BiDi, shaping, effects, emoji, fallback) via MeshRenderer.

✨ Effects. Outline and shadow with per-character control. Multi-pass rendering. Works in Canvas and World.

πŸ”  SmallCaps. Native OpenType smcp via HarfBuzz. Proper glyphs when available, automatic synthesis when not.

πŸ‡ΉπŸ‡­ Thai & Lao word segmentation. Dictionary-based word breaking (26K Thai words). Correct line breaks for SE Asian scripts.

πŸ“¦ Zstd font compression. ~2.7x smaller builds for Latin/Arabic, ~1.3x for CJK. ~600 MB/s desktop, ~175 MB/s mobile.

πŸ“ Markdown. **bold**, *italic*, ~~strikethrough~~, ++underline++ β€” out of the box.

πŸ› οΈ Editor UX. Style selector with ~30 presets and search. Font family inspector. Glyph picker with live preview. Atlas preview tabs. Styles & Style Presets.

πŸ› ...and a mountain of fixes. Full changelog and migration notes included with the release.

⚠️ Major version bump β€” expect breaking changes from 1.x.


Industrial-grade Unicode 17.0 text engine for Unity. Built on HarfBuzz β€” the same shaping engine used by Chrome, Firefox, Adobe InDesign, and Android.

Passes all 891,757 official Unicode conformance tests. Zero GC allocations at runtime. 3-21x faster than TextMeshPro.

image

✨ Key Features

  • 🌐 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
image_2026-01-27_02-37-03
  • ⚑ SDF & MSDF rendering β€” curve-based Burst-compiled glyph rasterization. Shared Texture2DArray atlas with adaptive tile sizes, reference counting, and LRU eviction
  • πŸ”€ Font Families β€” CSS Β§5.2 weight matching, variable font axes (wght, wdth, ital, slnt, opsz), three-tier resolution: variable axes β†’ static faces β†’ synthesis
  • 🎨 Effects β€” outline and shadow via multi-pass SDF rendering. <outline>, <shadow> tags with color, dilate, offset, softness
  • 🏷️ Extensible markup β€” 30+ modifier presets, Markdown support (**bold**, *italic*), custom parse rules, shared configurations
  • πŸ‘† Interactive text β€” clickable/hoverable regions with typed events and highlight system
  • πŸ‡ΉπŸ‡­ Word segmentation β€” dictionary-based word breaking for Thai, Lao, Khmer, Myanmar (SE Asian scripts without spaces)
  • πŸš€ Zero allocations β€” custom pooling, parallel processing, 3-21x faster than TextMeshPro

πŸ“¦ Installation

Unity Package Manager (Git URL)

  1. ⚠️If you have a previous version of UniText installed, remove it first via Window β†’ Package Manager before installing 2.0.0. This is a major update and cannot be installed over the previous version.
  2. Open Window > Package Manager
  3. Click + > Add package from git URL...
  4. Enter:
    https://github.com/LightSideMeowshop/unitext.git#2.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.Text = "Hello, World!";
uniText.Text = "Ω…Ψ±Ψ­Ψ¨Ψ§ Ψ¨Ψ§Ω„ΨΉΨ§Ω„Ω…";          // Arabic
uniText.Text = "Mixed: Hello Χ’Χ•ΧœΧ World"; // BiDi
uniText.Text = "πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦πŸ‡―πŸ‡΅";                    // Emoji

⚑ Performance

image_2026-02-13_18-25-28

Android production build, 100 objects x 2300 chars:

Benchmark vs TextMeshPro vs UI Toolkit
Object creation 3.4x faster 4.9x faster
Full rebuild 2.9x faster 5.4x faster
Layout 20.7x faster 3.4x faster
Mesh rebuild 7.1x faster 2.4x faster
  • 🧹 Zero GC allocations at runtime β€” custom pooling with 95%+ hit rate
  • 🧡 Multi-threaded parallel text processing
  • βš™οΈ FreeType glyph rendering: 4.7-15.2x faster than Unity FontEngine

πŸ–₯️ Supported Platforms

Platform Architectures
Windows x86, x64, ARM64
macOS x64, Apple Silicon
Linux x64
Android ARMv7, ARM64, x86, x64
iOS ARM64
WebGL 2.0
image_2026-01-26_04-23-19

πŸ“‹ Requirements

  • Unity 2021 LTS or newer

πŸ“– Documentation

πŸ’¬ Support

unity@lightside.media

βš–οΈ License

UniText is source-available under the PolyForm Noncommercial License 1.0.0.

  • Free for personal projects, learning, research, game jams, open-source, education, and non-profits.
  • Commercial use (games, apps, tools that generate revenue) requires a commercial license.

Contact: unity@lightside.media β€” we respond quickly and licensing is straightforward.

πŸ“œ Third-Party Software

UniText includes the following open-source libraries in its native plugin. See Third-Party Notices.txt for full license texts.

  • HarfBuzz (Old MIT License) β€” text shaping engine
  • FreeType (FreeType License) β€” font rasterization. Portions of this software are copyright (c) The FreeType Project (https://freetype.org). All rights reserved.
  • Blend2D (Zlib License) β€” 2D vector rasterization
  • Zstandard (BSD-3-Clause License) β€” data compression
  • zlib (Zlib License) β€” general-purpose compression
  • libpng (PNG Reference Library License) β€” PNG decoding

Default fonts (Noto Sans, Noto Sans Arabic, Noto Sans Hebrew) are licensed under the SIL Open Font License v1.1.

Thai word segmentation dictionary is derived from ICU and licensed under the Unicode License V3.

Comments

No comments yet. Be the first!