]> git.ipfire.org Git - ipfire.org.git/commitdiff
fonts: Import Prompt
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 17 Jan 2024 11:17:03 +0000 (11:17 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 17 Jan 2024 11:17:03 +0000 (11:17 +0000)
This allows us to get rid of the Google Font submodule as it is very
large.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 files changed:
Makefile.am
src/static/fonts/prompt/DESCRIPTION.en_us.html [new file with mode: 0644]
src/static/fonts/prompt/METADATA.pb [new file with mode: 0644]
src/static/fonts/prompt/OFL.txt [new file with mode: 0644]
src/static/fonts/prompt/Prompt-Black.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-BlackItalic.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-Bold.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-BoldItalic.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-ExtraBold.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-ExtraBoldItalic.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-ExtraLight.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-ExtraLightItalic.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-Italic.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-Light.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-LightItalic.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-Medium.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-MediumItalic.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-Regular.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-SemiBold.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-SemiBoldItalic.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-Thin.ttf [new file with mode: 0644]
src/static/fonts/prompt/Prompt-ThinItalic.ttf [new file with mode: 0644]

index bc6fb860e8c6f7af334d8c7a197269528f50f9d9..4ad4d8b5665d2aa745686497f9b33c4c6cda1b4f 100644 (file)
@@ -932,25 +932,26 @@ static_flags_4x3_DATA = \
 
 static_flags_4x3dir = $(static_flagsdir)/4x3
 
-static_fonts_DATA = \
-       src/fonts/ofl/prompt/Prompt-BlackItalic.ttf \
-       src/fonts/ofl/prompt/Prompt-Black.ttf \
-       src/fonts/ofl/prompt/Prompt-BoldItalic.ttf \
-       src/fonts/ofl/prompt/Prompt-Bold.ttf \
-       src/fonts/ofl/prompt/Prompt-ExtraBoldItalic.ttf \
-       src/fonts/ofl/prompt/Prompt-ExtraBold.ttf \
-       src/fonts/ofl/prompt/Prompt-ExtraLightItalic.ttf \
-       src/fonts/ofl/prompt/Prompt-ExtraLight.ttf \
-       src/fonts/ofl/prompt/Prompt-Italic.ttf \
-       src/fonts/ofl/prompt/Prompt-LightItalic.ttf \
-       src/fonts/ofl/prompt/Prompt-Light.ttf \
-       src/fonts/ofl/prompt/Prompt-MediumItalic.ttf \
-       src/fonts/ofl/prompt/Prompt-Medium.ttf \
-       src/fonts/ofl/prompt/Prompt-Regular.ttf \
-       src/fonts/ofl/prompt/Prompt-SemiBoldItalic.ttf \
-       src/fonts/ofl/prompt/Prompt-SemiBold.ttf \
-       src/fonts/ofl/prompt/Prompt-ThinItalic.ttf \
-       src/fonts/ofl/prompt/Prompt-Thin.ttf \
+dist_static_fonts_DATA = \
+       src/static/fonts/prompt/Prompt-Black.ttf \
+       src/static/fonts/prompt/Prompt-BlackItalic.ttf \
+       src/static/fonts/prompt/Prompt-Bold.ttf \
+       src/static/fonts/prompt/Prompt-BoldItalic.ttf \
+       src/static/fonts/prompt/Prompt-Bold.ttf \
+       src/static/fonts/prompt/Prompt-ExtraBold.ttf \
+       src/static/fonts/prompt/Prompt-ExtraBoldItalic.ttf \
+       src/static/fonts/prompt/Prompt-ExtraLight.ttf \
+       src/static/fonts/prompt/Prompt-ExtraLightItalic.ttf \
+       src/static/fonts/prompt/Prompt-Italic.ttf \
+       src/static/fonts/prompt/Prompt-Light.ttf \
+       src/static/fonts/prompt/Prompt-LightItalic.ttf \
+       src/static/fonts/prompt/Prompt-Medium.ttf \
+       src/static/fonts/prompt/Prompt-MediumItalic.ttf \
+       src/static/fonts/prompt/Prompt-Regular.ttf \
+       src/static/fonts/prompt/Prompt-SemiBold.ttf \
+       src/static/fonts/prompt/Prompt-SemiBoldItalic.ttf \
+       src/static/fonts/prompt/Prompt-Thin.ttf \
+       src/static/fonts/prompt/Prompt-ThinItalic.ttf \
        \
        src/font-awesome/webfonts/fa-brands-400.ttf \
        src/font-awesome/webfonts/fa-brands-400.woff2 \
@@ -966,6 +967,11 @@ static_fonts_DATA = \
 
 static_fontsdir = $(staticdir)/fonts
 
+EXTRA_DIST += \
+       src/static/fonts/prompt/DESCRIPTION.en_us.html \
+       src/static/fonts/prompt/METADATA.pb \
+       src/static/fonts/prompt/OFL.txt
+
 static_img_DATA = \
        src/static/img/apple-touch-icon-192x192-precomposed.png \
        src/static/img/apple-touch-icon-180x180-precomposed.png \
diff --git a/src/static/fonts/prompt/DESCRIPTION.en_us.html b/src/static/fonts/prompt/DESCRIPTION.en_us.html
new file mode 100644 (file)
index 0000000..a214c1e
--- /dev/null
@@ -0,0 +1,15 @@
+<p>
+Prompt in Thai means &#8220;ready,&#8221; the same as in English. 
+Prompt is a loopless Thai and sans Latin typeface. 
+The simple and geometric Latin was developed to work harmoniously with the loopless Thai that has wide proportions and airy negative space. 
+It is suitable for both web and print usage, such as magazines, newspapers, and posters. 
+</p>
+<p>
+A similarity between some glyphs such as ก ถ ภ ฤ ฦ, ฎ ฏ, บ ป, ข ช is something to take into consideration because it might lead to confusion when typesetting very short texts. 
+Formal loopless Thai typefaces are simplified, compared to traditional looped Thai types, and this simplification has to be done properly in order to preserve the essense of each character. 
+The size and position of Thai vowel and tone marks has been managed carefully, because they are all relevant to readability, legibility, and overall texture.
+</p>
+<p>
+The Prompt project is led by Cadson Demak, a type foundry in Thailand. 
+To contribute, see <a href="https://github.com/cadsondemak/prompt">github.com/cadsondemak/prompt</a>
+</p>
\ No newline at end of file
diff --git a/src/static/fonts/prompt/METADATA.pb b/src/static/fonts/prompt/METADATA.pb
new file mode 100644 (file)
index 0000000..a5d90fd
--- /dev/null
@@ -0,0 +1,172 @@
+name: "Prompt"
+designer: "Cadson Demak"
+license: "OFL"
+category: "SANS_SERIF"
+date_added: "2016-06-20"
+fonts {
+  name: "Prompt"
+  style: "normal"
+  weight: 100
+  filename: "Prompt-Thin.ttf"
+  post_script_name: "Prompt-Thin"
+  full_name: "Prompt Thin"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "italic"
+  weight: 100
+  filename: "Prompt-ThinItalic.ttf"
+  post_script_name: "Prompt-ThinItalic"
+  full_name: "Prompt Thin Italic"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "normal"
+  weight: 200
+  filename: "Prompt-ExtraLight.ttf"
+  post_script_name: "Prompt-ExtraLight"
+  full_name: "Prompt ExtraLight"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "italic"
+  weight: 200
+  filename: "Prompt-ExtraLightItalic.ttf"
+  post_script_name: "Prompt-ExtraLightItalic"
+  full_name: "Prompt ExtraLight Italic"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "normal"
+  weight: 300
+  filename: "Prompt-Light.ttf"
+  post_script_name: "Prompt-Light"
+  full_name: "Prompt Light"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "italic"
+  weight: 300
+  filename: "Prompt-LightItalic.ttf"
+  post_script_name: "Prompt-LightItalic"
+  full_name: "Prompt Light Italic"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "normal"
+  weight: 400
+  filename: "Prompt-Regular.ttf"
+  post_script_name: "Prompt-Regular"
+  full_name: "Prompt Regular"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "italic"
+  weight: 400
+  filename: "Prompt-Italic.ttf"
+  post_script_name: "Prompt-Italic"
+  full_name: "Prompt Italic"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "normal"
+  weight: 500
+  filename: "Prompt-Medium.ttf"
+  post_script_name: "Prompt-Medium"
+  full_name: "Prompt Medium"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "italic"
+  weight: 500
+  filename: "Prompt-MediumItalic.ttf"
+  post_script_name: "Prompt-MediumItalic"
+  full_name: "Prompt Medium Italic"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "normal"
+  weight: 600
+  filename: "Prompt-SemiBold.ttf"
+  post_script_name: "Prompt-SemiBold"
+  full_name: "Prompt SemiBold"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "italic"
+  weight: 600
+  filename: "Prompt-SemiBoldItalic.ttf"
+  post_script_name: "Prompt-SemiBoldItalic"
+  full_name: "Prompt SemiBold Italic"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "normal"
+  weight: 700
+  filename: "Prompt-Bold.ttf"
+  post_script_name: "Prompt-Bold"
+  full_name: "Prompt Bold"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "italic"
+  weight: 700
+  filename: "Prompt-BoldItalic.ttf"
+  post_script_name: "Prompt-BoldItalic"
+  full_name: "Prompt Bold Italic"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "normal"
+  weight: 800
+  filename: "Prompt-ExtraBold.ttf"
+  post_script_name: "Prompt-ExtraBold"
+  full_name: "Prompt ExtraBold"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "italic"
+  weight: 800
+  filename: "Prompt-ExtraBoldItalic.ttf"
+  post_script_name: "Prompt-ExtraBoldItalic"
+  full_name: "Prompt ExtraBold Italic"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "normal"
+  weight: 900
+  filename: "Prompt-Black.ttf"
+  post_script_name: "Prompt-Black"
+  full_name: "Prompt Black"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+fonts {
+  name: "Prompt"
+  style: "italic"
+  weight: 900
+  filename: "Prompt-BlackItalic.ttf"
+  post_script_name: "Prompt-BlackItalic"
+  full_name: "Prompt Black Italic"
+  copyright: "Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)"
+}
+subsets: "latin"
+subsets: "latin-ext"
+subsets: "menu"
+subsets: "thai"
+subsets: "vietnamese"
diff --git a/src/static/fonts/prompt/OFL.txt b/src/static/fonts/prompt/OFL.txt
new file mode 100644 (file)
index 0000000..c760a31
--- /dev/null
@@ -0,0 +1,93 @@
+Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)\r
+\r
+This Font Software is licensed under the SIL Open Font License, Version 1.1.\r
+This license is copied below, and is also available with a FAQ at:\r
+http://scripts.sil.org/OFL\r
+\r
+\r
+-----------------------------------------------------------\r
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007\r
+-----------------------------------------------------------\r
+\r
+PREAMBLE\r
+The goals of the Open Font License (OFL) are to stimulate worldwide\r
+development of collaborative font projects, to support the font creation\r
+efforts of academic and linguistic communities, and to provide a free and\r
+open framework in which fonts may be shared and improved in partnership\r
+with others.\r
+\r
+The OFL allows the licensed fonts to be used, studied, modified and\r
+redistributed freely as long as they are not sold by themselves. The\r
+fonts, including any derivative works, can be bundled, embedded, \r
+redistributed and/or sold with any software provided that any reserved\r
+names are not used by derivative works. The fonts and derivatives,\r
+however, cannot be released under any other type of license. The\r
+requirement for fonts to remain under this license does not apply\r
+to any document created using the fonts or their derivatives.\r
+\r
+DEFINITIONS\r
+"Font Software" refers to the set of files released by the Copyright\r
+Holder(s) under this license and clearly marked as such. This may\r
+include source files, build scripts and documentation.\r
+\r
+"Reserved Font Name" refers to any names specified as such after the\r
+copyright statement(s).\r
+\r
+"Original Version" refers to the collection of Font Software components as\r
+distributed by the Copyright Holder(s).\r
+\r
+"Modified Version" refers to any derivative made by adding to, deleting,\r
+or substituting -- in part or in whole -- any of the components of the\r
+Original Version, by changing formats or by porting the Font Software to a\r
+new environment.\r
+\r
+"Author" refers to any designer, engineer, programmer, technical\r
+writer or other person who contributed to the Font Software.\r
+\r
+PERMISSION & CONDITIONS\r
+Permission is hereby granted, free of charge, to any person obtaining\r
+a copy of the Font Software, to use, study, copy, merge, embed, modify,\r
+redistribute, and sell modified and unmodified copies of the Font\r
+Software, subject to the following conditions:\r
+\r
+1) Neither the Font Software nor any of its individual components,\r
+in Original or Modified Versions, may be sold by itself.\r
+\r
+2) Original or Modified Versions of the Font Software may be bundled,\r
+redistributed and/or sold with any software, provided that each copy\r
+contains the above copyright notice and this license. These can be\r
+included either as stand-alone text files, human-readable headers or\r
+in the appropriate machine-readable metadata fields within text or\r
+binary files as long as those fields can be easily viewed by the user.\r
+\r
+3) No Modified Version of the Font Software may use the Reserved Font\r
+Name(s) unless explicit written permission is granted by the corresponding\r
+Copyright Holder. This restriction only applies to the primary font name as\r
+presented to the users.\r
+\r
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font\r
+Software shall not be used to promote, endorse or advertise any\r
+Modified Version, except to acknowledge the contribution(s) of the\r
+Copyright Holder(s) and the Author(s) or with their explicit written\r
+permission.\r
+\r
+5) The Font Software, modified or unmodified, in part or in whole,\r
+must be distributed entirely under this license, and must not be\r
+distributed under any other license. The requirement for fonts to\r
+remain under this license does not apply to any document created\r
+using the Font Software.\r
+\r
+TERMINATION\r
+This license becomes null and void if any of the above conditions are\r
+not met.\r
+\r
+DISCLAIMER\r
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\r
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\r
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE\r
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\r
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\r
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\r
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM\r
+OTHER DEALINGS IN THE FONT SOFTWARE.\r
diff --git a/src/static/fonts/prompt/Prompt-Black.ttf b/src/static/fonts/prompt/Prompt-Black.ttf
new file mode 100644 (file)
index 0000000..624fe85
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-Black.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-BlackItalic.ttf b/src/static/fonts/prompt/Prompt-BlackItalic.ttf
new file mode 100644 (file)
index 0000000..49ebb16
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-BlackItalic.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-Bold.ttf b/src/static/fonts/prompt/Prompt-Bold.ttf
new file mode 100644 (file)
index 0000000..6cdd89b
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-Bold.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-BoldItalic.ttf b/src/static/fonts/prompt/Prompt-BoldItalic.ttf
new file mode 100644 (file)
index 0000000..a9effd7
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-BoldItalic.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-ExtraBold.ttf b/src/static/fonts/prompt/Prompt-ExtraBold.ttf
new file mode 100644 (file)
index 0000000..ded930f
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-ExtraBold.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-ExtraBoldItalic.ttf b/src/static/fonts/prompt/Prompt-ExtraBoldItalic.ttf
new file mode 100644 (file)
index 0000000..6c076ed
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-ExtraBoldItalic.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-ExtraLight.ttf b/src/static/fonts/prompt/Prompt-ExtraLight.ttf
new file mode 100644 (file)
index 0000000..7f94676
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-ExtraLight.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-ExtraLightItalic.ttf b/src/static/fonts/prompt/Prompt-ExtraLightItalic.ttf
new file mode 100644 (file)
index 0000000..4ca72e3
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-ExtraLightItalic.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-Italic.ttf b/src/static/fonts/prompt/Prompt-Italic.ttf
new file mode 100644 (file)
index 0000000..0545734
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-Italic.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-Light.ttf b/src/static/fonts/prompt/Prompt-Light.ttf
new file mode 100644 (file)
index 0000000..0c5d1eb
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-Light.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-LightItalic.ttf b/src/static/fonts/prompt/Prompt-LightItalic.ttf
new file mode 100644 (file)
index 0000000..8bb339a
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-LightItalic.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-Medium.ttf b/src/static/fonts/prompt/Prompt-Medium.ttf
new file mode 100644 (file)
index 0000000..adf72c9
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-Medium.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-MediumItalic.ttf b/src/static/fonts/prompt/Prompt-MediumItalic.ttf
new file mode 100644 (file)
index 0000000..7b87fdb
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-MediumItalic.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-Regular.ttf b/src/static/fonts/prompt/Prompt-Regular.ttf
new file mode 100644 (file)
index 0000000..2a736db
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-Regular.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-SemiBold.ttf b/src/static/fonts/prompt/Prompt-SemiBold.ttf
new file mode 100644 (file)
index 0000000..011a050
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-SemiBold.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-SemiBoldItalic.ttf b/src/static/fonts/prompt/Prompt-SemiBoldItalic.ttf
new file mode 100644 (file)
index 0000000..3bec3f7
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-SemiBoldItalic.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-Thin.ttf b/src/static/fonts/prompt/Prompt-Thin.ttf
new file mode 100644 (file)
index 0000000..a3b80b4
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-Thin.ttf differ
diff --git a/src/static/fonts/prompt/Prompt-ThinItalic.ttf b/src/static/fonts/prompt/Prompt-ThinItalic.ttf
new file mode 100644 (file)
index 0000000..f64319a
Binary files /dev/null and b/src/static/fonts/prompt/Prompt-ThinItalic.ttf differ