Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AdditionalZeroWidth = &unicode.RangeTable{ R16: []unicode.Range16{ {0x1160, 0x11FF, 1}, }, }
AdditionalZeroWidth is a Unicode Range of expected zero-width glyphs outside of Cf, Mn, and Me.
View Source
var AmbiguousIsWide = false
AmbiguousIsWide sets if an unknown ambiguous character is assumed to be width == 2.
View Source
var DoubleWidth = &unicode.RangeTable{ R32: []unicode.Range32{ {Lo: 0x1F030, Hi: 0x1F061, Stride: 1}, {Lo: 0x1F100, Hi: 0x1F1FF, Stride: 1}, {Lo: 0x1F200, Hi: 0x1F2FF, Stride: 1}, {Lo: 0x1F300, Hi: 0x1F5FF, Stride: 1}, {Lo: 0x1F600, Hi: 0x1F64F, Stride: 1}, {Lo: 0x1F680, Hi: 0x1F6FF, Stride: 1}, {Lo: 0x1F900, Hi: 0x1F9FF, Stride: 1}, }, }
DoubleWidth is a Unicode Range that can be safely assumed to be Wide, even if not EastAsian{Wide,Fullwidth}.
View Source
var ZeroWidth = rangetable.Merge(unicode.Cf, unicode.Mn, unicode.Me, AdditionalZeroWidth)
ZeroWidth is a Unicode Range that can be expected to be zero-width glyphs on a terminal.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.