diff options
Diffstat (limited to 'library/src/text')
| -rw-r--r-- | library/src/text/shaping.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/text/shaping.rs b/library/src/text/shaping.rs index e670d0d1..b0be8bf6 100644 --- a/library/src/text/shaping.rs +++ b/library/src/text/shaping.rs @@ -90,7 +90,7 @@ impl ShapedGlyph { matches!(self.c.script(), Hiragana | Katakana | Han) || self.c == '\u{30FC}' } - /// See https://www.w3.org/TR/clreq/#punctuation_width_adjustment + /// See <https://www.w3.org/TR/clreq/#punctuation_width_adjustment> pub fn is_cjk_left_aligned_punctuation(&self) -> bool { // CJK quotation marks shares codepoints with latin quotation marks. // But only the CJK ones have full width. @@ -101,7 +101,7 @@ impl ShapedGlyph { matches!(self.c, ',' | '。' | '、' | ':' | ';' | '》' | ')' | '』' | '」') } - /// See https://www.w3.org/TR/clreq/#punctuation_width_adjustment + /// See <https://www.w3.org/TR/clreq/#punctuation_width_adjustment> pub fn is_cjk_right_aligned_punctuation(&self) -> bool { // CJK quotation marks shares codepoints with latin quotation marks. // But only the CJK ones have full width. |
