0.2.5 • Published 3 years ago

pixi-cjk v0.2.5

Weekly downloads
227
License
MIT
Repository
github
Last release
3 years ago

PIXI CJK

pixi-cjk is a plugin for Pixi.js to display the Chinese/Japanese/Korean correctly

Features

  • prevent illegal break-lines in CJK (which also called kinsoku-shori)
  • prevent unneeded breaking space when follwoing by CJK character

Setup

npm install pixi-cjk

Usage

Apply the Text style with breakWords: true, then improt the plugin. It should cover the CJK styling for you.

import 'pixi-cjk';

How it works

Example

before-after

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago