diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-07 18:03:27 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-07 18:03:27 +0300 |
commit | 3d1a4a8e68fa673fed311710dd9303e928eea663 (patch) | |
tree | d59bdd26b8ddbdce9877f671188d878cc087cd89 | |
parent | c9ded71342f4e47b48151782a48fc488a5f63e56 (diff) |
Package all fonts into .fontpacks
All fonts except default.fontpack will be distributed separately, or at least outside of resources.lgr.
-rw-r--r-- | CMakeLists.txt | 42 | ||||
-rw-r--r-- | res/Embed.cmake | 2 | ||||
-rw-r--r-- | res/Fontpack.cmake | 16 | ||||
-rw-r--r-- | res/arabic.fontpack/LICENSE_OFL.txt (renamed from res/fonts/LICENSE_OFL.txt) | 0 | ||||
-rw-r--r-- | res/arabic.fontpack/NotoSansArabicUI-Regular.ttf (renamed from res/fonts/NotoSansArabicUI-Regular.ttf) | bin | 138624 -> 138624 bytes | |||
-rw-r--r-- | res/arabic.fontpack/fontpack.ini | 4 | ||||
-rw-r--r-- | res/cjk.fontpack/LICENSE_NanumGothic.txt (renamed from res/fonts/LICENSE_NanumGothic.txt) | 0 | ||||
-rw-r--r-- | res/cjk.fontpack/LICENSE_OFL.txt | 92 | ||||
-rw-r--r-- | res/cjk.fontpack/NanumGothic-Regular.ttf (renamed from res/fonts/NanumGothic-Regular.ttf) | bin | 4091796 -> 4091796 bytes | |||
-rw-r--r-- | res/cjk.fontpack/NotoSansJP-Regular.ttf (renamed from res/fonts/NotoSansJP-Regular.ttf) | bin | 5636040 -> 5636040 bytes | |||
-rw-r--r-- | res/cjk.fontpack/NotoSansSC-Regular.ttf (renamed from res/fonts/NotoSansSC-Regular.ttf) | bin | 10237648 -> 10237648 bytes | |||
-rw-r--r-- | res/cjk.fontpack/fontpack.ini | 16 | ||||
-rw-r--r-- | res/default.fontpack/IosevkaTerm-Extended.ttf (renamed from res/fonts/IosevkaTerm-Extended.ttf) | bin | 1503504 -> 1503504 bytes | |||
-rw-r--r-- | res/default.fontpack/LICENSE_OFL.txt | 92 | ||||
-rw-r--r-- | res/default.fontpack/LICENSE_SmolEmoji.txt (renamed from res/fonts/LICENSE_SmolEmoji.txt) | 0 | ||||
-rw-r--r-- | res/default.fontpack/NotoEmoji-Regular.ttf (renamed from res/fonts/NotoEmoji-Regular.ttf) | bin | 418804 -> 418804 bytes | |||
-rw-r--r-- | res/default.fontpack/NotoSansSymbols-Regular.ttf (renamed from res/fonts/NotoSansSymbols-Regular.ttf) | bin | 168520 -> 168520 bytes | |||
-rw-r--r-- | res/default.fontpack/NotoSansSymbols2-Regular.ttf (renamed from res/fonts/NotoSansSymbols2-Regular.ttf) | bin | 583072 -> 583072 bytes | |||
-rw-r--r-- | res/default.fontpack/SmolEmoji-Regular.ttf (renamed from res/fonts/SmolEmoji-Regular.ttf) | bin | 58392 -> 58392 bytes | |||
-rw-r--r-- | res/default.fontpack/SourceSans3-Bold.ttf (renamed from res/fonts/SourceSans3-Bold.ttf) | bin | 298256 -> 298256 bytes | |||
-rw-r--r-- | res/default.fontpack/SourceSans3-ExtraLight.ttf (renamed from res/fonts/SourceSans3-ExtraLight.ttf) | bin | 293932 -> 293932 bytes | |||
-rw-r--r-- | res/default.fontpack/SourceSans3-It.ttf (renamed from res/fonts/SourceSans3-It.ttf) | bin | 214992 -> 214992 bytes | |||
-rw-r--r-- | res/default.fontpack/SourceSans3-Regular.ttf (renamed from res/fonts/SourceSans3-Regular.ttf) | bin | 299252 -> 299252 bytes | |||
-rw-r--r-- | res/default.fontpack/SourceSans3-Semibold.ttf (renamed from res/fonts/SourceSans3-Semibold.ttf) | bin | 298888 -> 298888 bytes | |||
-rw-r--r-- | res/default.fontpack/fontpack.ini (renamed from res/fonts/fontpack.ini) | 0 | ||||
-rw-r--r-- | res/firasans.fontpack/FiraSans-Bold.ttf (renamed from res/fonts/FiraSans-Bold.ttf) | bin | 438028 -> 438028 bytes | |||
-rw-r--r-- | res/firasans.fontpack/FiraSans-Italic.ttf (renamed from res/fonts/FiraSans-Italic.ttf) | bin | 411640 -> 411640 bytes | |||
-rw-r--r-- | res/firasans.fontpack/FiraSans-Light.ttf (renamed from res/fonts/FiraSans-Light.ttf) | bin | 397116 -> 397116 bytes | |||
-rw-r--r-- | res/firasans.fontpack/FiraSans-Regular.ttf (renamed from res/fonts/FiraSans-Regular.ttf) | bin | 403924 -> 403924 bytes | |||
-rw-r--r-- | res/firasans.fontpack/FiraSans-SemiBold.ttf (renamed from res/fonts/FiraSans-SemiBold.ttf) | bin | 437824 -> 437824 bytes | |||
-rw-r--r-- | res/firasans.fontpack/LICENSE_OFL.txt | 92 | ||||
-rw-r--r-- | res/firasans.fontpack/fontpack.ini | 8 | ||||
-rw-r--r-- | res/fonts/LICENSE_KosugiMaru.txt | 202 | ||||
-rw-r--r-- | res/fonts/NotoSansArabic-Regular.ttf | bin | 140400 -> 0 bytes | |||
-rw-r--r-- | res/literata.fontpack/LICENSE_Literata.txt (renamed from res/fonts/LICENSE_Literata.txt) | 0 | ||||
-rw-r--r-- | res/literata.fontpack/Literata-Bold-opsz=36.ttf (renamed from res/fonts/Literata-Bold-opsz=36.ttf) | bin | 241016 -> 241016 bytes | |||
-rw-r--r-- | res/literata.fontpack/Literata-ExtraLight-opsz=18.ttf (renamed from res/fonts/Literata-ExtraLight-opsz=18.ttf) | bin | 240008 -> 240008 bytes | |||
-rw-r--r-- | res/literata.fontpack/Literata-LightItalic-opsz=10.ttf (renamed from res/fonts/Literata-LightItalic-opsz=10.ttf) | bin | 232220 -> 232220 bytes | |||
-rw-r--r-- | res/literata.fontpack/Literata-Regular-opsz=14.ttf (renamed from res/fonts/Literata-Regular-opsz=14.ttf) | bin | 240196 -> 240196 bytes | |||
-rw-r--r-- | res/literata.fontpack/fontpack.ini | 6 | ||||
-rw-r--r-- | res/nunito.fontpack/LICENSE_Nunito.txt (renamed from res/fonts/LICENSE_Nunito.txt) | 0 | ||||
-rw-r--r-- | res/nunito.fontpack/Nunito-Bold.ttf (renamed from res/fonts/Nunito-Bold.ttf) | bin | 154140 -> 154140 bytes | |||
-rw-r--r-- | res/nunito.fontpack/Nunito-ExtraBold.ttf (renamed from res/fonts/Nunito-ExtraBold.ttf) | bin | 156188 -> 156188 bytes | |||
-rw-r--r-- | res/nunito.fontpack/Nunito-ExtraLight.ttf (renamed from res/fonts/Nunito-ExtraLight.ttf) | bin | 151356 -> 151356 bytes | |||
-rw-r--r-- | res/nunito.fontpack/Nunito-LightItalic.ttf (renamed from res/fonts/Nunito-LightItalic.ttf) | bin | 157416 -> 157416 bytes | |||
-rw-r--r-- | res/nunito.fontpack/Nunito-Regular.ttf (renamed from res/fonts/Nunito-Regular.ttf) | bin | 154312 -> 154312 bytes | |||
-rw-r--r-- | res/nunito.fontpack/fontpack.ini | 7 | ||||
-rw-r--r-- | res/tinos.fontpack/Tinos-Bold.ttf (renamed from res/fonts/Tinos-Bold.ttf) | bin | 431016 -> 431016 bytes | |||
-rw-r--r-- | res/tinos.fontpack/Tinos-Italic.ttf (renamed from res/fonts/Tinos-Italic.ttf) | bin | 435536 -> 435536 bytes | |||
-rw-r--r-- | res/tinos.fontpack/Tinos-Regular.ttf (renamed from res/fonts/Tinos-Regular.ttf) | bin | 454360 -> 454360 bytes | |||
-rw-r--r-- | res/tinos.fontpack/fontpack.ini | 5 |
51 files changed, 350 insertions, 234 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b22d0bf..4031c3c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -18,7 +18,7 @@ | |||
18 | cmake_minimum_required (VERSION 3.9) | 18 | cmake_minimum_required (VERSION 3.9) |
19 | 19 | ||
20 | project (Lagrange | 20 | project (Lagrange |
21 | VERSION 1.7.1 | 21 | VERSION 1.8.0 |
22 | DESCRIPTION "A Beautiful Gemini Client" | 22 | DESCRIPTION "A Beautiful Gemini Client" |
23 | LANGUAGES C | 23 | LANGUAGES C |
24 | ) | 24 | ) |
@@ -59,10 +59,18 @@ option (ENABLE_X11_SWRENDER "Use software rendering (X11)" OFF) | |||
59 | 59 | ||
60 | include (BuildType.cmake) | 60 | include (BuildType.cmake) |
61 | include (res/Embed.cmake) | 61 | include (res/Embed.cmake) |
62 | include (res/Fontpack.cmake) | ||
62 | include (Depends.cmake) | 63 | include (Depends.cmake) |
63 | 64 | ||
64 | # Embedded resources are written to a generated source file. | 65 | # Embedded resources are written to a generated source file. |
65 | message (STATUS "Preparing embedded resources...") | 66 | message (STATUS "Preparing embedded resources...") |
67 | make_fontpack (res/default.fontpack) | ||
68 | make_fontpack (res/arabic.fontpack) | ||
69 | make_fontpack (res/cjk.fontpack) | ||
70 | make_fontpack (res/firasans.fontpack) | ||
71 | make_fontpack (res/literata.fontpack) | ||
72 | make_fontpack (res/nunito.fontpack) | ||
73 | make_fontpack (res/tinos.fontpack) | ||
66 | # Fonts are too large to comfortably embed as a C source. | 74 | # Fonts are too large to comfortably embed as a C source. |
67 | set (EMBED_RESOURCES | 75 | set (EMBED_RESOURCES |
68 | res/about/about.gmi | 76 | res/about/about.gmi |
@@ -71,37 +79,6 @@ set (EMBED_RESOURCES | |||
71 | res/about/license.gmi | 79 | res/about/license.gmi |
72 | res/about/version.gmi | 80 | res/about/version.gmi |
73 | res/arg-help.txt | 81 | res/arg-help.txt |
74 | res/fonts/Tinos-Regular.ttf | ||
75 | res/fonts/Tinos-Italic.ttf | ||
76 | res/fonts/Tinos-Bold.ttf | ||
77 | res/fonts/IosevkaTerm-Extended.ttf | ||
78 | res/fonts/FiraSans-Bold.ttf | ||
79 | res/fonts/FiraSans-Italic.ttf | ||
80 | res/fonts/FiraSans-Light.ttf | ||
81 | res/fonts/FiraSans-Regular.ttf | ||
82 | res/fonts/FiraSans-SemiBold.ttf | ||
83 | res/fonts/Literata-Regular-opsz=14.ttf | ||
84 | res/fonts/Literata-Bold-opsz=36.ttf | ||
85 | res/fonts/Literata-ExtraLight-opsz=18.ttf | ||
86 | res/fonts/Literata-LightItalic-opsz=10.ttf | ||
87 | res/fonts/NanumGothic-Regular.ttf | ||
88 | res/fonts/NotoEmoji-Regular.ttf | ||
89 | res/fonts/NotoSansArabicUI-Regular.ttf | ||
90 | res/fonts/NotoSansJP-Regular.ttf | ||
91 | res/fonts/NotoSansSC-Regular.ttf | ||
92 | res/fonts/NotoSansSymbols-Regular.ttf | ||
93 | res/fonts/NotoSansSymbols2-Regular.ttf | ||
94 | res/fonts/Nunito-Bold.ttf | ||
95 | res/fonts/Nunito-ExtraBold.ttf | ||
96 | res/fonts/Nunito-ExtraLight.ttf | ||
97 | res/fonts/Nunito-LightItalic.ttf | ||
98 | res/fonts/Nunito-Regular.ttf | ||
99 | res/fonts/SmolEmoji-Regular.ttf | ||
100 | res/fonts/SourceSans3-Bold.ttf | ||
101 | res/fonts/SourceSans3-ExtraLight.ttf | ||
102 | res/fonts/SourceSans3-It.ttf | ||
103 | res/fonts/SourceSans3-Regular.ttf | ||
104 | res/fonts/SourceSans3-Semibold.ttf | ||
105 | res/lang/de.bin | 82 | res/lang/de.bin |
106 | res/lang/en.bin | 83 | res/lang/en.bin |
107 | res/lang/eo.bin | 84 | res/lang/eo.bin |
@@ -121,6 +98,7 @@ set (EMBED_RESOURCES | |||
121 | res/lang/zh_Hans.bin | 98 | res/lang/zh_Hans.bin |
122 | res/lang/zh_Hant.bin | 99 | res/lang/zh_Hant.bin |
123 | res/shadow.png | 100 | res/shadow.png |
101 | ${CMAKE_BINARY_DIR}/default.fontpack | ||
124 | ) | 102 | ) |
125 | if ((UNIX AND NOT APPLE) OR MSYS) | 103 | if ((UNIX AND NOT APPLE) OR MSYS) |
126 | list (APPEND EMBED_RESOURCES res/lagrange-64.png) | 104 | list (APPEND EMBED_RESOURCES res/lagrange-64.png) |
diff --git a/res/Embed.cmake b/res/Embed.cmake index d9f84ed5..fe859dbc 100644 --- a/res/Embed.cmake +++ b/res/Embed.cmake | |||
@@ -34,6 +34,8 @@ function (embed_getname output fn) | |||
34 | get_filename_component (ext ${fn} EXT) | 34 | get_filename_component (ext ${fn} EXT) |
35 | if (ext STREQUAL .ttf) | 35 | if (ext STREQUAL .ttf) |
36 | set (resName "font") | 36 | set (resName "font") |
37 | elseif (ext STREQUAL .fontpack) | ||
38 | set (resName "fontpack") | ||
37 | elseif (ext STREQUAL .png) | 39 | elseif (ext STREQUAL .png) |
38 | set (resName "image") | 40 | set (resName "image") |
39 | else () | 41 | else () |
diff --git a/res/Fontpack.cmake b/res/Fontpack.cmake new file mode 100644 index 00000000..9471c93d --- /dev/null +++ b/res/Fontpack.cmake | |||
@@ -0,0 +1,16 @@ | |||
1 | find_program (ZIP_EXECUTABLE zip DOC "ZIP archiver") | ||
2 | |||
3 | function (make_fontpack src) | ||
4 | get_filename_component (dst ${src} NAME) | ||
5 | set (fn ${CMAKE_BINARY_DIR}/${dst}) | ||
6 | execute_process (COMMAND ${CMAKE_COMMAND} -E remove ${fn}) | ||
7 | file (GLOB files RELATIVE ${CMAKE_SOURCE_DIR}/${src} | ||
8 | ${CMAKE_SOURCE_DIR}/${src}/* | ||
9 | ) | ||
10 | message (STATUS " ${src}") | ||
11 | execute_process ( | ||
12 | COMMAND ${ZIP_EXECUTABLE} -0 ${fn} ${files} | ||
13 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/${src} | ||
14 | OUTPUT_QUIET | ||
15 | ) | ||
16 | endfunction () | ||
diff --git a/res/fonts/LICENSE_OFL.txt b/res/arabic.fontpack/LICENSE_OFL.txt index d952d62c..d952d62c 100644 --- a/res/fonts/LICENSE_OFL.txt +++ b/res/arabic.fontpack/LICENSE_OFL.txt | |||
diff --git a/res/fonts/NotoSansArabicUI-Regular.ttf b/res/arabic.fontpack/NotoSansArabicUI-Regular.ttf index 89b02b31..89b02b31 100644 --- a/res/fonts/NotoSansArabicUI-Regular.ttf +++ b/res/arabic.fontpack/NotoSansArabicUI-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/arabic.fontpack/fontpack.ini b/res/arabic.fontpack/fontpack.ini new file mode 100644 index 00000000..e35efaad --- /dev/null +++ b/res/arabic.fontpack/fontpack.ini | |||
@@ -0,0 +1,4 @@ | |||
1 | [arabic] | ||
2 | name = "Noto Sans Arabic UI" | ||
3 | auxiliary = true | ||
4 | regular = "NotoSansArabicUI.ttf" | ||
diff --git a/res/fonts/LICENSE_NanumGothic.txt b/res/cjk.fontpack/LICENSE_NanumGothic.txt index 69ff4015..69ff4015 100644 --- a/res/fonts/LICENSE_NanumGothic.txt +++ b/res/cjk.fontpack/LICENSE_NanumGothic.txt | |||
diff --git a/res/cjk.fontpack/LICENSE_OFL.txt b/res/cjk.fontpack/LICENSE_OFL.txt new file mode 100644 index 00000000..d952d62c --- /dev/null +++ b/res/cjk.fontpack/LICENSE_OFL.txt | |||
@@ -0,0 +1,92 @@ | |||
1 | This Font Software is licensed under the SIL Open Font License, | ||
2 | Version 1.1. | ||
3 | |||
4 | This license is copied below, and is also available with a FAQ at: | ||
5 | http://scripts.sil.org/OFL | ||
6 | |||
7 | ----------------------------------------------------------- | ||
8 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 | ||
9 | ----------------------------------------------------------- | ||
10 | |||
11 | PREAMBLE | ||
12 | The goals of the Open Font License (OFL) are to stimulate worldwide | ||
13 | development of collaborative font projects, to support the font | ||
14 | creation efforts of academic and linguistic communities, and to | ||
15 | provide a free and open framework in which fonts may be shared and | ||
16 | improved in partnership with others. | ||
17 | |||
18 | The OFL allows the licensed fonts to be used, studied, modified and | ||
19 | redistributed freely as long as they are not sold by themselves. The | ||
20 | fonts, including any derivative works, can be bundled, embedded, | ||
21 | redistributed and/or sold with any software provided that any reserved | ||
22 | names are not used by derivative works. The fonts and derivatives, | ||
23 | however, cannot be released under any other type of license. The | ||
24 | requirement for fonts to remain under this license does not apply to | ||
25 | any document created using the fonts or their derivatives. | ||
26 | |||
27 | DEFINITIONS | ||
28 | "Font Software" refers to the set of files released by the Copyright | ||
29 | Holder(s) under this license and clearly marked as such. This may | ||
30 | include source files, build scripts and documentation. | ||
31 | |||
32 | "Reserved Font Name" refers to any names specified as such after the | ||
33 | copyright statement(s). | ||
34 | |||
35 | "Original Version" refers to the collection of Font Software | ||
36 | components as distributed by the Copyright Holder(s). | ||
37 | |||
38 | "Modified Version" refers to any derivative made by adding to, | ||
39 | deleting, or substituting -- in part or in whole -- any of the | ||
40 | components of the Original Version, by changing formats or by porting | ||
41 | the Font Software to a new environment. | ||
42 | |||
43 | "Author" refers to any designer, engineer, programmer, technical | ||
44 | writer or other person who contributed to the Font Software. | ||
45 | |||
46 | PERMISSION & CONDITIONS | ||
47 | Permission is hereby granted, free of charge, to any person obtaining | ||
48 | a copy of the Font Software, to use, study, copy, merge, embed, | ||
49 | modify, redistribute, and sell modified and unmodified copies of the | ||
50 | Font Software, subject to the following conditions: | ||
51 | |||
52 | 1) Neither the Font Software nor any of its individual components, in | ||
53 | Original or Modified Versions, may be sold by itself. | ||
54 | |||
55 | 2) Original or Modified Versions of the Font Software may be bundled, | ||
56 | redistributed and/or sold with any software, provided that each copy | ||
57 | contains the above copyright notice and this license. These can be | ||
58 | included either as stand-alone text files, human-readable headers or | ||
59 | in the appropriate machine-readable metadata fields within text or | ||
60 | binary files as long as those fields can be easily viewed by the user. | ||
61 | |||
62 | 3) No Modified Version of the Font Software may use the Reserved Font | ||
63 | Name(s) unless explicit written permission is granted by the | ||
64 | corresponding Copyright Holder. This restriction only applies to the | ||
65 | primary font name as presented to the users. | ||
66 | |||
67 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font | ||
68 | Software shall not be used to promote, endorse or advertise any | ||
69 | Modified Version, except to acknowledge the contribution(s) of the | ||
70 | Copyright Holder(s) and the Author(s) or with their explicit written | ||
71 | permission. | ||
72 | |||
73 | 5) The Font Software, modified or unmodified, in part or in whole, | ||
74 | must be distributed entirely under this license, and must not be | ||
75 | distributed under any other license. The requirement for fonts to | ||
76 | remain under this license does not apply to any document created using | ||
77 | the Font Software. | ||
78 | |||
79 | TERMINATION | ||
80 | This license becomes null and void if any of the above conditions are | ||
81 | not met. | ||
82 | |||
83 | DISCLAIMER | ||
84 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
85 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF | ||
86 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT | ||
87 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE | ||
88 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
89 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL | ||
90 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
91 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM | ||
92 | OTHER DEALINGS IN THE FONT SOFTWARE. | ||
diff --git a/res/fonts/NanumGothic-Regular.ttf b/res/cjk.fontpack/NanumGothic-Regular.ttf index 6e4dd874..6e4dd874 100644 --- a/res/fonts/NanumGothic-Regular.ttf +++ b/res/cjk.fontpack/NanumGothic-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/NotoSansJP-Regular.ttf b/res/cjk.fontpack/NotoSansJP-Regular.ttf index 9a35ce95..9a35ce95 100644 --- a/res/fonts/NotoSansJP-Regular.ttf +++ b/res/cjk.fontpack/NotoSansJP-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/NotoSansSC-Regular.ttf b/res/cjk.fontpack/NotoSansSC-Regular.ttf index 5bf2eb48..5bf2eb48 100644 --- a/res/fonts/NotoSansSC-Regular.ttf +++ b/res/cjk.fontpack/NotoSansSC-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/cjk.fontpack/fontpack.ini b/res/cjk.fontpack/fontpack.ini new file mode 100644 index 00000000..5a4bfbac --- /dev/null +++ b/res/cjk.fontpack/fontpack.ini | |||
@@ -0,0 +1,16 @@ | |||
1 | [notosansjp] | ||
2 | name = "Noto Sans JP" | ||
3 | auxiliary = true | ||
4 | priority = 3 | ||
5 | regular = "NotoSansJP-Regular.ttf" | ||
6 | |||
7 | [notosanssc] | ||
8 | name = "Noto Sans SC" | ||
9 | auxiliary = true | ||
10 | priority = 2 | ||
11 | regular = "NotoSansSC-Regular.ttf" | ||
12 | |||
13 | [nanumgothic] | ||
14 | name = "Nanum Gothic" | ||
15 | regular = "NanumGothic-Regular.ttf" | ||
16 | priority = 1 | ||
diff --git a/res/fonts/IosevkaTerm-Extended.ttf b/res/default.fontpack/IosevkaTerm-Extended.ttf index 16989a85..16989a85 100644 --- a/res/fonts/IosevkaTerm-Extended.ttf +++ b/res/default.fontpack/IosevkaTerm-Extended.ttf | |||
Binary files differ | |||
diff --git a/res/default.fontpack/LICENSE_OFL.txt b/res/default.fontpack/LICENSE_OFL.txt new file mode 100644 index 00000000..d952d62c --- /dev/null +++ b/res/default.fontpack/LICENSE_OFL.txt | |||
@@ -0,0 +1,92 @@ | |||
1 | This Font Software is licensed under the SIL Open Font License, | ||
2 | Version 1.1. | ||
3 | |||
4 | This license is copied below, and is also available with a FAQ at: | ||
5 | http://scripts.sil.org/OFL | ||
6 | |||
7 | ----------------------------------------------------------- | ||
8 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 | ||
9 | ----------------------------------------------------------- | ||
10 | |||
11 | PREAMBLE | ||
12 | The goals of the Open Font License (OFL) are to stimulate worldwide | ||
13 | development of collaborative font projects, to support the font | ||
14 | creation efforts of academic and linguistic communities, and to | ||
15 | provide a free and open framework in which fonts may be shared and | ||
16 | improved in partnership with others. | ||
17 | |||
18 | The OFL allows the licensed fonts to be used, studied, modified and | ||
19 | redistributed freely as long as they are not sold by themselves. The | ||
20 | fonts, including any derivative works, can be bundled, embedded, | ||
21 | redistributed and/or sold with any software provided that any reserved | ||
22 | names are not used by derivative works. The fonts and derivatives, | ||
23 | however, cannot be released under any other type of license. The | ||
24 | requirement for fonts to remain under this license does not apply to | ||
25 | any document created using the fonts or their derivatives. | ||
26 | |||
27 | DEFINITIONS | ||
28 | "Font Software" refers to the set of files released by the Copyright | ||
29 | Holder(s) under this license and clearly marked as such. This may | ||
30 | include source files, build scripts and documentation. | ||
31 | |||
32 | "Reserved Font Name" refers to any names specified as such after the | ||
33 | copyright statement(s). | ||
34 | |||
35 | "Original Version" refers to the collection of Font Software | ||
36 | components as distributed by the Copyright Holder(s). | ||
37 | |||
38 | "Modified Version" refers to any derivative made by adding to, | ||
39 | deleting, or substituting -- in part or in whole -- any of the | ||
40 | components of the Original Version, by changing formats or by porting | ||
41 | the Font Software to a new environment. | ||
42 | |||
43 | "Author" refers to any designer, engineer, programmer, technical | ||
44 | writer or other person who contributed to the Font Software. | ||
45 | |||
46 | PERMISSION & CONDITIONS | ||
47 | Permission is hereby granted, free of charge, to any person obtaining | ||
48 | a copy of the Font Software, to use, study, copy, merge, embed, | ||
49 | modify, redistribute, and sell modified and unmodified copies of the | ||
50 | Font Software, subject to the following conditions: | ||
51 | |||
52 | 1) Neither the Font Software nor any of its individual components, in | ||
53 | Original or Modified Versions, may be sold by itself. | ||
54 | |||
55 | 2) Original or Modified Versions of the Font Software may be bundled, | ||
56 | redistributed and/or sold with any software, provided that each copy | ||
57 | contains the above copyright notice and this license. These can be | ||
58 | included either as stand-alone text files, human-readable headers or | ||
59 | in the appropriate machine-readable metadata fields within text or | ||
60 | binary files as long as those fields can be easily viewed by the user. | ||
61 | |||
62 | 3) No Modified Version of the Font Software may use the Reserved Font | ||
63 | Name(s) unless explicit written permission is granted by the | ||
64 | corresponding Copyright Holder. This restriction only applies to the | ||
65 | primary font name as presented to the users. | ||
66 | |||
67 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font | ||
68 | Software shall not be used to promote, endorse or advertise any | ||
69 | Modified Version, except to acknowledge the contribution(s) of the | ||
70 | Copyright Holder(s) and the Author(s) or with their explicit written | ||
71 | permission. | ||
72 | |||
73 | 5) The Font Software, modified or unmodified, in part or in whole, | ||
74 | must be distributed entirely under this license, and must not be | ||
75 | distributed under any other license. The requirement for fonts to | ||
76 | remain under this license does not apply to any document created using | ||
77 | the Font Software. | ||
78 | |||
79 | TERMINATION | ||
80 | This license becomes null and void if any of the above conditions are | ||
81 | not met. | ||
82 | |||
83 | DISCLAIMER | ||
84 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
85 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF | ||
86 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT | ||
87 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE | ||
88 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
89 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL | ||
90 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
91 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM | ||
92 | OTHER DEALINGS IN THE FONT SOFTWARE. | ||
diff --git a/res/fonts/LICENSE_SmolEmoji.txt b/res/default.fontpack/LICENSE_SmolEmoji.txt index 3513b65a..3513b65a 100644 --- a/res/fonts/LICENSE_SmolEmoji.txt +++ b/res/default.fontpack/LICENSE_SmolEmoji.txt | |||
diff --git a/res/fonts/NotoEmoji-Regular.ttf b/res/default.fontpack/NotoEmoji-Regular.ttf index 19b7badf..19b7badf 100644 --- a/res/fonts/NotoEmoji-Regular.ttf +++ b/res/default.fontpack/NotoEmoji-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/NotoSansSymbols-Regular.ttf b/res/default.fontpack/NotoSansSymbols-Regular.ttf index 68847551..68847551 100644 --- a/res/fonts/NotoSansSymbols-Regular.ttf +++ b/res/default.fontpack/NotoSansSymbols-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/NotoSansSymbols2-Regular.ttf b/res/default.fontpack/NotoSansSymbols2-Regular.ttf index 79706435..79706435 100644 --- a/res/fonts/NotoSansSymbols2-Regular.ttf +++ b/res/default.fontpack/NotoSansSymbols2-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/SmolEmoji-Regular.ttf b/res/default.fontpack/SmolEmoji-Regular.ttf index 7fdbace5..7fdbace5 100644 --- a/res/fonts/SmolEmoji-Regular.ttf +++ b/res/default.fontpack/SmolEmoji-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/SourceSans3-Bold.ttf b/res/default.fontpack/SourceSans3-Bold.ttf index 486ede63..486ede63 100644 --- a/res/fonts/SourceSans3-Bold.ttf +++ b/res/default.fontpack/SourceSans3-Bold.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/SourceSans3-ExtraLight.ttf b/res/default.fontpack/SourceSans3-ExtraLight.ttf index 53e1541c..53e1541c 100644 --- a/res/fonts/SourceSans3-ExtraLight.ttf +++ b/res/default.fontpack/SourceSans3-ExtraLight.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/SourceSans3-It.ttf b/res/default.fontpack/SourceSans3-It.ttf index 9823601c..9823601c 100644 --- a/res/fonts/SourceSans3-It.ttf +++ b/res/default.fontpack/SourceSans3-It.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/SourceSans3-Regular.ttf b/res/default.fontpack/SourceSans3-Regular.ttf index f6d31e8c..f6d31e8c 100644 --- a/res/fonts/SourceSans3-Regular.ttf +++ b/res/default.fontpack/SourceSans3-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/SourceSans3-Semibold.ttf b/res/default.fontpack/SourceSans3-Semibold.ttf index d4774aab..d4774aab 100644 --- a/res/fonts/SourceSans3-Semibold.ttf +++ b/res/default.fontpack/SourceSans3-Semibold.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/fontpack.ini b/res/default.fontpack/fontpack.ini index c86dfd59..c86dfd59 100644 --- a/res/fonts/fontpack.ini +++ b/res/default.fontpack/fontpack.ini | |||
diff --git a/res/fonts/FiraSans-Bold.ttf b/res/firasans.fontpack/FiraSans-Bold.ttf index 95e16602..95e16602 100644 --- a/res/fonts/FiraSans-Bold.ttf +++ b/res/firasans.fontpack/FiraSans-Bold.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/FiraSans-Italic.ttf b/res/firasans.fontpack/FiraSans-Italic.ttf index f5e49144..f5e49144 100644 --- a/res/fonts/FiraSans-Italic.ttf +++ b/res/firasans.fontpack/FiraSans-Italic.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/FiraSans-Light.ttf b/res/firasans.fontpack/FiraSans-Light.ttf index 2ad0374b..2ad0374b 100644 --- a/res/fonts/FiraSans-Light.ttf +++ b/res/firasans.fontpack/FiraSans-Light.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/FiraSans-Regular.ttf b/res/firasans.fontpack/FiraSans-Regular.ttf index d9fdc0e9..d9fdc0e9 100644 --- a/res/fonts/FiraSans-Regular.ttf +++ b/res/firasans.fontpack/FiraSans-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/FiraSans-SemiBold.ttf b/res/firasans.fontpack/FiraSans-SemiBold.ttf index 821a43d7..821a43d7 100644 --- a/res/fonts/FiraSans-SemiBold.ttf +++ b/res/firasans.fontpack/FiraSans-SemiBold.ttf | |||
Binary files differ | |||
diff --git a/res/firasans.fontpack/LICENSE_OFL.txt b/res/firasans.fontpack/LICENSE_OFL.txt new file mode 100644 index 00000000..d952d62c --- /dev/null +++ b/res/firasans.fontpack/LICENSE_OFL.txt | |||
@@ -0,0 +1,92 @@ | |||
1 | This Font Software is licensed under the SIL Open Font License, | ||
2 | Version 1.1. | ||
3 | |||
4 | This license is copied below, and is also available with a FAQ at: | ||
5 | http://scripts.sil.org/OFL | ||
6 | |||
7 | ----------------------------------------------------------- | ||
8 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 | ||
9 | ----------------------------------------------------------- | ||
10 | |||
11 | PREAMBLE | ||
12 | The goals of the Open Font License (OFL) are to stimulate worldwide | ||
13 | development of collaborative font projects, to support the font | ||
14 | creation efforts of academic and linguistic communities, and to | ||
15 | provide a free and open framework in which fonts may be shared and | ||
16 | improved in partnership with others. | ||
17 | |||
18 | The OFL allows the licensed fonts to be used, studied, modified and | ||
19 | redistributed freely as long as they are not sold by themselves. The | ||
20 | fonts, including any derivative works, can be bundled, embedded, | ||
21 | redistributed and/or sold with any software provided that any reserved | ||
22 | names are not used by derivative works. The fonts and derivatives, | ||
23 | however, cannot be released under any other type of license. The | ||
24 | requirement for fonts to remain under this license does not apply to | ||
25 | any document created using the fonts or their derivatives. | ||
26 | |||
27 | DEFINITIONS | ||
28 | "Font Software" refers to the set of files released by the Copyright | ||
29 | Holder(s) under this license and clearly marked as such. This may | ||
30 | include source files, build scripts and documentation. | ||
31 | |||
32 | "Reserved Font Name" refers to any names specified as such after the | ||
33 | copyright statement(s). | ||
34 | |||
35 | "Original Version" refers to the collection of Font Software | ||
36 | components as distributed by the Copyright Holder(s). | ||
37 | |||
38 | "Modified Version" refers to any derivative made by adding to, | ||
39 | deleting, or substituting -- in part or in whole -- any of the | ||
40 | components of the Original Version, by changing formats or by porting | ||
41 | the Font Software to a new environment. | ||
42 | |||
43 | "Author" refers to any designer, engineer, programmer, technical | ||
44 | writer or other person who contributed to the Font Software. | ||
45 | |||
46 | PERMISSION & CONDITIONS | ||
47 | Permission is hereby granted, free of charge, to any person obtaining | ||
48 | a copy of the Font Software, to use, study, copy, merge, embed, | ||
49 | modify, redistribute, and sell modified and unmodified copies of the | ||
50 | Font Software, subject to the following conditions: | ||
51 | |||
52 | 1) Neither the Font Software nor any of its individual components, in | ||
53 | Original or Modified Versions, may be sold by itself. | ||
54 | |||
55 | 2) Original or Modified Versions of the Font Software may be bundled, | ||
56 | redistributed and/or sold with any software, provided that each copy | ||
57 | contains the above copyright notice and this license. These can be | ||
58 | included either as stand-alone text files, human-readable headers or | ||
59 | in the appropriate machine-readable metadata fields within text or | ||
60 | binary files as long as those fields can be easily viewed by the user. | ||
61 | |||
62 | 3) No Modified Version of the Font Software may use the Reserved Font | ||
63 | Name(s) unless explicit written permission is granted by the | ||
64 | corresponding Copyright Holder. This restriction only applies to the | ||
65 | primary font name as presented to the users. | ||
66 | |||
67 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font | ||
68 | Software shall not be used to promote, endorse or advertise any | ||
69 | Modified Version, except to acknowledge the contribution(s) of the | ||
70 | Copyright Holder(s) and the Author(s) or with their explicit written | ||
71 | permission. | ||
72 | |||
73 | 5) The Font Software, modified or unmodified, in part or in whole, | ||
74 | must be distributed entirely under this license, and must not be | ||
75 | distributed under any other license. The requirement for fonts to | ||
76 | remain under this license does not apply to any document created using | ||
77 | the Font Software. | ||
78 | |||
79 | TERMINATION | ||
80 | This license becomes null and void if any of the above conditions are | ||
81 | not met. | ||
82 | |||
83 | DISCLAIMER | ||
84 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
85 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF | ||
86 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT | ||
87 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE | ||
88 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
89 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL | ||
90 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
91 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM | ||
92 | OTHER DEALINGS IN THE FONT SOFTWARE. | ||
diff --git a/res/firasans.fontpack/fontpack.ini b/res/firasans.fontpack/fontpack.ini new file mode 100644 index 00000000..fbe3136f --- /dev/null +++ b/res/firasans.fontpack/fontpack.ini | |||
@@ -0,0 +1,8 @@ | |||
1 | [firasans] | ||
2 | name = "Fira Sans" | ||
3 | scaling = 0.85 | ||
4 | regular = "FiraSans-Regular.ttf" | ||
5 | italic = "FiraSans-Italic.ttf" | ||
6 | light = "FiraSans-Light.ttf" | ||
7 | semibold = "FiraSans-SemiBold.ttf" | ||
8 | bold = "FiraSans-Bold.ttf" | ||
diff --git a/res/fonts/LICENSE_KosugiMaru.txt b/res/fonts/LICENSE_KosugiMaru.txt deleted file mode 100644 index 75b52484..00000000 --- a/res/fonts/LICENSE_KosugiMaru.txt +++ /dev/null | |||
@@ -1,202 +0,0 @@ | |||
1 | |||
2 | Apache License | ||
3 | Version 2.0, January 2004 | ||
4 | http://www.apache.org/licenses/ | ||
5 | |||
6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | ||
7 | |||
8 | 1. Definitions. | ||
9 | |||
10 | "License" shall mean the terms and conditions for use, reproduction, | ||
11 | and distribution as defined by Sections 1 through 9 of this document. | ||
12 | |||
13 | "Licensor" shall mean the copyright owner or entity authorized by | ||
14 | the copyright owner that is granting the License. | ||
15 | |||
16 | "Legal Entity" shall mean the union of the acting entity and all | ||
17 | other entities that control, are controlled by, or are under common | ||
18 | control with that entity. For the purposes of this definition, | ||
19 | "control" means (i) the power, direct or indirect, to cause the | ||
20 | direction or management of such entity, whether by contract or | ||
21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the | ||
22 | outstanding shares, or (iii) beneficial ownership of such entity. | ||
23 | |||
24 | "You" (or "Your") shall mean an individual or Legal Entity | ||
25 | exercising permissions granted by this License. | ||
26 | |||
27 | "Source" form shall mean the preferred form for making modifications, | ||
28 | including but not limited to software source code, documentation | ||
29 | source, and configuration files. | ||
30 | |||
31 | "Object" form shall mean any form resulting from mechanical | ||
32 | transformation or translation of a Source form, including but | ||
33 | not limited to compiled object code, generated documentation, | ||
34 | and conversions to other media types. | ||
35 | |||
36 | "Work" shall mean the work of authorship, whether in Source or | ||
37 | Object form, made available under the License, as indicated by a | ||
38 | copyright notice that is included in or attached to the work | ||
39 | (an example is provided in the Appendix below). | ||
40 | |||
41 | "Derivative Works" shall mean any work, whether in Source or Object | ||
42 | form, that is based on (or derived from) the Work and for which the | ||
43 | editorial revisions, annotations, elaborations, or other modifications | ||
44 | represent, as a whole, an original work of authorship. For the purposes | ||
45 | of this License, Derivative Works shall not include works that remain | ||
46 | separable from, or merely link (or bind by name) to the interfaces of, | ||
47 | the Work and Derivative Works thereof. | ||
48 | |||
49 | "Contribution" shall mean any work of authorship, including | ||
50 | the original version of the Work and any modifications or additions | ||
51 | to that Work or Derivative Works thereof, that is intentionally | ||
52 | submitted to Licensor for inclusion in the Work by the copyright owner | ||
53 | or by an individual or Legal Entity authorized to submit on behalf of | ||
54 | the copyright owner. For the purposes of this definition, "submitted" | ||
55 | means any form of electronic, verbal, or written communication sent | ||
56 | to the Licensor or its representatives, including but not limited to | ||
57 | communication on electronic mailing lists, source code control systems, | ||
58 | and issue tracking systems that are managed by, or on behalf of, the | ||
59 | Licensor for the purpose of discussing and improving the Work, but | ||
60 | excluding communication that is conspicuously marked or otherwise | ||
61 | designated in writing by the copyright owner as "Not a Contribution." | ||
62 | |||
63 | "Contributor" shall mean Licensor and any individual or Legal Entity | ||
64 | on behalf of whom a Contribution has been received by Licensor and | ||
65 | subsequently incorporated within the Work. | ||
66 | |||
67 | 2. Grant of Copyright License. Subject to the terms and conditions of | ||
68 | this License, each Contributor hereby grants to You a perpetual, | ||
69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
70 | copyright license to reproduce, prepare Derivative Works of, | ||
71 | publicly display, publicly perform, sublicense, and distribute the | ||
72 | Work and such Derivative Works in Source or Object form. | ||
73 | |||
74 | 3. Grant of Patent License. Subject to the terms and conditions of | ||
75 | this License, each Contributor hereby grants to You a perpetual, | ||
76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
77 | (except as stated in this section) patent license to make, have made, | ||
78 | use, offer to sell, sell, import, and otherwise transfer the Work, | ||
79 | where such license applies only to those patent claims licensable | ||
80 | by such Contributor that are necessarily infringed by their | ||
81 | Contribution(s) alone or by combination of their Contribution(s) | ||
82 | with the Work to which such Contribution(s) was submitted. If You | ||
83 | institute patent litigation against any entity (including a | ||
84 | cross-claim or counterclaim in a lawsuit) alleging that the Work | ||
85 | or a Contribution incorporated within the Work constitutes direct | ||
86 | or contributory patent infringement, then any patent licenses | ||
87 | granted to You under this License for that Work shall terminate | ||
88 | as of the date such litigation is filed. | ||
89 | |||
90 | 4. Redistribution. You may reproduce and distribute copies of the | ||
91 | Work or Derivative Works thereof in any medium, with or without | ||
92 | modifications, and in Source or Object form, provided that You | ||
93 | meet the following conditions: | ||
94 | |||
95 | (a) You must give any other recipients of the Work or | ||
96 | Derivative Works a copy of this License; and | ||
97 | |||
98 | (b) You must cause any modified files to carry prominent notices | ||
99 | stating that You changed the files; and | ||
100 | |||
101 | (c) You must retain, in the Source form of any Derivative Works | ||
102 | that You distribute, all copyright, patent, trademark, and | ||
103 | attribution notices from the Source form of the Work, | ||
104 | excluding those notices that do not pertain to any part of | ||
105 | the Derivative Works; and | ||
106 | |||
107 | (d) If the Work includes a "NOTICE" text file as part of its | ||
108 | distribution, then any Derivative Works that You distribute must | ||
109 | include a readable copy of the attribution notices contained | ||
110 | within such NOTICE file, excluding those notices that do not | ||
111 | pertain to any part of the Derivative Works, in at least one | ||
112 | of the following places: within a NOTICE text file distributed | ||
113 | as part of the Derivative Works; within the Source form or | ||
114 | documentation, if provided along with the Derivative Works; or, | ||
115 | within a display generated by the Derivative Works, if and | ||
116 | wherever such third-party notices normally appear. The contents | ||
117 | of the NOTICE file are for informational purposes only and | ||
118 | do not modify the License. You may add Your own attribution | ||
119 | notices within Derivative Works that You distribute, alongside | ||
120 | or as an addendum to the NOTICE text from the Work, provided | ||
121 | that such additional attribution notices cannot be construed | ||
122 | as modifying the License. | ||
123 | |||
124 | You may add Your own copyright statement to Your modifications and | ||
125 | may provide additional or different license terms and conditions | ||
126 | for use, reproduction, or distribution of Your modifications, or | ||
127 | for any such Derivative Works as a whole, provided Your use, | ||
128 | reproduction, and distribution of the Work otherwise complies with | ||
129 | the conditions stated in this License. | ||
130 | |||
131 | 5. Submission of Contributions. Unless You explicitly state otherwise, | ||
132 | any Contribution intentionally submitted for inclusion in the Work | ||
133 | by You to the Licensor shall be under the terms and conditions of | ||
134 | this License, without any additional terms or conditions. | ||
135 | Notwithstanding the above, nothing herein shall supersede or modify | ||
136 | the terms of any separate license agreement you may have executed | ||
137 | with Licensor regarding such Contributions. | ||
138 | |||
139 | 6. Trademarks. This License does not grant permission to use the trade | ||
140 | names, trademarks, service marks, or product names of the Licensor, | ||
141 | except as required for reasonable and customary use in describing the | ||
142 | origin of the Work and reproducing the content of the NOTICE file. | ||
143 | |||
144 | 7. Disclaimer of Warranty. Unless required by applicable law or | ||
145 | agreed to in writing, Licensor provides the Work (and each | ||
146 | Contributor provides its Contributions) on an "AS IS" BASIS, | ||
147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
148 | implied, including, without limitation, any warranties or conditions | ||
149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | ||
150 | PARTICULAR PURPOSE. You are solely responsible for determining the | ||
151 | appropriateness of using or redistributing the Work and assume any | ||
152 | risks associated with Your exercise of permissions under this License. | ||
153 | |||
154 | 8. Limitation of Liability. In no event and under no legal theory, | ||
155 | whether in tort (including negligence), contract, or otherwise, | ||
156 | unless required by applicable law (such as deliberate and grossly | ||
157 | negligent acts) or agreed to in writing, shall any Contributor be | ||
158 | liable to You for damages, including any direct, indirect, special, | ||
159 | incidental, or consequential damages of any character arising as a | ||
160 | result of this License or out of the use or inability to use the | ||
161 | Work (including but not limited to damages for loss of goodwill, | ||
162 | work stoppage, computer failure or malfunction, or any and all | ||
163 | other commercial damages or losses), even if such Contributor | ||
164 | has been advised of the possibility of such damages. | ||
165 | |||
166 | 9. Accepting Warranty or Additional Liability. While redistributing | ||
167 | the Work or Derivative Works thereof, You may choose to offer, | ||
168 | and charge a fee for, acceptance of support, warranty, indemnity, | ||
169 | or other liability obligations and/or rights consistent with this | ||
170 | License. However, in accepting such obligations, You may act only | ||
171 | on Your own behalf and on Your sole responsibility, not on behalf | ||
172 | of any other Contributor, and only if You agree to indemnify, | ||
173 | defend, and hold each Contributor harmless for any liability | ||
174 | incurred by, or claims asserted against, such Contributor by reason | ||
175 | of your accepting any such warranty or additional liability. | ||
176 | |||
177 | END OF TERMS AND CONDITIONS | ||
178 | |||
179 | APPENDIX: How to apply the Apache License to your work. | ||
180 | |||
181 | To apply the Apache License to your work, attach the following | ||
182 | boilerplate notice, with the fields enclosed by brackets "[]" | ||
183 | replaced with your own identifying information. (Don't include | ||
184 | the brackets!) The text should be enclosed in the appropriate | ||
185 | comment syntax for the file format. We also recommend that a | ||
186 | file or class name and description of purpose be included on the | ||
187 | same "printed page" as the copyright notice for easier | ||
188 | identification within third-party archives. | ||
189 | |||
190 | Copyright [yyyy] [name of copyright owner] | ||
191 | |||
192 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
193 | you may not use this file except in compliance with the License. | ||
194 | You may obtain a copy of the License at | ||
195 | |||
196 | http://www.apache.org/licenses/LICENSE-2.0 | ||
197 | |||
198 | Unless required by applicable law or agreed to in writing, software | ||
199 | distributed under the License is distributed on an "AS IS" BASIS, | ||
200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
201 | See the License for the specific language governing permissions and | ||
202 | limitations under the License. | ||
diff --git a/res/fonts/NotoSansArabic-Regular.ttf b/res/fonts/NotoSansArabic-Regular.ttf deleted file mode 100644 index 94eead4c..00000000 --- a/res/fonts/NotoSansArabic-Regular.ttf +++ /dev/null | |||
Binary files differ | |||
diff --git a/res/fonts/LICENSE_Literata.txt b/res/literata.fontpack/LICENSE_Literata.txt index 8bf7b94f..8bf7b94f 100644 --- a/res/fonts/LICENSE_Literata.txt +++ b/res/literata.fontpack/LICENSE_Literata.txt | |||
diff --git a/res/fonts/Literata-Bold-opsz=36.ttf b/res/literata.fontpack/Literata-Bold-opsz=36.ttf index 0b36bcc5..0b36bcc5 100644 --- a/res/fonts/Literata-Bold-opsz=36.ttf +++ b/res/literata.fontpack/Literata-Bold-opsz=36.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/Literata-ExtraLight-opsz=18.ttf b/res/literata.fontpack/Literata-ExtraLight-opsz=18.ttf index adf2269c..adf2269c 100644 --- a/res/fonts/Literata-ExtraLight-opsz=18.ttf +++ b/res/literata.fontpack/Literata-ExtraLight-opsz=18.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/Literata-LightItalic-opsz=10.ttf b/res/literata.fontpack/Literata-LightItalic-opsz=10.ttf index e07554b4..e07554b4 100644 --- a/res/fonts/Literata-LightItalic-opsz=10.ttf +++ b/res/literata.fontpack/Literata-LightItalic-opsz=10.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/Literata-Regular-opsz=14.ttf b/res/literata.fontpack/Literata-Regular-opsz=14.ttf index e523b1ce..e523b1ce 100644 --- a/res/fonts/Literata-Regular-opsz=14.ttf +++ b/res/literata.fontpack/Literata-Regular-opsz=14.ttf | |||
Binary files differ | |||
diff --git a/res/literata.fontpack/fontpack.ini b/res/literata.fontpack/fontpack.ini new file mode 100644 index 00000000..e4e49bcb --- /dev/null +++ b/res/literata.fontpack/fontpack.ini | |||
@@ -0,0 +1,6 @@ | |||
1 | [literata] | ||
2 | name = "Literata" | ||
3 | regular = "Literata-Regular-opsz=14.ttf" | ||
4 | italic = "Literata-LightItalic-opsz=10.ttf" | ||
5 | light = "Literata-ExtraLight-opsz=18.ttf" | ||
6 | bold = "Literata-Bold-opsz=36.ttf" | ||
diff --git a/res/fonts/LICENSE_Nunito.txt b/res/nunito.fontpack/LICENSE_Nunito.txt index 165d2489..165d2489 100644 --- a/res/fonts/LICENSE_Nunito.txt +++ b/res/nunito.fontpack/LICENSE_Nunito.txt | |||
diff --git a/res/fonts/Nunito-Bold.ttf b/res/nunito.fontpack/Nunito-Bold.ttf index f41ef203..f41ef203 100644 --- a/res/fonts/Nunito-Bold.ttf +++ b/res/nunito.fontpack/Nunito-Bold.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/Nunito-ExtraBold.ttf b/res/nunito.fontpack/Nunito-ExtraBold.ttf index 406ab9a8..406ab9a8 100644 --- a/res/fonts/Nunito-ExtraBold.ttf +++ b/res/nunito.fontpack/Nunito-ExtraBold.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/Nunito-ExtraLight.ttf b/res/nunito.fontpack/Nunito-ExtraLight.ttf index da3020df..da3020df 100644 --- a/res/fonts/Nunito-ExtraLight.ttf +++ b/res/nunito.fontpack/Nunito-ExtraLight.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/Nunito-LightItalic.ttf b/res/nunito.fontpack/Nunito-LightItalic.ttf index 1eb29cc7..1eb29cc7 100644 --- a/res/fonts/Nunito-LightItalic.ttf +++ b/res/nunito.fontpack/Nunito-LightItalic.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/Nunito-Regular.ttf b/res/nunito.fontpack/Nunito-Regular.ttf index 1f038185..1f038185 100644 --- a/res/fonts/Nunito-Regular.ttf +++ b/res/nunito.fontpack/Nunito-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/nunito.fontpack/fontpack.ini b/res/nunito.fontpack/fontpack.ini new file mode 100644 index 00000000..e9d913a2 --- /dev/null +++ b/res/nunito.fontpack/fontpack.ini | |||
@@ -0,0 +1,7 @@ | |||
1 | [nunito] | ||
2 | name = "Nunito" | ||
3 | regular = "Nunito-Regular.ttf" | ||
4 | italic = "Nunito-LightItalic.ttf" | ||
5 | light = "Nunito-ExtraLight.ttf" | ||
6 | semibold = "Nunito-Bold.ttf" | ||
7 | bold = "Nunito-ExtraBold.ttf" | ||
diff --git a/res/fonts/Tinos-Bold.ttf b/res/tinos.fontpack/Tinos-Bold.ttf index 8b850691..8b850691 100644 --- a/res/fonts/Tinos-Bold.ttf +++ b/res/tinos.fontpack/Tinos-Bold.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/Tinos-Italic.ttf b/res/tinos.fontpack/Tinos-Italic.ttf index 54b1f4d5..54b1f4d5 100644 --- a/res/fonts/Tinos-Italic.ttf +++ b/res/tinos.fontpack/Tinos-Italic.ttf | |||
Binary files differ | |||
diff --git a/res/fonts/Tinos-Regular.ttf b/res/tinos.fontpack/Tinos-Regular.ttf index 823f7273..823f7273 100644 --- a/res/fonts/Tinos-Regular.ttf +++ b/res/tinos.fontpack/Tinos-Regular.ttf | |||
Binary files differ | |||
diff --git a/res/tinos.fontpack/fontpack.ini b/res/tinos.fontpack/fontpack.ini new file mode 100644 index 00000000..eeefb8eb --- /dev/null +++ b/res/tinos.fontpack/fontpack.ini | |||
@@ -0,0 +1,5 @@ | |||
1 | [tinos] | ||
2 | name = "Tinos" | ||
3 | regular = "Tinos-Regular.ttf" | ||
4 | italic = "Tinos-Italic.ttf" | ||
5 | bold = "Tinos-Bold.ttf" | ||