From: Michael Tremer Date: Wed, 17 Jan 2024 11:17:03 +0000 (+0000) Subject: fonts: Import Prompt X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22ff99e92e92feced9224e0411b0646403bda267;p=ipfire.org.git fonts: Import Prompt This allows us to get rid of the Google Font submodule as it is very large. Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index bc6fb860..4ad4d8b5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 index 00000000..a214c1e5 --- /dev/null +++ b/src/static/fonts/prompt/DESCRIPTION.en_us.html @@ -0,0 +1,15 @@ +

+Prompt in Thai means “ready,” 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. +

+

+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. +

+

+The Prompt project is led by Cadson Demak, a type foundry in Thailand. +To contribute, see github.com/cadsondemak/prompt +

\ 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 index 00000000..a5d90fd2 --- /dev/null +++ b/src/static/fonts/prompt/METADATA.pb @@ -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 index 00000000..c760a319 --- /dev/null +++ b/src/static/fonts/prompt/OFL.txt @@ -0,0 +1,93 @@ +Copyright (c) 2015, Cadson Demak (info@cadsondemak.com) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/src/static/fonts/prompt/Prompt-Black.ttf b/src/static/fonts/prompt/Prompt-Black.ttf new file mode 100644 index 00000000..624fe85b 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 index 00000000..49ebb167 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 index 00000000..6cdd89b4 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 index 00000000..a9effd7f 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 index 00000000..ded930f2 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 index 00000000..6c076ed2 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 index 00000000..7f946761 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 index 00000000..4ca72e3a 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 index 00000000..05457347 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 index 00000000..0c5d1eb5 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 index 00000000..8bb339a5 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 index 00000000..adf72c9f 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 index 00000000..7b87fdb6 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 index 00000000..2a736dbb 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 index 00000000..011a0507 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 index 00000000..3bec3f77 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 index 00000000..a3b80b44 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 index 00000000..f64319a5 Binary files /dev/null and b/src/static/fonts/prompt/Prompt-ThinItalic.ttf differ