summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2020-01-23 20:53:24 +0100
committerFearlessTobi <thm.frey@gmail.com>2020-01-24 23:54:19 +0100
commit845a5dbca9a456696202b96ad895e78949790ee8 (patch)
tree2864a28c01bd414edce7f8aa264d8815c6910dbd
parentsystem_archive: Fix Chinese font (diff)
downloadyuzu-845a5dbca9a456696202b96ad895e78949790ee8.tar
yuzu-845a5dbca9a456696202b96ad895e78949790ee8.tar.gz
yuzu-845a5dbca9a456696202b96ad895e78949790ee8.tar.bz2
yuzu-845a5dbca9a456696202b96ad895e78949790ee8.tar.lz
yuzu-845a5dbca9a456696202b96ad895e78949790ee8.tar.xz
yuzu-845a5dbca9a456696202b96ad895e78949790ee8.tar.zst
yuzu-845a5dbca9a456696202b96ad895e78949790ee8.zip
-rw-r--r--src/core/file_sys/system_archive/data/font_chinese_simplified.cpp2
-rw-r--r--src/core/file_sys/system_archive/data/font_extended_chinese_simplified.cpp2
-rw-r--r--src/core/file_sys/system_archive/data/font_korean.cpp2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/system_archive/data/font_chinese_simplified.cpp b/src/core/file_sys/system_archive/data/font_chinese_simplified.cpp
index 545d6ba68..17c16d60e 100644
--- a/src/core/file_sys/system_archive/data/font_chinese_simplified.cpp
+++ b/src/core/file_sys/system_archive/data/font_chinese_simplified.cpp
@@ -6,6 +6,7 @@
namespace FileSys::SystemArchive::SharedFontData {
+// clang-format off
const std::array<unsigned char, 8334256> FONT_CHINESE_SIMPLIFIED{{
0x4f, 0x54, 0x54, 0x4f, 0x00, 0x0e, 0x00, 0x80, 0x00, 0x03, 0x00, 0x60,
0x43, 0x46, 0x46, 0x20, 0xa5, 0x7a, 0x17, 0xe8, 0x00, 0x00, 0x00, 0xf4,
@@ -694530,5 +694531,6 @@ const std::array<unsigned char, 8334256> FONT_CHINESE_SIMPLIFIED{{
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x77, 0x3c,
}};
+// clang-format on
} // namespace FileSys::SystemArchive::SharedFontData
diff --git a/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.cpp b/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.cpp
index 18b8c87e7..5b88444ed 100644
--- a/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.cpp
+++ b/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.cpp
@@ -6,6 +6,7 @@
namespace FileSys::SystemArchive::SharedFontData {
+// clang-format off
const std::array<unsigned char, 293516> FONT_EXTENDED_CHINESE_SIMPLIFIED{{
0x00, 0x01, 0x00, 0x00, 0x00, 0x13, 0x01, 0x00, 0x00, 0x04, 0x00, 0x30, 0x42, 0x41, 0x53, 0x45,
0x65, 0x1e, 0x5d, 0xbd, 0x00, 0x03, 0x1e, 0xf4, 0x00, 0x00, 0x00, 0x46, 0x44, 0x53, 0x49, 0x47,
@@ -18353,5 +18354,6 @@ const std::array<unsigned char, 293516> FONT_EXTENDED_CHINESE_SIMPLIFIED{{
0xbf, 0x6c, 0x52, 0x24, 0x3e, 0xb4, 0xc6, 0x1e, 0xe1, 0x7d, 0xdf, 0x7a, 0x97, 0xeb, 0xb4, 0xe2,
0xda, 0x7e, 0x74, 0xf9, 0x01, 0xc4, 0xbc, 0x7e, 0xf9, 0x00, 0x00, 0x00,
}};
+// clang-format on
} // namespace FileSys::SystemArchive::SharedFontData
diff --git a/src/core/file_sys/system_archive/data/font_korean.cpp b/src/core/file_sys/system_archive/data/font_korean.cpp
index 33ffb35eb..47edae46b 100644
--- a/src/core/file_sys/system_archive/data/font_korean.cpp
+++ b/src/core/file_sys/system_archive/data/font_korean.cpp
@@ -6,6 +6,7 @@
namespace FileSys::SystemArchive::SharedFontData {
+// clang-format off
const std::array<unsigned char, 2227620> FONT_KOREAN{{
0x4f, 0x54, 0x54, 0x4f, 0x00, 0x0e, 0x00, 0x80, 0x00, 0x03, 0x00, 0x60,
0x43, 0x46, 0x46, 0x20, 0x37, 0x0f, 0x97, 0x4f, 0x00, 0x00, 0x00, 0xf4,
@@ -185643,5 +185644,6 @@ const std::array<unsigned char, 2227620> FONT_KOREAN{{
0xfc, 0x16, 0xfd, 0x5b, 0x0b, 0x70, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x37, 0xed,
}};
+// clang-format on
} // namespace FileSys::SystemArchive::SharedFontData