summaryrefslogtreecommitdiffstats
path: root/assets/OFL.txt
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-26 20:13:07 +0100
committersalmonik <salmonik@tuta.io>2026-10-26 20:13:07 +0100
commit76b6485a33094b40e8f833c32dc84457055062ec (patch)
tree667bffc5d38a800204656931ca3693ed3e801016 /assets/OFL.txt
parentBones: head fallback for headcrab black/fast (diff)
downloadhl2h-76b6485a33094b40e8f833c32dc84457055062ec.tar.gz
hl2h-76b6485a33094b40e8f833c32dc84457055062ec.zip
Fonts: bundle Liberation Sans and register it with fontconfig
- ship assets/LiberationSans-Regular.ttf (+ OFL license/README) - at startup, resolve the .so path via dladdr, add assets/...ttf to the current fontconfig config with FcConfigAppFontAddFile, and fall back to the system Liberation path if the asset is missing - font creation tries Liberation Sans, then DejaVu Sans/Noto/Tahoma/Verdana/ Arial, so the overlay still renders on installs without the bundled font
Diffstat (limited to '')
-rw-r--r--assets/OFL.txt94
1 files changed, 94 insertions, 0 deletions
diff --git a/assets/OFL.txt b/assets/OFL.txt
new file mode 100644
index 0000000..445c414
--- /dev/null
+++ b/assets/OFL.txt
@@ -0,0 +1,94 @@
1Digitized data copyright (c) 2010 Google Corporation
2 with Reserved Font Arimo, Tinos and Cousine.
3Copyright (c) 2012 Red Hat, Inc.
4 with Reserved Font Name Liberation.
5
6This Font Software is licensed under the SIL Open Font License,
7Version 1.1.
8
9This license is copied below, and is also available with a FAQ at:
10http://scripts.sil.org/OFL
11
12SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
13
14PREAMBLE The goals of the Open Font License (OFL) are to stimulate
15worldwide development of collaborative font projects, to support the font
16creation efforts of academic and linguistic communities, and to provide
17a free and open framework in which fonts may be shared and improved in
18partnership with others.
19
20The OFL allows the licensed fonts to be used, studied, modified and
21redistributed freely as long as they are not sold by themselves.
22The fonts, including any derivative works, can be bundled, embedded,
23redistributed and/or sold with any software provided that any reserved
24names are not used by derivative works. The fonts and derivatives,
25however, cannot be released under any other type of license. The
26requirement for fonts to remain under this license does not apply to
27any document created using the fonts or their derivatives.
28
29DEFINITIONS
30"Font Software" refers to the set of files released by the Copyright
31Holder(s) under this license and clearly marked as such.
32This may include source files, build scripts and documentation.
33
34"Reserved Font Name" refers to any names specified as such after the
35copyright statement(s).
36
37"Original Version" refers to the collection of Font Software components
38as distributed by the Copyright Holder(s).
39
40"Modified Version" refers to any derivative made by adding to, deleting,
41or substituting ? in part or in whole ?
42any of the components of the Original Version, by changing formats or
43by porting the Font Software to a new environment.
44
45"Author" refers to any designer, engineer, programmer, technical writer
46or other person who contributed to the Font Software.
47
48PERMISSION & CONDITIONS
49
50Permission is hereby granted, free of charge, to any person obtaining a
51copy of the Font Software, to use, study, copy, merge, embed, modify,
52redistribute, and sell modified and unmodified copies of the Font
53Software, subject to the following conditions:
54
551) Neither the Font Software nor any of its individual components,in
56 Original or Modified Versions, may be sold by itself.
57
582) Original or Modified Versions of the Font Software may be bundled,
59 redistributed and/or sold with any software, provided that each copy
60 contains the above copyright notice and this license. These can be
61 included either as stand-alone text files, human-readable headers or
62 in the appropriate machine-readable metadata fields within text or
63 binary files as long as those fields can be easily viewed by the user.
64
653) No Modified Version of the Font Software may use the Reserved Font
66 Name(s) unless explicit written permission is granted by the
67 corresponding Copyright Holder. This restriction only applies to the
68 primary font name as presented to the users.
69
704) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
71 Software shall not be used to promote, endorse or advertise any
72 Modified Version, except to acknowledge the contribution(s) of the
73 Copyright Holder(s) and the Author(s) or with their explicit written
74 permission.
75
765) The Font Software, modified or unmodified, in part or in whole, must
77 be distributed entirely under this license, and must not be distributed
78 under any other license. The requirement for fonts to remain under
79 this license does not apply to any document created using the Font
80 Software.
81
82TERMINATION
83This license becomes null and void if any of the above conditions are not met.
84
85DISCLAIMER
86THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
88MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
89OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
90COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
91INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
92DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
93FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
94DEALINGS IN THE FONT SOFTWARE.