Update Unicode Ranges

This commit is contained in:
GreenComfyTea
2023-10-10 10:17:36 +03:00
parent 5bdcd1b9cf
commit 0781662344
6 changed files with 82 additions and 46 deletions

View File

@@ -37,39 +37,45 @@ local package = package;
this.language_folder = "MHR Overlay\\languages\\"; this.language_folder = "MHR Overlay\\languages\\";
-- this.traditional_chinese_ranges = { -- this.chinese_ranges = {
-- 0x0020, 0x00FF, -- Basic Latin + Latin Supplement -- 0x0020, 0x00FF, -- Basic Latin + Latin Supplement 32, 255,
-- 0x2000, 0x206F, -- General Punctuation -- 0x2000, 0x206F, -- General Punctuation 8192, 8303,
-- 0x2E80, 0x2EFF, -- CJK Radicals Supplement -- 0x2E80, 0x2EFF, -- CJK Radicals Supplement 11904, 12031,
-- 0x3000, 0x303F, -- CJK Symbols and Punctuations -- 0x3000, 0x303F, -- CJK Symbols and Punctuations 12288, 12351,
-- 0x31F0, 0x31FF, -- Katakana Phonetic Extensions -- 0x3200, 0x4DBF, -- Enclosed CJK Letters and Months, CJK Compatibility, CJK Unified Ideographs Extension A 12800, 19903,
-- 0x3200, 0x4DBF, -- Enclosed CJK Letters and Months, CJK Compatibility, CJK Unified Ideographs Extension A -- 0x4E00, 0x9FAF, -- CJK Unified Ideograms 19968, 40879,
-- 0x4E00, 0x9FAF, -- CJK Unified Ideograms -- 0xF900, 0xFAFF, -- CJK Compatibility Ideographs 63744, 64255,
-- 0xF900, 0xFAFF, -- CJK Compatibility Ideographs -- 0xFE30, 0xFE4F, -- CJK Compatibility Forms 65072, 65103,
-- 0xFE30, 0xFE4F, -- CJK Compatibility Forms -- 0xFF00, 0xFFEF, -- Half-width characters 65280, 65519,
-- 0xFF00, 0xFFEF, -- Half-width characters -- 0
-- }; -- };
-- this.japanese_glyph_ranges = { -- this.japanese_glyph_ranges = {
-- 0x0020, 0x00FF, -- Basic Latin + Latin Supplement -- 0x0020, 0x00FF, -- Basic Latin + Latin Supplement 32, 255,
-- 0x2000, 0x206F, -- General Punctuation -- 0x2000, 0x206F, -- General Punctuation 8192, 8303,
-- 0x2E80, 0x2EFF, -- CJK Radicals Supplement -- 0x2E80, 0x2EFF, -- CJK Radicals Supplement 11904, 12031,
-- 0x3000, 0x30FF, -- CJK Symbols and Punctuations, Hiragana, Katakana -- 0x3000, 0x30FF, -- CJK Symbols and Punctuations, Hiragana, Katakana 12288, 12543,
-- 0x31F0, 0x31FF, -- Katakana Phonetic Extensions -- 0x31F0, 0x4DBF, -- Katakana Phonetic Extensions, Enclosed CJK Letters and Months, CJK Compatibility, CJK Unified Ideographs Extension A 12784, 19903,
-- 0x3200, 0x4DBF, -- Enclosed CJK Letters and Months, CJK Compatibility, CJK Unified Ideographs Extension A -- 0x4E00, 0x9FAF, -- CJK Unified Ideograms 19968, 40879,
-- 0x4E00, 0x9FAF, -- CJK Unified Ideograms -- 0xF900, 0xFAFF, -- CJK Compatibility Ideographs 63744, 64255,
-- 0xF900, 0xFAFF, -- CJK Compatibility Ideographs -- 0xFE30, 0xFE4F, -- CJK Compatibility Forms 65072, 65103,
-- 0xFE30, 0xFE4F, -- CJK Compatibility Forms -- 0xFF00, 0xFFEF, -- Half-width characters 65280, 65519,
-- 0xFF00, 0xFFEF, -- Half-width characters -- 0
-- }; -- };
-- this.korean_glyph_ranges = { -- this.korean_glyph_ranges = {
-- 0x0020, 0x00FF, -- Basic Latin + Latin Supplement -- 0x0020, 0x00FF, -- Basic Latin + Latin Supplement 32, 255,
-- 0x1100, 0x11FF, -- Hangul Jamo -- 0x1100, 0x11FF, -- Hangul Jamo 4352, 4607,
-- 0x2000, 0x206F, -- General Punctuation -- 0x2000, 0x206F, -- General Punctuation 8192, 8303,
-- 0x3130, 0x318F, -- Hangul Compatibility Jamo -- 0x2E80, 0x2EFF, -- CJK Radicals Supplement 11904, 12031,
-- 0xAC00, 0xD7AF, -- Hangul Syllables -- 0x3000, 0x303F, -- CJK Symbols and Punctuations 12288, 12351,
-- 0xFF00, 0xFFEF, -- Half-width characters -- 0x3130, 0x318F, -- Hangul Compatibility Jamo 12592, 12687,
-- 0x3200, 0x4DBF, -- Enclosed CJK Letters and Months, CJK Compatibility, CJK Unified Ideographs Extension A 12800, 19903,
-- 0x4E00, 0x9FAF, -- CJK Unified Ideograms 19968, 40879,
-- 0xAC00, 0xD7AF, -- Hangul Syllables 44032, 55215,
-- 0xF900, 0xFAFF, -- CJK Compatibility Ideographs 63744, 64255,
-- 0xFE30, 0xFE4F, -- CJK Compatibility Forms 65072, 65103,
-- 0xFF00, 0xFFEF, -- Half-width characters 65280, 65519,
-- 0 -- 0
-- } -- }
@@ -77,12 +83,12 @@ this.current_language = {};
this.default_language = { this.default_language = {
font_name = "NotoSans-Bold.otf", font_name = "NotoSans-Bold.otf",
unicode_glyph_ranges = { unicode_glyph_ranges = {
0x0020, 0x00FF, -- Basic Latin + Latin Supplement 0x0020, 0x00FF, -- Basic Latin + Latin Supplement 32, 255,
0x0100, 0x017F, -- Latin Extended-A 0x0100, 0x017F, -- Latin Extended-A 256, 383,
0x0400, 0x052F, -- Cyrillic 0x0400, 0x052F, -- Cyrillic 1024, 1327,
0x1E00, 0x1EFF, -- Latin Extended Additional 0x1E00, 0x1EFF, -- Latin Extended Additional 7680, 7935,
0x2000, 0x206F, -- General Punctuation 0x2000, 0x206F, -- General Punctuation 8192, 8303,
0xFF00, 0xFFEF, -- Halfwidth and Fullwidth Forms 0xFF00, 0xFFEF, -- Halfwidth and Fullwidth Forms 65280, 65519,
0 0
}, },

View File

@@ -602,12 +602,18 @@
255, 255,
8192, 8192,
8303, 8303,
11904,
12031,
12288, 12288,
12543, 12543,
12784, 12784,
12799, 19903,
19968, 19968,
40879, 40879,
63744,
64255,
65072,
65103,
65280, 65280,
65519, 65519,
0 0

View File

@@ -604,10 +604,22 @@
4607, 4607,
8192, 8192,
8303, 8303,
11904,
12031,
12288,
12351,
12592, 12592,
12687, 12687,
12800,
19903,
19968,
40879,
44032, 44032,
55215, 55215,
63744,
64255,
65072,
65103,
65280, 65280,
65519, 65519,
0 0

View File

@@ -409,7 +409,7 @@
"stinkmink": "Пахучка", "stinkmink": "Пахучка",
"yellow_lampsquid": "Жлт. Лампокальм." "yellow_lampsquid": "Жлт. Лампокальм."
}, },
"font_name": "NotoSansKR-Bold.otf", "font_name": "NotoSans-Bold.otf",
"item_buffs": { "item_buffs": {
"adamant_seed": "Адамант. зерно", "adamant_seed": "Адамант. зерно",
"armor_ammo": "Защитные снаряды", "armor_ammo": "Защитные снаряды",
@@ -600,16 +600,16 @@
"unicode_glyph_ranges": [ "unicode_glyph_ranges": [
32, 32,
255, 255,
256,
383,
1024, 1024,
1241, 1327,
7680,
7935,
8192, 8192,
8303, 8303,
65280, 65280,
65519, 65519,
0,
8303,
65280,
65519,
0 0
], ],
"weapon_skills": { "weapon_skills": {

View File

@@ -602,12 +602,18 @@
255, 255,
8192, 8192,
8303, 8303,
11904,
12031,
12288, 12288,
12543, 12351,
12784, 12800,
12799, 19903,
19968, 19968,
40879, 40879,
63744,
64255,
65072,
65103,
65280, 65280,
65519, 65519,
0 0

View File

@@ -602,12 +602,18 @@
255, 255,
8192, 8192,
8303, 8303,
11904,
12031,
12288, 12288,
12543, 12351,
12784, 12800,
12799, 19903,
19968, 19968,
40879, 40879,
63744,
64255,
65072,
65103,
65280, 65280,
65519, 65519,
0 0