mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-15 21:14:35 +02:00
...
This commit is contained in:
@@ -407,28 +407,28 @@ character. To do this, characters are divided into various classes, as
|
|||||||
described by the rules below, in order of decreasing priority:
|
described by the rules below, in order of decreasing priority:
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Notation: :code:`[start, stop, step]` means the integeres from :code:`start`
|
Notation: :code:`[start, stop, step]` means the integers from :code:`start`
|
||||||
to :code:`stop` in increments of :code:`step`. When the step is not
|
to :code:`stop` in increments of :code:`step`. When the step is not
|
||||||
specified, it defaults to one.
|
specified, it defaults to one.
|
||||||
|
|
||||||
#. Regional indicators: 26 characters starting at :code:`0x1F1E6`. These all
|
#. *Regional indicators*: 26 characters starting at :code:`0x1F1E6`. These all
|
||||||
have width 2
|
have width 2
|
||||||
|
|
||||||
#. Doublewidth: Parse `EastAsianWidth.txt
|
#. *Doublewidth*: Parse `EastAsianWidth.txt
|
||||||
<https://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt>`__ from
|
<https://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt>`__ from
|
||||||
the Unicode standard. All characters marked :code:`W` or :code:`F` have
|
the Unicode standard. All characters marked :code:`W` or :code:`F` have
|
||||||
width two. All characters in the following ranges have width two *unless*
|
width two. All characters in the following ranges have width two *unless*
|
||||||
they are marked as :code:`A` in :code:`EastAsianWidth.txt`: :code:`[0x3400,
|
they are marked as :code:`A` in :code:`EastAsianWidth.txt`: :code:`[0x3400,
|
||||||
0x4DBF], [0x4E00, 0x9FFF], [0xF900, 0xFAFF], [0x20000, 0x2FFFD], [0x30000, 0x3FFFD]`
|
0x4DBF], [0x4E00, 0x9FFF], [0xF900, 0xFAFF], [0x20000, 0x2FFFD], [0x30000, 0x3FFFD]`
|
||||||
|
|
||||||
#. Wide emoji: Parse `emoji-sequences.txt
|
#. *Wide emoji*: Parse `emoji-sequences.txt
|
||||||
<https://www.unicode.org/Public/emoji/latest/emoji-sequences.txt>`__ from
|
<https://www.unicode.org/Public/emoji/latest/emoji-sequences.txt>`__ from
|
||||||
the Unicode standard. All :code:`Basic_Emoji` have width two unless they are
|
the Unicode standard. All :code:`Basic_Emoji` have width two unless they are
|
||||||
followed by :code:`FE0F` in the file. The leading copdepoints in all
|
followed by :code:`FE0F` in the file. The leading copdepoints in all
|
||||||
:code:`RGI_Emoji_Modifier_Sequence` and :code:`RGI_Emoji_Tag_Sequence` have width two.
|
:code:`RGI_Emoji_Modifier_Sequence` and :code:`RGI_Emoji_Tag_Sequence` have width two.
|
||||||
All codepoints in :code:`RGI_Emoji_Flag_Sequence` have width two.
|
All codepoints in :code:`RGI_Emoji_Flag_Sequence` have width two.
|
||||||
|
|
||||||
#. Marks: These are all zero width characters. They are characters with Unicode
|
#. *Marks*: These are all zero width characters. They are characters with Unicode
|
||||||
categories whose first letter is :code:`M` or :code:`S`. Additionally,
|
categories whose first letter is :code:`M` or :code:`S`. Additionally,
|
||||||
characters with Unicode category: :code:`Cf`. Finally, they include
|
characters with Unicode category: :code:`Cf`. Finally, they include
|
||||||
all modifier codepoints from :code:`RGI_Emoji_Modifier_Sequence` in the
|
all modifier codepoints from :code:`RGI_Emoji_Modifier_Sequence` in the
|
||||||
|
|||||||
Reference in New Issue
Block a user