An easy to use plugin for Unity that renders complex text accurately.
HQText is a Unity plugin developed in response to the growing need for accurate and comprehensive language support, including precise placement of diacritics, ligatures, and the proper handling of mixed bi-directional text elements. Although our primary focus has been on providing correct support for Arabic text within Unity, HQText is designed to accommodate most other languages just as effectively.
To achieve this, HQText employs a user-friendly and intuitive wrapper for Pango, an open-source library for laying out and rendering text. By default, HQText utilizes FreeType for font rendering, but it can also be configured to work with the native Windows (win32) backend.
While TextMeshPro is another option for supporting Arabic, it often experiences issues with diacritic placement, which can vary between fonts, and transparency artifacts arising from overlapping character ligatures. For those who find these problems unacceptable, HQText serves as an ideal alternative.
- Accurate rendering of complex text
- Arabic, Persian/Farsi, Hebrew, Urdu and more
- Correct rendering of diacritics and ligatures
- Markup (Rich text) support
- Supports TTF and OTF fonts
- Supports ALL the render-pipelines: Built-in/URP/HDRP
- Also works in editor (no need to enter play mode)
- Supports visual effects via UIFX
- Includes full C# and C++ source code
- Supports all Unity versions from 2019.4.0 up to Unity 6.x
- Supports all render pipelines: Built-in, URP and HDRP
- 64-Bit Windows only (Windows 10 & 11)
- (other platform support on request)
This work is made possible by Pango, licensed under LGPL-2.1-or-later. Authors: Owen Taylor, Behdad Esfahbod.
- Shane Marks
- Chocolate Dinosaur Ltd
- Kelly McCarter, Denzil Büchner, Ruan Moolman, Calvin Lichungu, Andrew Griffiths
- Dr. Mustapha Saidi, for creating the Arabic text references.
- Download the Unity plugin
- Visit the website for more information.
See BUILD.md for build instructions.
Contact Chocolate Dinosaur Ltd for more information.
