@openpresentation/opf-render 0.11.0 → 0.11.2

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.
Files changed (71) hide show
  1. package/README.md +18 -10
  2. package/dist/font-manifest.js +457 -41
  3. package/dist/font-policy.js +6 -6
  4. package/dist/fonts.js +6 -1
  5. package/dist/script-font-pack.js +48 -6
  6. package/fonts/anton/Anton-Regular.ttf +0 -0
  7. package/fonts/anton/OFL.txt +93 -0
  8. package/fonts/anton/PROVENANCE.json +21 -0
  9. package/fonts/archivo-narrow/ArchivoNarrow_400Regular.ttf +0 -0
  10. package/fonts/archivo-narrow/ArchivoNarrow_400Regular_Italic.ttf +0 -0
  11. package/fonts/archivo-narrow/ArchivoNarrow_700Bold.ttf +0 -0
  12. package/fonts/archivo-narrow/ArchivoNarrow_700Bold_Italic.ttf +0 -0
  13. package/fonts/archivo-narrow/OFL.txt +93 -0
  14. package/fonts/archivo-narrow/PROVENANCE.json +47 -0
  15. package/fonts/barlow/Barlow-Bold.ttf +0 -0
  16. package/fonts/barlow/Barlow-BoldItalic.ttf +0 -0
  17. package/fonts/barlow/Barlow-Italic.ttf +0 -0
  18. package/fonts/barlow/Barlow-Regular.ttf +0 -0
  19. package/fonts/barlow/OFL.txt +93 -0
  20. package/fonts/barlow/PROVENANCE.json +45 -0
  21. package/fonts/bitter/Bitter_400Regular.ttf +0 -0
  22. package/fonts/bitter/Bitter_400Regular_Italic.ttf +0 -0
  23. package/fonts/bitter/Bitter_700Bold.ttf +0 -0
  24. package/fonts/bitter/Bitter_700Bold_Italic.ttf +0 -0
  25. package/fonts/bitter/OFL.txt +94 -0
  26. package/fonts/bitter/PROVENANCE.json +49 -0
  27. package/fonts/eb-garamond/EBGaramond_400Regular.ttf +0 -0
  28. package/fonts/eb-garamond/EBGaramond_400Regular_Italic.ttf +0 -0
  29. package/fonts/eb-garamond/EBGaramond_700Bold.ttf +0 -0
  30. package/fonts/eb-garamond/EBGaramond_700Bold_Italic.ttf +0 -0
  31. package/fonts/eb-garamond/OFL.txt +93 -0
  32. package/fonts/eb-garamond/PROVENANCE.json +47 -0
  33. package/fonts/figtree/Figtree_400Regular.ttf +0 -0
  34. package/fonts/figtree/Figtree_400Regular_Italic.ttf +0 -0
  35. package/fonts/figtree/Figtree_700Bold.ttf +0 -0
  36. package/fonts/figtree/Figtree_700Bold_Italic.ttf +0 -0
  37. package/fonts/figtree/OFL.txt +93 -0
  38. package/fonts/figtree/PROVENANCE.json +47 -0
  39. package/fonts/libre-caslon-text/LibreCaslonText_400Regular.ttf +0 -0
  40. package/fonts/libre-caslon-text/LibreCaslonText_400Regular_Italic.ttf +0 -0
  41. package/fonts/libre-caslon-text/LibreCaslonText_700Bold.ttf +0 -0
  42. package/fonts/libre-caslon-text/OFL.txt +93 -0
  43. package/fonts/libre-caslon-text/PROVENANCE.json +39 -0
  44. package/fonts/red-hat-display/OFL.txt +2 -2
  45. package/fonts/red-hat-display/PROVENANCE.json +57 -16
  46. package/fonts/red-hat-display/RedHatDisplay_300Light.ttf +0 -0
  47. package/fonts/red-hat-display/RedHatDisplay_300Light_Italic.ttf +0 -0
  48. package/fonts/red-hat-display/RedHatDisplay_400Regular.ttf +0 -0
  49. package/fonts/red-hat-display/RedHatDisplay_400Regular_Italic.ttf +0 -0
  50. package/fonts/red-hat-display/RedHatDisplay_600SemiBold.ttf +0 -0
  51. package/fonts/red-hat-display/RedHatDisplay_600SemiBold_Italic.ttf +0 -0
  52. package/fonts/red-hat-display/RedHatDisplay_700Bold.ttf +0 -0
  53. package/fonts/red-hat-display/RedHatDisplay_700Bold_Italic.ttf +0 -0
  54. package/fonts/red-hat-text/OFL.txt +2 -2
  55. package/fonts/red-hat-text/PROVENANCE.json +28 -11
  56. package/fonts/red-hat-text/RedHatText_400Regular.ttf +0 -0
  57. package/fonts/red-hat-text/RedHatText_400Regular_Italic.ttf +0 -0
  58. package/fonts/red-hat-text/RedHatText_700Bold.ttf +0 -0
  59. package/fonts/red-hat-text/RedHatText_700Bold_Italic.ttf +0 -0
  60. package/fonts/work-sans/OFL.txt +93 -0
  61. package/fonts/work-sans/PROVENANCE.json +47 -0
  62. package/fonts/work-sans/WorkSans_400Regular.ttf +0 -0
  63. package/fonts/work-sans/WorkSans_400Regular_Italic.ttf +0 -0
  64. package/fonts/work-sans/WorkSans_700Bold.ttf +0 -0
  65. package/fonts/work-sans/WorkSans_700Bold_Italic.ttf +0 -0
  66. package/package.json +4 -3
  67. package/fonts/red-hat-display/RedHatDisplay-Bold.ttf +0 -0
  68. package/fonts/red-hat-display/RedHatDisplay-Light.ttf +0 -0
  69. package/fonts/red-hat-display/RedHatDisplay-Regular.ttf +0 -0
  70. package/fonts/red-hat-text/RedHatText-Bold.ttf +0 -0
  71. package/fonts/red-hat-text/RedHatText-Regular.ttf +0 -0
