package
0.3.0
Repository: https://github.com/benoitkugler/textlayout.git
Documentation: pkg.go.dev

# Packages

Generate lookup function for Unicode properties not covered by the standard package unicode.

# Functions

Compose composes a sequence of two input Unicode code points by canonical equivalence, returning the composed code, if successful.
Decompose decompose an input Unicode code point, returning the two decomposed code points, if successful.
HasArabicJoining return 'true' if the given script has arabic joining.
Jamo returns the Jamo Type of `btype` or NO_JAMO.
LookupCombiningClass returns the class used for the Canonical Ordering Algorithm in the Unicode Standard, defaulting to 0.
LookupGraphemeBreakClass returns the grapheme break property for the rune (see the constants GraphemeBreakXXX), or nil.
LookupLineBreakClass returns the break class for the rune (see the constants BreakXXX).
LookupMirrorChar finds the mirrored equivalent of a character as defined in the file BidiMirroring.txt of the Unicode Character Database available at http://www.unicode.org/Public/UNIDATA/BidiMirroring.txt.
LookupType returns the unicode categorie of the rune, or nil if not found.

# Constants

Alaph group (included in kind R).
Join-Causing, e.g.
Dual-joining, e.g.
Dalat Rish group (included in kind R).
No description provided by the author
Ignored, e.g.
Algorithmic hangul syllable [de]composition.
Algorithmic hangul syllable [de]composition.
Algorithmic hangul syllable [de]composition.
Algorithmic hangul syllable [de]composition.
Algorithmic hangul syllable [de]composition.
Algorithmic hangul syllable [de]composition.
Algorithmic hangul syllable [de]composition.
Algorithmic hangul syllable [de]composition.
Algorithmic hangul syllable [de]composition.
break HANGUL_L_JAMO */.
break HANGUL_LV_SYLLABLE */.
break HANGUL_LVT_SYLLABLE */.
break HANGUL_T_JAMO */.
break HANGUL_V_JAMO */.
Left-joining, i.e.
No description provided by the author
Other */.
Right-joining, e.g.
Transparent, e.g.
Un-joining, e.g.

# Variables

No description provided by the author
ArabicLigatures exposes lam-alef ligatures.
ArabicShaping defines the shaping for arabic runes.
Ambiguous (Alphabetic or Ideographic).
Alphabetic.
Break Opportunity Before and After.
Break After.
Break Before.
Mandatory Break.
Contingent Break Opportunity.
Conditional Japanese Starter.
Close Punctuation.
Combining Mark.
Close Parenthesis.
Carriage Return.
Emoji Base.
Emoji Modifier.
Exclamation/Interrogation.
Non-breaking ("Glue").
Hangul LV Syllable.
Hangul LVT Syllable.
Hebrew Letter.
Hyphen.
Ideographic.
Inseparable.
Infix Numeric Separator.
Hangul L Jamo.
Hangul T Jamo.
Hangul V Jamo.
Line Feed.
Next Line.
Nonstarter.
Numeric.
Open Punctuation.
Postfix Numeric.
Prefix Numeric.
Quotation.
Regional Indicator.
Complex Context Dependent (South East Asian).
Surrogate.
Space.
Symbols Allowing Break After.
Word Joiner.
Unknown.
Zero Width Space.
Zero width joiner.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GraphemeBreakProperty: Control.
GraphemeBreakProperty: CR.
GraphemeBreakProperty: Extend.
GraphemeBreakProperty: L.
GraphemeBreakProperty: LF.
GraphemeBreakProperty: LV.
GraphemeBreakProperty: LVT.
GraphemeBreakProperty: Prepend.
GraphemeBreakProperty: Regional_Indicator.
GraphemeBreakProperty: SpacingMark.
GraphemeBreakProperty: T.
GraphemeBreakProperty: V.
GraphemeBreakProperty: ZWJ.
HangulJamoProps maps from JamoType to CharJamoProps that hold only simple JamoTypes (no LV or LVT) or none.
No description provided by the author
No description provided by the author
LargeEastAsian matches runes with East_Asian_Width property of F, W or H, and is used for UAX14, rule LB30.
SentenceBreakProperty: STerm.

# Type aliases

ArabicJoining is a property used to shape Arabic runes.
JamoType is an enum that works as the states of the Hangul syllables system.