starplot 0.12.5__py2.py3-none-any.whl → 0.13.0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of starplot might be problematic. Click here for more details.
- starplot/__init__.py +1 -1
- starplot/base.py +368 -57
- starplot/callables.py +61 -7
- starplot/data/bayer.py +1532 -3
- starplot/data/flamsteed.py +2682 -0
- starplot/data/library/constellation_borders_inv.gpkg +0 -0
- starplot/data/library/constellation_lines_hips.json +3 -1
- starplot/data/stars.py +408 -87
- starplot/horizon.py +398 -0
- starplot/map.py +144 -19
- starplot/optic.py +26 -14
- starplot/plotters/dsos.py +5 -1
- starplot/plotters/stars.py +114 -13
- starplot/styles/base.py +263 -156
- starplot/styles/ext/antique.yml +45 -39
- starplot/styles/ext/blue_dark.yml +32 -36
- starplot/styles/ext/blue_light.yml +43 -25
- starplot/styles/ext/blue_medium.yml +48 -44
- starplot/styles/ext/cb_wong.yml +7 -0
- starplot/styles/ext/grayscale.yml +13 -7
- starplot/styles/ext/grayscale_dark.yml +12 -4
- starplot/styles/ext/map.yml +4 -4
- starplot/styles/ext/nord.yml +32 -32
- starplot/styles/ext/optic.yml +7 -5
- starplot/styles/fonts-library/gfs-didot/DESCRIPTION.en_us.html +9 -0
- starplot/styles/fonts-library/gfs-didot/GFSDidot-Regular.ttf +0 -0
- starplot/styles/fonts-library/gfs-didot/METADATA.pb +16 -0
- starplot/styles/fonts-library/gfs-didot/OFL.txt +94 -0
- starplot/styles/fonts-library/hind/DESCRIPTION.en_us.html +28 -0
- starplot/styles/fonts-library/hind/Hind-Bold.ttf +0 -0
- starplot/styles/fonts-library/hind/Hind-Light.ttf +0 -0
- starplot/styles/fonts-library/hind/Hind-Medium.ttf +0 -0
- starplot/styles/fonts-library/hind/Hind-Regular.ttf +0 -0
- starplot/styles/fonts-library/hind/Hind-SemiBold.ttf +0 -0
- starplot/styles/fonts-library/hind/METADATA.pb +58 -0
- starplot/styles/fonts-library/hind/OFL.txt +93 -0
- starplot/styles/fonts-library/inter/Inter-Black.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-BlackItalic.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-Bold.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-BoldItalic.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-ExtraBold.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-ExtraBoldItalic.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-ExtraLight.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-ExtraLightItalic.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-Italic.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-Light.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-LightItalic.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-Medium.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-MediumItalic.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-Regular.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-SemiBold.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-SemiBoldItalic.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-Thin.ttf +0 -0
- starplot/styles/fonts-library/inter/Inter-ThinItalic.ttf +0 -0
- starplot/styles/fonts-library/inter/LICENSE.txt +92 -0
- starplot/styles/fonts.py +15 -0
- starplot/styles/markers.py +207 -6
- {starplot-0.12.5.dist-info → starplot-0.13.0.dist-info}/METADATA +7 -8
- starplot-0.13.0.dist-info/RECORD +101 -0
- starplot-0.12.5.dist-info/RECORD +0 -67
- {starplot-0.12.5.dist-info → starplot-0.13.0.dist-info}/LICENSE +0 -0
- {starplot-0.12.5.dist-info → starplot-0.13.0.dist-info}/WHEEL +0 -0
starplot/styles/ext/nord.yml
CHANGED
|
@@ -26,55 +26,59 @@ celestial_equator:
|
|
|
26
26
|
font_color: '#77A67F'
|
|
27
27
|
line:
|
|
28
28
|
color: '#77A67F'
|
|
29
|
+
|
|
29
30
|
constellation:
|
|
30
31
|
label:
|
|
31
|
-
font_alpha: 0.
|
|
32
|
+
font_alpha: 0.7
|
|
32
33
|
font_color: rgb(230, 204, 147)
|
|
33
|
-
font_size: 7
|
|
34
|
-
font_weight: light
|
|
35
34
|
line:
|
|
36
35
|
alpha: 0.36
|
|
37
36
|
color: rgb(230, 204, 147)
|
|
38
|
-
|
|
37
|
+
constellation_borders:
|
|
38
|
+
color: hsl(220, 16%, 12%)
|
|
39
|
+
alpha: 0.8
|
|
39
40
|
|
|
40
41
|
dso_double_star:
|
|
41
42
|
marker:
|
|
42
|
-
alpha: 0.
|
|
43
|
+
alpha: 0.9
|
|
43
44
|
color: '#88c0d0'
|
|
44
45
|
edge_color: '#88c0d0'
|
|
45
46
|
label:
|
|
46
47
|
font_color: '#88c0d0'
|
|
47
48
|
dso_galaxy:
|
|
48
49
|
marker:
|
|
49
|
-
alpha: 0.
|
|
50
|
-
color:
|
|
51
|
-
edge_color:
|
|
50
|
+
alpha: 0.7
|
|
51
|
+
color: hsl(330, 45%, 74%)
|
|
52
|
+
edge_color: hsl(330, 45%, 63%)
|
|
52
53
|
label:
|
|
53
|
-
font_color:
|
|
54
|
+
font_color: hsl(330, 45%, 63%)
|
|
54
55
|
dso_nebula:
|
|
55
56
|
marker:
|
|
56
|
-
alpha: 0.
|
|
57
|
-
color:
|
|
58
|
-
edge_color:
|
|
57
|
+
alpha: 0.7
|
|
58
|
+
color: hsl(172, 15%, 56%)
|
|
59
|
+
edge_color: hsl(172, 15%, 50%)
|
|
59
60
|
label:
|
|
60
|
-
font_color:
|
|
61
|
-
|
|
61
|
+
font_color: hsl(172, 15%, 56%)
|
|
62
|
+
dso_planetary_nebula:
|
|
62
63
|
marker:
|
|
63
|
-
alpha: 0.
|
|
64
|
-
color:
|
|
65
|
-
edge_color:
|
|
64
|
+
alpha: 0.7
|
|
65
|
+
color: hsl(172, 15%, 56%)
|
|
66
|
+
edge_color: hsl(172, 15%, 50%)
|
|
66
67
|
label:
|
|
67
|
-
font_color:
|
|
68
|
-
|
|
68
|
+
font_color: hsl(172, 15%, 56%)
|
|
69
|
+
|
|
70
|
+
dso_open_cluster: &DSO-OC
|
|
69
71
|
marker:
|
|
70
|
-
alpha: 0.
|
|
71
|
-
color:
|
|
72
|
-
edge_color:
|
|
72
|
+
alpha: 0.7
|
|
73
|
+
color: hsl(61, 45%, 73%)
|
|
74
|
+
edge_color: hsl(61, 45%, 5%)
|
|
73
75
|
label:
|
|
74
76
|
font_color: '#9d9f3c'
|
|
77
|
+
dso_association_stars: *DSO-OC
|
|
78
|
+
|
|
75
79
|
dso_globular_cluster:
|
|
76
80
|
marker:
|
|
77
|
-
alpha: 0.
|
|
81
|
+
alpha: 0.7
|
|
78
82
|
color: '#c7c7c7'
|
|
79
83
|
edge_color: '#444'
|
|
80
84
|
label:
|
|
@@ -84,7 +88,7 @@ dso_globular_cluster:
|
|
|
84
88
|
# other DSOs
|
|
85
89
|
dso_unknown: &DSO
|
|
86
90
|
marker:
|
|
87
|
-
alpha: 0.
|
|
91
|
+
alpha: 0.7
|
|
88
92
|
color: '#9CD9BB'
|
|
89
93
|
edge_color: '#52896e'
|
|
90
94
|
label:
|
|
@@ -106,17 +110,16 @@ gridlines:
|
|
|
106
110
|
label:
|
|
107
111
|
font_alpha: 0.8
|
|
108
112
|
font_color: '#c2d2f3'
|
|
109
|
-
font_size: 8
|
|
110
113
|
font_weight: light
|
|
111
114
|
line:
|
|
112
115
|
alpha: 0.8
|
|
113
116
|
color: '#888'
|
|
114
117
|
style: solid
|
|
115
|
-
|
|
118
|
+
|
|
116
119
|
milky_way:
|
|
117
|
-
alpha: 0.
|
|
120
|
+
alpha: 0.16
|
|
118
121
|
fill_color: '#95a3bf'
|
|
119
|
-
|
|
122
|
+
|
|
120
123
|
planets:
|
|
121
124
|
label:
|
|
122
125
|
font_color: '#D99CCF'
|
|
@@ -128,7 +131,6 @@ planets:
|
|
|
128
131
|
star:
|
|
129
132
|
label:
|
|
130
133
|
font_color: '#88c0d0'
|
|
131
|
-
font_size: 9
|
|
132
134
|
font_weight: bold
|
|
133
135
|
marker:
|
|
134
136
|
color: '#88c0d0'
|
|
@@ -136,7 +138,6 @@ star:
|
|
|
136
138
|
sun:
|
|
137
139
|
label:
|
|
138
140
|
font_color: '#88c0d0'
|
|
139
|
-
font_size: 9
|
|
140
141
|
font_weight: bold
|
|
141
142
|
marker:
|
|
142
143
|
color: '#88c0d0'
|
|
@@ -144,13 +145,12 @@ sun:
|
|
|
144
145
|
moon:
|
|
145
146
|
label:
|
|
146
147
|
font_color: '#88c0d0'
|
|
147
|
-
font_size: 9
|
|
148
148
|
font_weight: bold
|
|
149
149
|
marker:
|
|
150
150
|
color: '#88c0d0'
|
|
151
151
|
|
|
152
152
|
bayer_labels:
|
|
153
|
-
font_alpha: 0.
|
|
153
|
+
font_alpha: 0.9
|
|
154
154
|
font_color: '#85c9de'
|
|
155
155
|
|
|
156
156
|
legend:
|
starplot/styles/ext/optic.yml
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
star:
|
|
2
2
|
label:
|
|
3
|
-
font_size:
|
|
3
|
+
font_size: 40
|
|
4
4
|
marker:
|
|
5
5
|
size: 30
|
|
6
6
|
bayer_labels:
|
|
7
|
-
font_size:
|
|
7
|
+
font_size: 40
|
|
8
|
+
flamsteed_labels:
|
|
9
|
+
font_size: 40
|
|
8
10
|
planets:
|
|
9
11
|
marker:
|
|
10
|
-
size:
|
|
12
|
+
size: 30
|
|
11
13
|
legend:
|
|
12
14
|
location: "lower center"
|
|
13
15
|
ecliptic:
|
|
14
16
|
label:
|
|
15
|
-
font_size:
|
|
17
|
+
font_size: 27
|
|
16
18
|
celestial_equator:
|
|
17
19
|
label:
|
|
18
|
-
font_size:
|
|
20
|
+
font_size: 27
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<p>
|
|
2
|
+
Under the influence of the neoclassical ideals of the late 18th century, the famous French typecutter <a href="https://en.wikipedia.org/wiki/Firmin_Didot">Firmin Didot</a> in Paris designed a new Greek typeface (1805) which was immediately used in the publishing programme of <a href="https://en.wikipedia.org/wiki/Adamantios_Korais">Adamantios Korais</a>, the prominent intellectual figure of the Greek diaspora and leading scholar of the Greek Enligntment.
|
|
3
|
+
The typeface eventually arrived in Greece, with the field press which came with Didot’s grandson Ambroise Firmin Didot, during the Greek Revolution in 1821.
|
|
4
|
+
</p>
|
|
5
|
+
<p>
|
|
6
|
+
Since then the typeface enjoyed an unrivaled success as the type of choice for almost every kind of publication, until the last decades of the 20th century.
|
|
7
|
+
Didot’s type was the base for a new font, GFS Didot (1994), which was designed by Takis Katsoulidis, and digitised by George Matthiopoulos, of the <a href="https://www.greekfontsociety-gfs.gr">Greek Font Society</a>.
|
|
8
|
+
The typeface is accompanied by a matching Latin design, inspired by Hermann Zapf’s <a href="https://en.wikipedia.org/wiki/Palatino">Palatino</a>.
|
|
9
|
+
</p>
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: "GFS Didot"
|
|
2
|
+
designer: "Greek Font Society"
|
|
3
|
+
license: "OFL"
|
|
4
|
+
category: "SERIF"
|
|
5
|
+
date_added: "2010-09-21"
|
|
6
|
+
fonts {
|
|
7
|
+
name: "GFS Didot"
|
|
8
|
+
style: "normal"
|
|
9
|
+
weight: 400
|
|
10
|
+
filename: "GFSDidot-Regular.ttf"
|
|
11
|
+
post_script_name: "GFSDidot-Regular"
|
|
12
|
+
full_name: "GFS Didot Regular"
|
|
13
|
+
copyright: "Copyright (c) Takis Katsoulidis and George D. Matthiopoulos (gfs@greekfontsociety.gr), 2001. All rights reserved."
|
|
14
|
+
}
|
|
15
|
+
subsets: "menu"
|
|
16
|
+
subsets: "greek"
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright (c) <17/12/07>, <GREEK FONT SOCIETY> (<http://www.greekfontsociety.org|gfs@greekfontsociety.org>),
|
|
2
|
+
with Reserved Font Name <GFS Didot>.
|
|
3
|
+
|
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
|
6
|
+
http://scripts.sil.org/OFL
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font creation
|
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
|
18
|
+
with others.
|
|
19
|
+
|
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
25
|
+
however, cannot be released under any other type of license. The
|
|
26
|
+
requirement for fonts to remain under this license does not apply
|
|
27
|
+
to any document created using the fonts or their derivatives.
|
|
28
|
+
|
|
29
|
+
DEFINITIONS
|
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
32
|
+
include source files, build scripts and documentation.
|
|
33
|
+
|
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
35
|
+
copyright statement(s).
|
|
36
|
+
|
|
37
|
+
"Original Version" refers to the collection of Font Software components as
|
|
38
|
+
distributed by the Copyright Holder(s).
|
|
39
|
+
|
|
40
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
41
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
42
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
43
|
+
new environment.
|
|
44
|
+
|
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
46
|
+
writer or other person who contributed to the Font Software.
|
|
47
|
+
|
|
48
|
+
PERMISSION & CONDITIONS
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
51
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
52
|
+
Software, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
1) Neither the Font Software nor any of its individual components,
|
|
55
|
+
in Original or Modified Versions, may be sold by itself.
|
|
56
|
+
|
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
|
59
|
+
contains the above copyright notice and this license. These can be
|
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
63
|
+
|
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
65
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
66
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
67
|
+
presented to the users.
|
|
68
|
+
|
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
73
|
+
permission.
|
|
74
|
+
|
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
76
|
+
must be distributed entirely under this license, and must not be
|
|
77
|
+
distributed under any other license. The requirement for fonts to
|
|
78
|
+
remain under this license does not apply to any document created
|
|
79
|
+
using the Font Software.
|
|
80
|
+
|
|
81
|
+
TERMINATION
|
|
82
|
+
This license becomes null and void if any of the above conditions are
|
|
83
|
+
not met.
|
|
84
|
+
|
|
85
|
+
DISCLAIMER
|
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<p>
|
|
2
|
+
Hind is an Open Source typeface supporting the Devanagari and Latin scripts.
|
|
3
|
+
Developed explicitly for use in User Interface design, the Hind font family includes five styles.
|
|
4
|
+
Hind’s letterforms have a humanist-style construction, which is paired with seemingly monolinear strokes.
|
|
5
|
+
Most of these strokes have flat endings: they either terminate with a horizontal or a vertical shear, rather than on a diagonal.
|
|
6
|
+
This helps create clear-cut counter forms between the characters.
|
|
7
|
+
In addition to this, Hind’s letterforms feature open apertures.
|
|
8
|
+
The entire typeface family feels very legible when used to set text.
|
|
9
|
+
</p>
|
|
10
|
+
<p>
|
|
11
|
+
The Devanagari and Latin script components are scaled in relation to each other so that the Devanagari headline falls just below the Latin capital-height.
|
|
12
|
+
In other words, the Devanagari base characters are 94% as tall as the Latin uppercase.
|
|
13
|
+
Text set in the Devanagari script sits nicely alongside the Latin lowercase, too.
|
|
14
|
+
Hind’s Devanagari vowel marks take forms that tends toward the traditional end of the design spectrum, while the knotted terminals inside of the base characters feature a treatment that appears more contemporary.
|
|
15
|
+
</p>
|
|
16
|
+
<p>
|
|
17
|
+
Each font in the Hind family has 1146 glyphs, which include hundreds of unique Devanagari conjuncts.
|
|
18
|
+
These ensure full support for the major languages written with the Devanagari script.
|
|
19
|
+
The Latin component’s character set is a basic western one, which enables typesetting in English and the other Western European languages.
|
|
20
|
+
Hind is a solid choice for UI design, and a wise selection for electronic display embedding.
|
|
21
|
+
</p>
|
|
22
|
+
<p>
|
|
23
|
+
Manushi Parikh designed Hind for the Indian Type Foundry, who first published the fonts in 2014.
|
|
24
|
+
</p>
|
|
25
|
+
<p>
|
|
26
|
+
The Hind project is led by Indian Type Foundry, a type design foundry based in Ahmedabad, India.
|
|
27
|
+
To contribute, see <a href="https://github.com/itfoundry/hind">github.com/itfoundry/hind</a>
|
|
28
|
+
</p>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
name: "Hind"
|
|
2
|
+
designer: "Indian Type Foundry"
|
|
3
|
+
license: "OFL"
|
|
4
|
+
category: "SANS_SERIF"
|
|
5
|
+
date_added: "2014-06-25"
|
|
6
|
+
fonts {
|
|
7
|
+
name: "Hind"
|
|
8
|
+
style: "normal"
|
|
9
|
+
weight: 300
|
|
10
|
+
filename: "Hind-Light.ttf"
|
|
11
|
+
post_script_name: "Hind-Light"
|
|
12
|
+
full_name: "Hind Light"
|
|
13
|
+
copyright: "Copyright (c) 2014 Indian Type Foundry (info@indiantypefoundry.com)"
|
|
14
|
+
}
|
|
15
|
+
fonts {
|
|
16
|
+
name: "Hind"
|
|
17
|
+
style: "normal"
|
|
18
|
+
weight: 400
|
|
19
|
+
filename: "Hind-Regular.ttf"
|
|
20
|
+
post_script_name: "Hind-Regular"
|
|
21
|
+
full_name: "Hind Regular"
|
|
22
|
+
copyright: "Copyright (c) 2014 Indian Type Foundry (info@indiantypefoundry.com)"
|
|
23
|
+
}
|
|
24
|
+
fonts {
|
|
25
|
+
name: "Hind"
|
|
26
|
+
style: "normal"
|
|
27
|
+
weight: 500
|
|
28
|
+
filename: "Hind-Medium.ttf"
|
|
29
|
+
post_script_name: "Hind-Medium"
|
|
30
|
+
full_name: "Hind Medium"
|
|
31
|
+
copyright: "Copyright (c) 2014 Indian Type Foundry (info@indiantypefoundry.com)"
|
|
32
|
+
}
|
|
33
|
+
fonts {
|
|
34
|
+
name: "Hind"
|
|
35
|
+
style: "normal"
|
|
36
|
+
weight: 600
|
|
37
|
+
filename: "Hind-SemiBold.ttf"
|
|
38
|
+
post_script_name: "Hind-SemiBold"
|
|
39
|
+
full_name: "Hind SemiBold"
|
|
40
|
+
copyright: "Copyright (c) 2014 Indian Type Foundry (info@indiantypefoundry.com)"
|
|
41
|
+
}
|
|
42
|
+
fonts {
|
|
43
|
+
name: "Hind"
|
|
44
|
+
style: "normal"
|
|
45
|
+
weight: 700
|
|
46
|
+
filename: "Hind-Bold.ttf"
|
|
47
|
+
post_script_name: "Hind-Bold"
|
|
48
|
+
full_name: "Hind Bold"
|
|
49
|
+
copyright: "Copyright (c) 2014 Indian Type Foundry (info@indiantypefoundry.com)"
|
|
50
|
+
}
|
|
51
|
+
subsets: "devanagari"
|
|
52
|
+
subsets: "latin"
|
|
53
|
+
subsets: "latin-ext"
|
|
54
|
+
subsets: "menu"
|
|
55
|
+
source {
|
|
56
|
+
repository_url: "https://github.com/itfoundry/hind"
|
|
57
|
+
}
|
|
58
|
+
primary_script: "Deva"
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright (c) 2014, Indian Type Foundry (info@indiantypefoundry.com).
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
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 creation
|
|
14
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
15
|
+
open framework in which fonts may be shared and improved in partnership
|
|
16
|
+
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
|
|
25
|
+
to 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 components as
|
|
36
|
+
distributed by the Copyright Holder(s).
|
|
37
|
+
|
|
38
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
39
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
40
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
41
|
+
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 AND 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, modify,
|
|
49
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
50
|
+
Software, subject to the following conditions:
|
|
51
|
+
|
|
52
|
+
1) Neither the Font Software nor any of its individual components,
|
|
53
|
+
in 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 corresponding
|
|
64
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
65
|
+
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
|
|
77
|
+
using 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.
|
starplot/styles/fonts.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from pathlib import Path
|
|
2
|
+
|
|
3
|
+
from matplotlib import font_manager
|
|
4
|
+
|
|
5
|
+
HERE = Path(__file__).resolve().parent
|
|
6
|
+
FONTS_PATH = HERE / "fonts-library"
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def load():
|
|
10
|
+
"""Loads all fonts in ./fonts-library"""
|
|
11
|
+
font_dirs = [FONTS_PATH]
|
|
12
|
+
font_files = font_manager.findSystemFonts(fontpaths=font_dirs)
|
|
13
|
+
|
|
14
|
+
for font_file in font_files:
|
|
15
|
+
font_manager.fontManager.addfont(font_file)
|