From d2ed5a0968ad96c4857c1fb4cf7e58535d0cbf9e Mon Sep 17 00:00:00 2001 From: Jules Bertholet Date: Wed, 16 Sep 2026 17:14:31 -0400 Subject: [PATCH] Fix documentation of Kirat Rai rules --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 90aa064..aa9e5d0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -64,6 +64,7 @@ //! - Is not in the [Enclosed Ideographic Supplement] block. //! - [`'\u{2018}'`, `'\u{2019}'`, `'\u{201C}'`, and `'\u{201D}'`][General Punctuation] always have width 1 //! when followed by `'\u{FE00}'` or `'\u{FE02}'`, and width 2 when followed by `'\u{FE01}'`. +//! - [Kirat Rai] canonical equivalences: Any sequence canonically equivalent to `'\u{16D68}'`, `'\u{16D69}'`, or `'\u{16D6A}'` has total width 1. //! - Script-specific ligatures: //! - For all the following ligatures, the insertion of any number of [default-ignorable][`Default_Ignorable_Code_Point`] //! [combining marks] anywhere in the sequence will not change the total width. In addition, for all non-Arabic @@ -77,7 +78,6 @@ //! - **[Khmer]**: Coeng signs consisting of `'\u{17D2}'` followed by a character in //! `'\u{1780}'..='\u{1782}' | '\u{1784}'..='\u{1787}' | '\u{1789}'..='\u{178C}' | '\u{178E}'..='\u{1793}' | '\u{1795}'..='\u{1798}' | '\u{179B}'..='\u{179D}' | '\u{17A0}' | '\u{17A2}' | '\u{17A7}' | '\u{17AB}'..='\u{17AC}' | '\u{17AF}'` //! have width 0. -//! - **[Kirat Rai]**: Any sequence canonically equivalent to `'\u{16D68}'`, `'\u{16D69}'`, or `'\u{16D6A}'` has total width 1. //! - **[Lisu]**: Tone letter combinations consisting of a character in the range `'\u{A4F8}'..='\u{A4FB}'` //! followed by a character in the range `'\u{A4FC}'..='\u{A4FD}'` have width 1. For example: `ꓹꓼ` //! - **[Old Turkic]**: `"\u{10C32}\u{200D}\u{10C03}"` (`𐰲‍𐰃`) has total width 1.