-
Notifications
You must be signed in to change notification settings - Fork 1
/
credits.rb
40 lines (38 loc) · 1.77 KB
/
credits.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
def fontVersion
"1.408"
end
def fontCopyrightOf(fontname)
kage = "Created by KAGE system. (http://fonts.jp/)"
symbol = "Some symbol glyphs are M+ fonts and GL-Antique."
aj16Sans = "AJ1-7 sans-serif glyphs from M+ fonts."
merge = "Merged by MihailJP, September 2023."
if fontname =~ /Mincho|Gothic|Socho/i then
"#{kage}\n" \
"Alphabet glyphs by Andrey V. Panov (C) 2005 All rights reserved.\n" \
"#{symbol}\n#{merge}"
else
"#{kage}"
end
end
def fontLicenseOf(fontname)
if fontname =~ /Mincho|Gothic|Socho/i then
"X11 License with exception: "
"As a special exception, if you create a document which uses these fonts, " \
"and embed these fonts or unaltered portions of these fonts into the " \
"document, these fonts does not by itself cause the resulting document to " \
"be covered by the X11 License. This exception does not however " \
"invalidate any other reasons why the document might be covered by the " \
"X11 License. If you modify these fonts, you may extend this exception to " \
"your version of the fonts, but you are not obligated to do so. If you do " \
"not wish to do so, delete this exception statement from your version."
else
"The glyphs registered at the GlyphWiki, as well as the articles, can be " \
"freely used by anyone. Reuse of this data, such as reproduction or " \
"modification of the glyps, is permitted. The are no specific restrictions " \
"with regards to displaying the author's name. Reuse of GlyphWiki data as " \
"the basis for a new font, or direct usage of fonts and glyphs copied from " \
"GlyphWiki in published work is allowed. GlyphWiki does not hold copyright " \
"on any citations used throughout GlyphWiki articles. Please consult their " \
"respective licences when reusing such content."
end
end