Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing combining characters and punctuation to font stack #858

Merged
merged 2 commits into from
Apr 12, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions scripts/fonts.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@
[126208, 126287],
[126464, 126719]
],
"armenian": [[1328, 1423]],
"armenian": [
[1328, 1423],
[64272, 64279]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add part of Alphabetic Presentation Forms, moved from latin

],
"bengali": [[2432, 2559]],
"bopomofo": [
[12544, 12591],
Expand Down Expand Up @@ -80,6 +83,7 @@
[11648, 11743],
[43776, 43823]
],
"fullwidth": [[65280, 65519]],
"greek": [
[880, 1023],
[7936, 8191],
Expand Down Expand Up @@ -108,7 +112,7 @@
],
"hebrew": [
[1424, 1535],
[64285, 64331]
[64280, 64335]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adjust part of Alphabetic Presentation Forms to include missing characters

],
"hiragana": [[12352, 12447]],
"kanbun": [[12688, 12703]],
Expand All @@ -120,15 +124,14 @@
],
"khmer": [[6016, 6911]],
"latin": [
[33, 767],
[33, 879],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[7424, 7615],
[7680, 7935],
[8304, 8591],
[8192, 8703],
[11360, 11391],
[42784, 43007],
[43824, 43887],
[64256, 64335],
[65280, 65519],
[64256, 64271],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reduce Alphabetic Presentation Forms to just the Latin part

Move fullwidth to its own category to better match CJK text

[67456, 67519],
[122624, 122879]
],
Expand All @@ -152,7 +155,7 @@
},
{
"file": "MPlusRounded1C-regular",
"ranges": ["hiragana", "kanbun", "katakana"]
"ranges": ["fullwidth", "hiragana", "kanbun", "katakana"]
},
{
"file": "NotoSansArabic-regular",
Expand Down Expand Up @@ -262,7 +265,7 @@
},
{
"file": "MPlusRounded1C-700",
"ranges": ["hiragana", "kanbun", "katakana"]
"ranges": ["fullwidth", "hiragana", "kanbun", "katakana"]
},
{
"file": "NotoSansArabic-700",
Expand Down Expand Up @@ -372,7 +375,7 @@
},
{
"file": "MPlusRounded1C-regular",
"ranges": ["hiragana", "kanbun", "katakana"]
"ranges": ["fullwidth", "hiragana", "kanbun", "katakana"]
},
{
"file": "NotoSansArabic-regular",
Expand Down Expand Up @@ -482,7 +485,7 @@
},
{
"file": "MPlusRounded1C-700",
"ranges": ["hiragana", "kanbun", "katakana"]
"ranges": ["fullwidth", "hiragana", "kanbun", "katakana"]
},
{
"file": "NotoSansArabic-700",
Expand Down