Skip to content

Commit

Permalink
Regenerate CodepointWidthDetector from Unicode 15.0 (#14001)
Browse files Browse the repository at this point in the history
Closes #13999
  • Loading branch information
DHowett authored Sep 14, 2022
1 parent 71fc4b1 commit 88c6d7f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/types/CodepointWidthDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ namespace
}

// Generated by Generate-CodepointWidthsFromUCD.ps1 -Pack:True -Full:False -NoOverrides:False
// on 6/13/2022 8:57:08 PM (UTC) from Unicode 14.0.0.
// 321259 (0x4E6EB) codepoints covered.
// on 9/14/2022 7:12:26 PM (UTC) from Unicode 15.0.0.
// 321281 (0x4E701) codepoints covered.
// 240 (0xF0) codepoints overridden.
// Override path: .\src\types\unicode_width_overrides.xml
static constexpr std::array<UnicodeRange, 300> s_wideAndAmbiguousTable{
Expand Down Expand Up @@ -263,7 +263,9 @@ namespace
UnicodeRange{ 0x1aff5, 0x1affb, CodepointWidth::Wide },
UnicodeRange{ 0x1affd, 0x1affe, CodepointWidth::Wide },
UnicodeRange{ 0x1b000, 0x1b122, CodepointWidth::Wide },
UnicodeRange{ 0x1b132, 0x1b132, CodepointWidth::Wide },
UnicodeRange{ 0x1b150, 0x1b152, CodepointWidth::Wide },
UnicodeRange{ 0x1b155, 0x1b155, CodepointWidth::Wide },
UnicodeRange{ 0x1b164, 0x1b167, CodepointWidth::Wide },
UnicodeRange{ 0x1b170, 0x1b2fb, CodepointWidth::Wide },
UnicodeRange{ 0x1f004, 0x1f004, CodepointWidth::Wide },
Expand Down Expand Up @@ -303,23 +305,21 @@ namespace
UnicodeRange{ 0x1f6cc, 0x1f6cc, CodepointWidth::Wide },
UnicodeRange{ 0x1f6d0, 0x1f6d2, CodepointWidth::Wide },
UnicodeRange{ 0x1f6d5, 0x1f6d7, CodepointWidth::Wide },
UnicodeRange{ 0x1f6dd, 0x1f6df, CodepointWidth::Wide },
UnicodeRange{ 0x1f6dc, 0x1f6df, CodepointWidth::Wide },
UnicodeRange{ 0x1f6eb, 0x1f6ec, CodepointWidth::Wide },
UnicodeRange{ 0x1f6f4, 0x1f6fc, CodepointWidth::Wide },
UnicodeRange{ 0x1f7e0, 0x1f7eb, CodepointWidth::Wide },
UnicodeRange{ 0x1f7f0, 0x1f7f0, CodepointWidth::Wide },
UnicodeRange{ 0x1f90c, 0x1f93a, CodepointWidth::Wide },
UnicodeRange{ 0x1f93c, 0x1f945, CodepointWidth::Wide },
UnicodeRange{ 0x1f947, 0x1f9ff, CodepointWidth::Wide },
UnicodeRange{ 0x1fa70, 0x1fa74, CodepointWidth::Wide },
UnicodeRange{ 0x1fa78, 0x1fa7c, CodepointWidth::Wide },
UnicodeRange{ 0x1fa80, 0x1fa86, CodepointWidth::Wide },
UnicodeRange{ 0x1fa90, 0x1faac, CodepointWidth::Wide },
UnicodeRange{ 0x1fab0, 0x1faba, CodepointWidth::Wide },
UnicodeRange{ 0x1fac0, 0x1fac5, CodepointWidth::Wide },
UnicodeRange{ 0x1fad0, 0x1fad9, CodepointWidth::Wide },
UnicodeRange{ 0x1fae0, 0x1fae7, CodepointWidth::Wide },
UnicodeRange{ 0x1faf0, 0x1faf6, CodepointWidth::Wide },
UnicodeRange{ 0x1fa70, 0x1fa7c, CodepointWidth::Wide },
UnicodeRange{ 0x1fa80, 0x1fa88, CodepointWidth::Wide },
UnicodeRange{ 0x1fa90, 0x1fabd, CodepointWidth::Wide },
UnicodeRange{ 0x1fabf, 0x1fac5, CodepointWidth::Wide },
UnicodeRange{ 0x1face, 0x1fadb, CodepointWidth::Wide },
UnicodeRange{ 0x1fae0, 0x1fae8, CodepointWidth::Wide },
UnicodeRange{ 0x1faf0, 0x1faf8, CodepointWidth::Wide },
UnicodeRange{ 0x20000, 0x2fffd, CodepointWidth::Wide },
UnicodeRange{ 0x30000, 0x3fffd, CodepointWidth::Wide },
UnicodeRange{ 0xe0100, 0xe01ef, CodepointWidth::Ambiguous },
Expand Down

0 comments on commit 88c6d7f

Please sign in to comment.