Class CjkHyphenation
Registers the CJK languages — Chinese (zh), Japanese (ja), Korean (ko) — with
NetPdf's HyphenationRegistry as explicit no-hyphenation languages. CJK scripts do
not use Liang/soft hyphenation: line breaking is per-character (handled by NetPdf's UAX #14 breaker).
Registering them makes hyphens: auto insert no hyphens for zh/ja/ko instead of falling back to
the bundled English hyphenator (which would otherwise hyphenate embedded Latin-script runs). Call
Register() once at startup; a [ModuleInitializer] also drives it on assembly load.
public static class CjkHyphenation
- Inheritance
-
CjkHyphenation
- Inherited Members
Remarks
Richer CJK line-break tailoring (kinsoku shori — prohibited line-start/-end characters) is a documented follow-up; it would attach to a future layout line-break seam, not this hyphenation registry.
Methods
Register()
Idempotent — registers zh/ja/ko with HyphenationRegistry as no-hyphenation languages. Runs automatically on load; exposed for explicit / testable use.
public static void Register()