Javanese TextMeshPro – Javanese Script Text Rendering Support For Unity

Tools to correcting Javanese script text rendering in Unity, developed with the help of TextMeshPro.

Tools

Thumbnail

Features

Javanese Text

Text element used to display Javanese script.

Preview Javanese Text

Javanese Button

UI button containing a Javanese Text (UI) text element.

Preview Javanese Button

Javanese Input Field

Input field capable of receiving input in Javanese script.

Preview Javanese Input Field

Javanese Dropdown

Dropdown capable of displaying options in Javanese Scripts.

Preview Javanese Dropdown

Transliterator Window

Window for transliterating Latin-Javanese or Javanese-Latin text within the Unity editor.

Preview Transliterator Window

Requirements

Minimum Requirement Details
Unity 2021.2.0f1 Requires at least Unity 2021.2.0f1 for optimal use, as Unicode Javanese text input is only supported starting with this version.
TextMeshPro TextMeshPro must be installed in your Unity project as this plugin depends on it. You can install TextMeshPro through the Package Manager.

Limitations

TextMeshPro does not handle glyph positioning or substitution (GPOS and GSUB) for Javanese script fonts, making it unable to display Javanese text properly.

The Javanese TextMeshPro plugin addresses this by processing specially prepared Javanese script fonts with additional glyphs in the Unicode blocks U+E000-U+E09F and U+E100-U+E11D. These blocks are within the Private Use Area (PUA), and the glyph arrangement follows the layout of the Ngayogyan font.

Currently, the plugin only supports a limited selection of fonts, including Ngayogyan, Ngayogyan Jejeg, and a custom version of Noto Sans. All these fonts are included in the plugin package.

Installation via OpenUPM

  1. Open Project Settings in your Unity project via Edit / Project Settings / Package Managerr and add the following scoped registry:

    Kolom Keterangan
    Name OpenUPM
    URL https://package.openupm.com
    Scope com.adityarahmanda.javanese-textmeshpro

    Installation Step 1 - Add Package Scope

  2. Open Package Manager via Windows / Package Manager, set the scope to My Registry, select the “Javanese TextMeshPro” package, and click Install. Wait for the installation to complete.

    Installation Step 3 - Installing Package

Essential dan Example Resources

To use Javanese TextMeshPro, you must first import the JVTMP Essential Resources package. The import window will appear automatically after installing the plugin.

Optionally, you can also import the JVTMP Examples Resources package to explore practical examples of how this plugin can be implemented in a game.