@@ -106,18 +106,58 @@ const cjkCharacters = new Set(["Hani", "Hira", "Kana", "Hang", "Bopo"]);
106
106
  /** True when the renderer has per-character glyph fallback (FF-19 glyphFallbackFamilies). */
107
107
  const hasGlyphFallback = () => typeof scriptFontModule.glyphFallbackFamilies === "function";
108
108
 
109
+ /** ISO 15924 script whose pinned face a family resolves to: a proprietary script font (Yu Gothic: Jpan) or a pinned face itself (Noto Sans JP: Jpan). */
110
+ function scriptOfFamily(family) {
111
+ const name = String(family ?? "").toLowerCase();
112
+ if (!name) return undefined;
113
+ const rule = scriptFontModule.SCRIPT_FONT_REPLACEMENTS.find(item => item.requestedFamily.toLowerCase() === name);
114
+ if (rule) return rule.script;
115
+ return BUNDLED_FONT_MANIFEST.packages.find(item => item.pack === "scripts" && item.faces.some(face => face.family.toLowerCase() === name))?.scripts[0];
116
+ }
117
+
118
+ /**
119
+ * The scripts whose faces the deck's font schemes need in order to resolve at all. A scheme that names a script font
120
+ * (Yu Gothic, Malgun Gothic, Arabic Typesetting or a pinned Noto family) previews its Latin text with that font's
121
+ * open replacement, so the face is needed even when no drawn character has the script. A slide may override the
122
+ * scheme (`slide.design`), so each such slide is resolved too. `han` is the CJK script the scheme names, which tells
123
+ * Han-only text apart when the language does not (a Yu Gothic deck whose language is English).
124
+ */
125
+ function designScripts(presentation, profile) {
126
+ const scripts = new Set();
127
+ let han;
128
+ const note = resolved => {
129
+ for (const family of [resolved?.heading?.latin, resolved?.body?.latin]) {
130
+ const script = scriptOfFamily(family);
131
+ if (!script) continue;
132
+ scripts.add(script);
133
+ if (!han && cjkKeys.includes(script)) han = script;
134
+ }
135
+ };
136
+ note(profile);
137
+ if (typeof opfCore.resolveScriptFonts === "function" && Array.isArray(presentation?.slides)) {
138
+ presentation.slides.forEach((slide, slideIndex) => {
139
+ if (!slide || typeof slide !== "object" || !slide.design || typeof slide.design !== "object") return;
140
+ try { note(opfCore.resolveScriptFonts(presentation, { slideIndex })); } catch { /* the renderer reports it when it draws the slide */ }
141
+ });
142
+ }
143
+ return { scripts: [...scripts].sort(), han };
144
+ }
145
+
109
146
  /**
110
147
  * What a preview of the presentation draws: its script profile, the scripts of its text (the renderer's own
111
- * itemization, so language-dependent punctuation counts), and the CJK characters that a glyph fallback might
112
- * have to draw with another CJK face.
148
+ * itemization, so language-dependent punctuation counts), the scripts its font schemes need (`design`, for example
149
+ * Jpan for a Yu Gothic scheme) and the CJK characters that a glyph fallback might have to draw with another CJK face.
113
150
  */
