View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1
- Last updated
- First released
- Unity version
- 2021.3.16 or later
- Package size
- 1.6 MB
- Files
- 33
- Favorites
- 5
- Views in the past week
- 2
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $10.50 on
Keywords
Quick Hyphenation
- Price drop
Quick Hyphenation allows you to hyphenate your strings and Text Mesh Pro text fields in Unity, allowing for a massively improved typesetting quality and look.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 5
Quick Hyphenation screenshot 1
About this asset
Quick Hyphenation allows you to hyphenate your strings and Text Mesh Pro text fields in Unity, allowing for a massively improved text layouting quality and look by allowing for word breaks.
Check out the demo at https://quick.demo.neoludic.games
And the documentation here
This often drastically improves the look of left-alligned text and is absolutely critical whenever you use justified text.
We've made this plugin because our current project features a number of justified texts, which look really not that great without properly placed word breaks.
Quick Hyphen is based on Frank Liang’s Hyphenation algorithm, and can use any set of pre-computed patterns.
See https://hyphenation.org/ for a list of available patterns under permissive open source licenses, usually MIT or LPPL.
Quick Hyphenation comes with a set of pre-configured hyphenation assets for:
Danish - MIT License
Dutch - LPPL 1.0
UK English - MIT
US English - See Below*
French - MIT
German - MIT
Italian - MIT
Polish - MIT
Portuguese - BSD 3
Russian - LPPL 1.2
Spanish - MIT
Ukranian - LPPL 1.2
Welsh - LPPL 1.0
Using it is as simple as adding a component to your Text Mesh Pro text objects.
* US English: ”Copyright (C) 1990, 2004, 2005 Gerard D.C. Kuiken
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.”
From the publisher's Asset Store listing.
Technical details
This plugin implements Frank Liang’s hyphenation algorithm with considerations for game engines, focussing on minimal garbage generation and fast hyphenation times. It is optimized for swift runtime performance and minimal Garbage allocation, using String Builders, caching and a tree data structure for fast and efficient hyphenation.
All of this integrates seamslessly with Text Mesh Pro components.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2021.3.16f1 | Compatible | Compatible | Compatible | Compatible |
Requires Text Mesh Pro
As listed on the Asset Store.