Class IndicHyphenation
Registers the major Indic-script languages with NetPdf's HyphenationRegistry so layout can
hyphenate a block by its effective lang.
public static class IndicHyphenation
- Inheritance
-
IndicHyphenation
- Inherited Members
Remarks
Data status. Indic scripts do hyphenate (at akshara/syllable boundaries), unlike
CJK or Arabic — but this build ships no pattern data yet. The real CTAN hyph-utf8 (LPPL)
Devanagari / Bengali / Tamil / Telugu / … pattern sets are vendored by the maintainer (see the pack
README + NOTICE); they drop in behind these same Register() calls with no API change.
Until then each language is registered with an EMPTY (placeholder) hyphenator: hyphens: auto
produces no breaks for them — deliberately conservative, so an Indic-tagged document is never hyphenated
with the wrong English rules. This is a placeholder pending data, not an assertion that Indic
scripts don't hyphenate.
Properties
RegisteredLanguages
The BCP-47 primary subtags registered by this pack (in registration order).
public static IReadOnlyList<string> RegisteredLanguages { get; }
Property Value
Methods
Register()
Idempotent — registers the Indic languages with HyphenationRegistry (empty placeholder hyphenators pending vendored CTAN pattern data). Runs automatically on load; exposed for explicit / testable use.
public static void Register()