114
151
  export function analyzePresentationScripts(presentation, profile = presentationScriptProfile(presentation)) {
115
152
  const scripts = new Set(), cjk = new Set();
153
+ const design = designScripts(presentation, profile);
154
+ // Han-only text in a deck whose language is not CJK draws with the scheme's own CJK face when the scheme names one.
155
+ const itemizing = design.han && !cjkKeys.includes(profile?.script) ? { ...profile, script: design.han } : profile;
116
156
  for (const text of drawnStrings(presentation)) {
117
- for (const script of scriptsOfText(text, profile)) scripts.add(script);
157
+ for (const script of scriptsOfText(text, itemizing)) scripts.add(script);
118
158
  for (const character of text) if (character.codePointAt(0) > 0x2E7F && cjkCharacters.has(scriptOfCharacter(character))) cjk.add(character);
119
159
  }
120
- return { profile, detected: [...scripts].sort(), cjk };
160
+ return { profile, detected: [...scripts].sort(), design: design.scripts, cjk };
121
161
  }
122
162
 
123
163
  /**
@@ -135,7 +175,9 @@ export function detectPresentationScripts(presentation, { profile } = {}) {
135
175
  /** The scripts of an analysis that a pinned pack serves (`scripts`, the input for `scriptFontPackages`) and those it does not. */
136
176
  export function scriptSelectionOf(analysis) {
137
177
  const served = servedScripts();
138
- return { detected: analysis.detected, scripts: analysis.detected.filter(script => served.has(script)), unavailable: analysis.detected.filter(script => !served.has(script)) };
178
+ // `scripts` are the faces to load: the text's scripts and the ones its font schemes need; `detected` stays what the text draws.
179
+ const needed = [...new Set([...analysis.detected, ...(analysis.design ?? [])])].sort();
180
+ return { detected: analysis.detected, scripts: needed.filter(script => served.has(script)), unavailable: analysis.detected.filter(script => !served.has(script)) };
139
181
  }
140
182
 
141
183
  /**
@@ -160,7 +202,7 @@ export function autoScriptSelection(presentation, options) {
160
202
  export function nextFallbackPackage(analysis, { covers, loaded }) {
161
203
  if (!hasGlyphFallback()) return undefined;
162
204
  const packages = BUNDLED_FONT_MANIFEST.packages.filter(item => item.pack === "scripts" && item.scripts.some(script => cjkKeys.includes(script)));
163
- const primary = analysis.detected.filter(script => cjkKeys.includes(script)).length;
205
+ const primary = new Set([...analysis.detected, ...(analysis.design ?? [])].filter(script => cjkKeys.includes(script))).size;
164
206
  if (packages.filter(item => loaded.has(item.name)).length >= primary + 1) return undefined;
165
207
  for (const character of analysis.cjk) {
166
208
  if (covers(character)) continue;
Binary file
@@ -0,0 +1,93 @@
1
+ Copyright 2020 The Anton Project Authors (https://github.com/googlefonts/AntonFont.git)
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.
@@ -0,0 +1,21 @@
1
+ {
2
+ "upstream": {
3
+ "source": "https://github.com/google/fonts/tree/23e54b51ddffbc7713c583748e3bd86f62b1fa4a/ofl/anton",
4
+ "commit": "23e54b51ddffbc7713c583748e3bd86f62b1fa4a"
5
+ },
6
+ "license": "OFL-1.1",
7
+ "licenseFile": "OFL.txt",
8
+ "licenseSha256": "ee67e6ee22790b7929f1a3769ca2801d565c64b5a9096942c1adf5596de9c9e4",
9
+ "reservedFontNames": [],
10
+ "copyright": "Copyright 2020 The Anton Project Authors (https://github.com/googlefonts/AntonFont.git)",
11
+ "faces": [
12
+ {
13
+ "file": "Anton-Regular.ttf",
14
+ "family": "Anton",
15
+ "weight": 400,
16
+ "italic": false,
17
+ "sha256": "a4ba3a92350ebb031da0cb47630ac49eb265082ca1bc0450442f4a83ab947cab",
18
+ "upstreamUrl": "https://raw.githubusercontent.com/google/fonts/23e54b51ddffbc7713c583748e3bd86f62b1fa4a/ofl/anton/Anton-Regular.ttf"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,93 @@
1
+ Copyright 2019 The Archivo Narrow Project Authors (https://github.com/Omnibus-Type/ArchivoNarrow)
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
+ https://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.
@@ -0,0 +1,47 @@
1
+ {
2
+ "upstream": {
3
+ "package": "@expo-google-fonts/archivo-narrow",
4
+ "version": "0.4.2",
5
+ "source": "https://www.npmjs.com/package/@expo-google-fonts/archivo-narrow/v/0.4.2",
6
+ "integrity": "sha512-uD54ZIwnpiAKH2Bjj1awgfIMkVwDTKHICGa4y8n6oXdIXNwDPjk8EYWz8CIY3l9x3wVoSSRkd85rmueckJmZbA=="
7
+ },
8
+ "license": "OFL-1.1",
9
+ "licenseFile": "OFL.txt",
10
+ "licenseSha256": "b2087ef3fb91248e346600d19021249152a9688efea72905aa1996bb16a4c8de",
11
+ "reservedFontNames": [],
12
+ "copyright": "Copyright 2019 The Archivo Narrow Project Authors (https://github.com/Omnibus-Type/ArchivoNarrow)",
13
+ "faces": [
14
+ {
15
+ "file": "ArchivoNarrow_400Regular.ttf",
16
+ "family": "Archivo Narrow",
17
+ "weight": 400,
18
+ "italic": false,
19
+ "sha256": "a6f42674111326d8a14897d87de4ce667090560941afc3e190709021982abf5a",
20
+ "npmFile": "400Regular/ArchivoNarrow_400Regular.ttf"
21
+ },
22
+ {
23
+ "file": "ArchivoNarrow_400Regular_Italic.ttf",
24
+ "family": "Archivo Narrow",
25
+ "weight": 400,
26
+ "italic": true,
27
+ "sha256": "61653c68a59fc5f0a660f2cfec0bad7344a626b8177649370e94cb732eabbb37",
28
+ "npmFile": "400Regular_Italic/ArchivoNarrow_400Regular_Italic.ttf"
29
+ },
30
+ {
31
+ "file": "ArchivoNarrow_700Bold.ttf",
32
+ "family": "Archivo Narrow",
33
+ "weight": 700,
34
+ "italic": false,
35
+ "sha256": "bc2698008c4fa878f17b9ffb64c6fd2f0c83ca1f69cda591253221efb357a78d",
36
+ "npmFile": "700Bold/ArchivoNarrow_700Bold.ttf"
37
+ },
38
+ {
39
+ "file": "ArchivoNarrow_700Bold_Italic.ttf",
40
+ "family": "Archivo Narrow",
41
+ "weight": 700,
42
+ "italic": true,
43
+ "sha256": "dd588c564e4dec669335f6fea01b1f229f7629c3e836178e3ad9db8d6e9d6228",
44
+ "npmFile": "700Bold_Italic/ArchivoNarrow_700Bold_Italic.ttf"
45
+ }
46
+ ]
47
+ }
Binary file
Binary file
Binary file
@@ -0,0 +1,93 @@
1
+ Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow)
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.
@@ -0,0 +1,45 @@
1
+ {
2
+ "upstream": {
3
+ "source": "https://github.com/google/fonts/tree/23e54b51ddffbc7713c583748e3bd86f62b1fa4a/ofl/barlow",
4
+ "commit": "23e54b51ddffbc7713c583748e3bd86f62b1fa4a"
5
+ },
6
+ "license": "OFL-1.1",
7
+ "licenseFile": "OFL.txt",
8
+ "licenseSha256": "186d750eb496a4c17a76385f82be6aea2ac1cf2de074a811d63786cf374ea73f",
9
+ "reservedFontNames": [],
10
+ "copyright": "Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow)",
11
+ "faces": [
12
+ {
13
+ "file": "Barlow-Regular.ttf",
14
+ "family": "Barlow",
15
+ "weight": 400,
16
+ "italic": false,
17
+ "sha256": "95aa02c7c43096e0dd44d787ba6216864a67157e402adab59b35572e0c1577ea",
18
+ "upstreamUrl": "https://raw.githubusercontent.com/google/fonts/23e54b51ddffbc7713c583748e3bd86f62b1fa4a/ofl/barlow/Barlow-Regular.ttf"
19
+ },
20
+ {
21
+ "file": "Barlow-Italic.ttf",
22
+ "family": "Barlow",
23
+ "weight": 400,
24
+ "italic": true,
25
+ "sha256": "70cf45c354af39e55082fd506e748cc6a0a1812949875f99ded3f76bf691e4ca",
26
+ "upstreamUrl": "https://raw.githubusercontent.com/google/fonts/23e54b51ddffbc7713c583748e3bd86f62b1fa4a/ofl/barlow/Barlow-Italic.ttf"
27
+ },
28
+ {
29
+ "file": "Barlow-Bold.ttf",
30
+ "family": "Barlow",
31
+ "weight": 700,
32
+ "italic": false,
33
+ "sha256": "84e6a4d61e7c3e21f3c50ea6a4f7e5303a3467864c038be6ea3759bab8d547f9",
34
+ "upstreamUrl": "https://raw.githubusercontent.com/google/fonts/23e54b51ddffbc7713c583748e3bd86f62b1fa4a/ofl/barlow/Barlow-Bold.ttf"
35
+ },
36
+ {
37
+ "file": "Barlow-BoldItalic.ttf",
38
+ "family": "Barlow",
39
+ "weight": 700,
40
+ "italic": true,
41
+ "sha256": "079dcee4a53544177f3b16354b27b40b521e22861a40084ab4d052f0289ed9e8",
42
+ "upstreamUrl": "https://raw.githubusercontent.com/google/fonts/23e54b51ddffbc7713c583748e3bd86f62b1fa4a/ofl/barlow/Barlow-BoldItalic.ttf"
43
+ }
44
+ ]
45
+ }
Binary file
@@ -0,0 +1,94 @@
1
+ Copyright 2011 The Bitter Project Authors (https://github.com/solmatas/BitterPro)
2
+ with Reserved Font Name "Bitter Pro".
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
+ https://openfontlicense.org
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,49 @@
1
+ {
2
+ "upstream": {
3
+ "package": "@expo-google-fonts/bitter",
4
+ "version": "0.4.2",
5
+ "source": "https://www.npmjs.com/package/@expo-google-fonts/bitter/v/0.4.2",
6
+ "integrity": "sha512-7nAQQhj1k7CTn77ivgRnR39HqrVbzezJ3d8N9EWeDIfFDpZ9ACUNzHI7sg++JmvDnx1wuXwmfpjagTPTg2ZgWw=="
7
+ },
8
+ "license": "OFL-1.1",
9
+ "licenseFile": "OFL.txt",
10
+ "licenseSha256": "152a1e283e23b42c4940da4c72f2f5bebaa17969cb77c76d7af05903846006f1",
11
+ "reservedFontNames": [
12
+ "Bitter Pro"
13
+ ],
14
+ "copyright": "Copyright 2011 The Bitter Project Authors (https://github.com/solmatas/BitterPro)",
15
+ "faces": [
16
+ {
17
+ "file": "Bitter_400Regular.ttf",
18
+ "family": "Bitter",
19
+ "weight": 400,
20
+ "italic": false,
21
+ "sha256": "46a52a6b4e3202563bac5134c02e4d9db63685c439104a803a0b4fbf9e8ceaf4",
22
+ "npmFile": "400Regular/Bitter_400Regular.ttf"
23
+ },
24
+ {
25
+ "file": "Bitter_400Regular_Italic.ttf",
26
+ "family": "Bitter",
27
+ "weight": 400,
28
+ "italic": true,
29
+ "sha256": "4eda5cb005b1af2d5a733e0dcd727f65e2bddd0ea0466893f6d9259929ef20b2",
30
+ "npmFile": "400Regular_Italic/Bitter_400Regular_Italic.ttf"
31
+ },
32
+ {
33
+ "file": "Bitter_700Bold.ttf",
34
+ "family": "Bitter",
35
+ "weight": 700,
36
+ "italic": false,
37
+ "sha256": "391582a3004c7600b7234123c3c810b8c2c5ed3c90af7f087fe55f003cc075bf",
38
+ "npmFile": "700Bold/Bitter_700Bold.ttf"
39
+ },
40
+ {
41
+ "file": "Bitter_700Bold_Italic.ttf",
42
+ "family": "Bitter",
43
+ "weight": 700,
44
+ "italic": true,
45
+ "sha256": "65fad0650e416aebb4a7f6893633907f0e10ea153974b0c69f9074b611c259c4",
46
+ "npmFile": "700Bold_Italic/Bitter_700Bold_Italic.ttf"
47
+ }
48
+ ]
49
+ }