cyborg-hunter 0.8.0 → 0.9.1

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 (41) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/CITATION.cff +2 -2
  3. package/README.md +6 -4
  4. package/dist/cyborg-hunter-replay.js +2 -2
  5. package/dist/cyborg-hunter.esm.js +3 -1
  6. package/dist/cyborg-hunter.min.js +2 -2
  7. package/dist/extension-cyborg-hunter.js +1 -1
  8. package/package.json +1 -1
  9. package/src/cli/analyzers/score-weights.js +145 -0
  10. package/src/cli/analyzers/triage.js +55 -39
  11. package/src/cli/config.js +15 -0
  12. package/src/cli/preview-entry.js +6 -0
  13. package/src/cli/renderers/font-face-css.js +16 -0
  14. package/src/cli/renderers/fonts/FONTS_MANIFEST.json +69 -0
  15. package/src/cli/renderers/fonts/majormonodisplay/OFL.txt +93 -0
  16. package/src/cli/renderers/fonts/majormonodisplay/majormonodisplay-400.woff2 +0 -0
  17. package/src/cli/renderers/fonts/recursive/OFL.txt +93 -0
  18. package/src/cli/renderers/fonts/recursive/recursive-300-1000.woff2 +0 -0
  19. package/src/cli/renderers/fonts/sofiasans/OFL.txt +93 -0
  20. package/src/cli/renderers/fonts/sofiasans/sofiasans-1-1000.woff2 +0 -0
  21. package/src/cli/renderers/fonts/sora/OFL.txt +93 -0
  22. package/src/cli/renderers/fonts/sora/sora-100-800.woff2 +0 -0
  23. package/src/cli/renderers/fonts/spacegrotesk/OFL.txt +93 -0
  24. package/src/cli/renderers/fonts/spacegrotesk/spacegrotesk-300-700.woff2 +0 -0
  25. package/src/cli/renderers/fonts/tomorrow/OFL.txt +93 -0
  26. package/src/cli/renderers/fonts/tomorrow/tomorrow-400.woff2 +0 -0
  27. package/src/cli/renderers/html-index-core.js +120 -106
  28. package/src/cli/renderers/html-index.js +7 -2
  29. package/src/cli/renderers/replay-styles.js +61 -0
  30. package/src/cli/renderers/replay-viewer.client.js +8 -6
  31. package/src/cli/renderers/report-fonts.js +24 -0
  32. package/src/cli/renderers/score-weights.js +16 -0
  33. package/src/cli/renderers/summary-csv.js +2 -0
  34. package/src/cli/renderers/trajectories-core.js +2 -1
  35. package/src/cli/renderers/triage-md.js +9 -2
  36. package/src/cli/report.js +10 -3
  37. package/src/jspsych/extension-cyborg-hunter-replay.js +1 -1
  38. package/src/jspsych/extension-cyborg-hunter.js +1 -1
  39. package/src/shared/constants.js +1 -1
  40. package/src/shared/schema.js +1 -0
  41. package/src/shared/validation.js +1 -1
@@ -5,24 +5,36 @@
5
5
  //
6
6
  // Ranking has two parts (see rankTriage + decomposeScore below):
7
7
  // - tier: hard-triggered → soft-flagged → clean (primary sort key)
8
- // - score: 5×paste + 5×copy + 3×sidebar-open + 1×tab-away (within a tier),
9
- // where a "tab-away" is one longer than the participant's tab-away
10
- // threshold (3s by default, 5s for the strict preset)
11
- // Other signals (AI extensions, keyboard shortcuts, layout/zoom, edge-exits,
12
- // synthetic insertions, foreign inputs, honeypot disclosure) are surfaced in the
13
- // reason and detail panes but do NOT contribute to the score.
8
+ // - score: by default 5×paste + 5×copy + 3×sidebar-open + 1×tab-away (within
9
+ // a tier), where a "tab-away" is one longer than the participant's
10
+ // tab-away threshold (3s by default, 5s for the strict preset).
11
+ // config.scoreWeights can reweight these and switch on any other
12
+ // signal (see score-weights.js); the tier never depends on it.
13
+ // Signals with weight 0 (by default: AI extensions, keyboard shortcuts,
14
+ // layout/zoom, edge-exits, synthetic insertions, foreign inputs) and honeypot
15
+ // disclosure are surfaced in the reason and detail panes but do not contribute
16
+ // to the score.
17
+
18
+ import { SCORE_SIGNALS, DEFAULT_RESOLVED_WEIGHTS, resolveScoreWeights } from './score-weights.js';
14
19
 
15
20
  export function rankTriage(summaries, edgeExits, config) {
21
+ // Resolved once per run. Warnings are not printed here: config.js
22
+ // (cliConfigWarnings) is the single place they reach the console.
23
+ const { weights } = resolveScoreWeights(config?.scoreWeights);
16
24
  const triageList = summaries.map((s, i) => {
17
25
  const ee = edgeExits[i];
18
26
  const totalEdgeExits = ee.edgeExits.reduce((sum, t) => sum + t.edgeExitCount, 0);
19
27
 
20
- const score = computeTriageScore(s, totalEdgeExits);
28
+ const terms = decomposeScore(s, totalEdgeExits, s.hardTriggered, weights);
29
+ const score = sumTerms(terms);
21
30
  const reason = generateTriageReason(s, totalEdgeExits);
22
31
 
23
32
  return {
24
33
  participantId: s.participantId,
25
34
  score,
35
+ // The applied [signal, contribution] pairs; renderers draw these so the
36
+ // breakdown always matches the score that was ranked on.
37
+ terms,
26
38
  reason,
27
39
  hardTriggered: s.hardTriggered,
28
40
  // Threshold precedence: an explicit analyst-side CLI override
@@ -40,8 +52,8 @@ export function rankTriage(summaries, edgeExits, config) {
40
52
  // Sort tier-first (hard, then soft, then clean), and by score descending
41
53
  // within a tier. A hard-triggered participant (paste/drop over its count
42
54
  // threshold) is categorically more actionable than a high soft-signal count,
43
- // so they must lead the "start here" triage.md even though the four-term
44
- // score (paste/copy/sidebar/tab-away) no longer includes a hard-trigger term.
55
+ // so they must lead the "start here" triage.md even though the score (by
56
+ // default paste/copy/sidebar/tab-away) includes no hard-trigger term.
45
57
  // This matches the HTML index's "Tier" sort (hard:0, soft:1, clean:2; score
46
58
  // desc within tier).
47
59
  const tierRank = (t) => (t.hardTriggered ? 0 : t.softFlagged ? 1 : 2);
@@ -54,47 +66,51 @@ export function rankTriage(summaries, edgeExits, config) {
54
66
  }
55
67
 
56
68
  // Decomposes the composite triage score into [label, contribution] pairs.
57
- // Used by both computeTriageScore (sums them) and the HTML renderer (displays them
69
+ // Used by both rankTriage (sums them, and keeps them on the row as `terms`) and the
70
+ // HTML renderer (displays them
58
71
  // with bars). Keeping the formula here means the score breakdown in the report can
59
72
  // never silently disagree with the ranked score it explains.
60
73
  //
61
- // Scoring policy (fixed 2026-06-01): only four signals contribute to the
62
- // score —
74
+ // Each signal in SCORE_SIGNALS (score-weights.js) contributes
75
+ // min(count, max) × weight; signals whose weight is 0 are left out of the list
76
+ // (a weighted signal with a count of 0 stays in, as `[key, 0]`). The DEFAULT
77
+ // weights are the 2026-06-01 policy, so without config.scoreWeights the result
78
+ // is the 0.8.0 four-term list:
63
79
  // 5 × paste events
64
80
  // 5 × copy events
65
81
  // 3 × sidebar events (open cycles)
66
82
  // 1 × tab-aways longer than the participant's tab-away threshold (3s default,
67
83
  // 5s strict) — excludes at-or-below-cutoff flickers, which are mostly noise
68
84
  // from brief URL-bar focus / window edge clicks
69
- // Hard-trigger, AI extensions, layout shifts, zoom changes, keyboard shortcuts,
70
- // edge exits, synthetic insertions, and foreign inputs no longer affect the
71
- // *score*. They are NOT hidden from review: every event list still renders in
72
- // the per-participant detail panes, and hard-triggered participants are still
73
- // surfaced via the hard/soft/clean tier (which is independent of this score).
74
- // edgeExitCount and hardTriggered remain in the signature for the renderer's
75
- // call site but are unused under this policy.
76
- export function decomposeScore(summary, edgeExitCount, hardTriggered) {
77
- const sidebarCount = summary.sidebarEventCount ?? (summary.sidebarDetected ? 1 : 0);
78
- const tabAwayMeaningful =
79
- (summary.tabAwayLongCount || 0) + (summary.tabAwayMediumCount || 0);
80
- return [
81
- ['paste', (summary.totalPasteEvents || 0) * 5],
82
- ['copy', (summary.totalCopyEvents || 0) * 5],
83
- ['sidebar', sidebarCount * 3],
84
- ['tabaway', tabAwayMeaningful],
85
- ];
85
+ // Every other signal (AI extensions, layout shifts, zoom, keyboard shortcuts,
86
+ // edge exits, synthetic insertions, foreign inputs, …) defaults to 0 and can be
87
+ // weighted through config.scoreWeights. Nothing here affects the hard/soft/clean
88
+ // tier, and unweighted signals still render in the per-participant detail panes.
89
+ // hardTriggered stays in the signature for the renderer's call site; it is unused.
90
+ export function decomposeScore(summary, edgeExitCount, hardTriggered, weights = DEFAULT_RESOLVED_WEIGHTS) {
91
+ const terms = [];
92
+ for (const sig of SCORE_SIGNALS) {
93
+ const { weight, max } = weights[sig.key];
94
+ if (weight === 0) continue;
95
+ const count = sig.count(summary, edgeExitCount);
96
+ terms.push([sig.key, (max == null ? count : Math.min(count, max)) * weight]);
97
+ }
98
+ return terms;
86
99
  }
87
100
 
88
- // computeTriageScore stays an internal helper. It accumulates the decomposition
89
- // in the original iteration order, starting from the soft base directly (NOT
90
- // from a defensive 0) — same `let score = base; score += hardTerm; score +=
91
- // edgeTerm; …` behaviour as the pre-refactor inline version. For malformed data
92
- // where `base` is a non-number (e.g. an object), every subsequent `+=` becomes
93
- // a string concat — exactly as it did before this refactor.
94
- function computeTriageScore(summary, edgeExitCount) {
95
- const terms = decomposeScore(summary, edgeExitCount, summary.hardTriggered);
96
- let score = terms[0][1];
101
+ // sumTerms stays an internal helper. It sums the decomposition in order,
102
+ // starting from the first term rather than a defensive 0, as the pre-refactor
103
+ // inline version did. With every weight set to 0 the list is empty and the
104
+ // score is 0. (Since 0.9.0 every term is multiplied by its weight, so malformed
105
+ // string counts are coerced to numbers rather than string-concatenated as they
106
+ // could be for the unmultiplied 0.8.0 tab-away term.)
107
+ function sumTerms(terms) {
108
+ let score = terms.length ? terms[0][1] : 0;
97
109
  for (let i = 1; i < terms.length; i++) score += terms[i][1];
110
+ // Deliberately unrounded: ordering uses the exact sum, so no configured
111
+ // contribution, however small, can be erased. Binary noise from fractional
112
+ // weights (0.1 × 3 = 0.30000000000000004) is removed only where scores are
113
+ // displayed, by formatScore (score-weights.js).
98
114
  return score;
99
115
  }
100
116
 
@@ -141,7 +157,7 @@ export function generateTriageReason(summary, edgeExitCount = 0) {
141
157
  if (summary.totalSyntheticInsertions > 0) parts.push(`${summary.totalSyntheticInsertions} synthetic insertions`);
142
158
  if (summary.totalForeignInputEvents > 0) parts.push(`${summary.totalForeignInputEvents} foreign inputs`);
143
159
  // Guard-honeypot self-disclosure — a strong corroborating signal, surfaced in
144
- // the reason though it does not feed the four-term score.
160
+ // the reason though it does not feed the score (it has no scoreWeights key).
145
161
  if (summary.honeypotAiUse) parts.push('self-reported AI use (honeypot)');
146
162
  if (parts.length === 0) parts.push('clean');
147
163
  return parts.join('; ');
package/src/cli/config.js CHANGED
@@ -10,6 +10,7 @@ import { readFileSync, existsSync } from 'fs';
10
10
  import { resolve, join } from 'path';
11
11
  import { DEFAULT_CLI_CONFIG } from '../shared/schema.js';
12
12
  import { validateConfig } from '../shared/validation.js';
13
+ import { resolveScoreWeights } from './analyzers/score-weights.js';
13
14
 
14
15
  export function loadConfig(cliArgs) {
15
16
  // Parse CLI flags into a simple key-value object
@@ -67,6 +68,20 @@ export function cliConfigWarnings(config) {
67
68
  `soft-flagged. Set it to a number.`
68
69
  );
69
70
  }
71
+ // The browser library's scoring rules look like they belong here too, but
72
+ // the CLI reads only scoring.softScoreThreshold; the report score's weights
73
+ // live in scoreWeights. Say so rather than ignore them silently.
74
+ const scoring = config?.scoring;
75
+ if (scoring && typeof scoring === 'object' && (scoring.soft != null || scoring.hard != null)) {
76
+ warnings.push(
77
+ 'scoring.soft / scoring.hard configure the browser library, not the report; ' +
78
+ 'the CLI ignores them (only scoring.softScoreThreshold is read). To weight ' +
79
+ 'signals in the report score, use "scoreWeights".'
80
+ );
81
+ }
82
+ // This is the single place scoreWeights warnings reach the console
83
+ // (rankTriage resolves the same weights silently).
84
+ warnings.push(...resolveScoreWeights(config?.scoreWeights).warnings);
70
85
  return warnings;
71
86
  }
72
87
 
@@ -15,6 +15,12 @@
15
15
  // is what this entry point bundles instead.
16
16
 
17
17
  export { renderIndexHtml } from './renderers/html-index-core.js';
18
+ // The replay viewer's CSS, shared with the demo's replay-host iframe so it
19
+ // no longer keeps its own hand-synced copy (results.js passes it down).
20
+ export { REPLAY_STYLES_CSS } from './renderers/replay-styles.js';
21
+ // The pure @font-face formatter: the demo fetches the report's WOFF2 files
22
+ // and formats them exactly as the CLI's report-fonts.js does.
23
+ export { fontFaceCss } from './renderers/font-face-css.js';
18
24
  export { computeSummary } from './analyzers/summary.js';
19
25
  export { detectEdgeExits } from './analyzers/edge-exit.js';
20
26
  export { rankTriage } from './analyzers/triage.js';
@@ -0,0 +1,16 @@
1
+ // src/cli/renderers/font-face-css.js
2
+ // The one @font-face formatter for the report's embedded typefaces. Pure (no
3
+ // fs), so both callers share it: the CLI (report-fonts.js reads the WOFF2
4
+ // files from disk) and the browser demo (demo/results.js fetches the same
5
+ // files and gets this through the preview-core bundle). Each manifest entry
6
+ // ({ family, weight, path }) becomes one rule with a base64 data URI.
7
+ //
8
+ // display: 'block' for the CLI report — everything is inline, so a face is
9
+ // never late and must never swap in after a fallback flash.
10
+
11
+ export function fontFaceCss(files, base64Of, display = 'block') {
12
+ return files.map(f =>
13
+ `@font-face { font-family: "${f.family}"; font-style: normal; font-weight: ${f.weight}; ` +
14
+ `font-display: ${display}; src: url(data:font/woff2;base64,${base64Of(f.path)}) format("woff2"); }`
15
+ ).join('\n');
16
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "description": "Fonts embedded in the CLI HTML report (report-fonts.js). Latin-subset WOFF2 files redistributed exactly as served by fonts.googleapis.com, unmodified by us; each family is licensed under the SIL Open Font License 1.1 (see <family>/OFL.txt).",
3
+ "fetched": "2026-09-27",
4
+ "license": "OFL-1.1",
5
+ "reservedFontNames": "none declared in any of the six OFL.txt copyright headers (checked 2026-10-01)",
6
+ "licenseSource": "https://raw.githubusercontent.com/google/fonts/main/ofl/<slug>/OFL.txt",
7
+ "files": [
8
+ {
9
+ "family": "Space Grotesk",
10
+ "weight": "300 700",
11
+ "variable": true,
12
+ "path": "spacegrotesk/spacegrotesk-300-700.woff2",
13
+ "bytes": 22320,
14
+ "sha256": "a0d054c4af557de20afd6ca59f47ab353bcaec49c63ff04b6c9d39d0f8910557",
15
+ "subset": "latin",
16
+ "source": "https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap"
17
+ },
18
+ {
19
+ "family": "Tomorrow",
20
+ "weight": "400",
21
+ "variable": false,
22
+ "path": "tomorrow/tomorrow-400.woff2",
23
+ "bytes": 7736,
24
+ "sha256": "688c7174a13b321d5a1c57547d3775d0732967ec3f87f7647e3dfaefef7ed8a6",
25
+ "subset": "latin",
26
+ "source": "https://fonts.googleapis.com/css2?family=Tomorrow:wght@400;500;600;700&display=swap"
27
+ },
28
+ {
29
+ "family": "Sofia Sans",
30
+ "weight": "1 1000",
31
+ "variable": true,
32
+ "path": "sofiasans/sofiasans-1-1000.woff2",
33
+ "bytes": 40520,
34
+ "sha256": "e0ea7bf0ba351883777665cb6d3a1f825387ec7a834e4fcbb8137f03a9bcff26",
35
+ "subset": "latin",
36
+ "source": "https://fonts.googleapis.com/css2?family=Sofia+Sans:wght@1..1000&display=swap"
37
+ },
38
+ {
39
+ "family": "Sora",
40
+ "weight": "100 800",
41
+ "variable": true,
42
+ "path": "sora/sora-100-800.woff2",
43
+ "bytes": 33672,
44
+ "sha256": "d2909123a6a8ed2f928055f002c32f63ee93496b470c1a344873f955111fca53",
45
+ "subset": "latin",
46
+ "source": "https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap"
47
+ },
48
+ {
49
+ "family": "Recursive",
50
+ "weight": "300 1000",
51
+ "variable": true,
52
+ "path": "recursive/recursive-300-1000.woff2",
53
+ "bytes": 55848,
54
+ "sha256": "b79700b06c097ecdb36ef71d0296ac2825ad7461d6761d3accc12a87c961c07e",
55
+ "subset": "latin",
56
+ "source": "https://fonts.googleapis.com/css2?family=Recursive:wght@300..1000&display=swap"
57
+ },
58
+ {
59
+ "family": "Major Mono Display",
60
+ "weight": "400",
61
+ "variable": false,
62
+ "path": "majormonodisplay/majormonodisplay-400.woff2",
63
+ "bytes": 10168,
64
+ "sha256": "97f659d2a626c4b6ad6b79d2840c6626eafd5badc40f995c21843008ed5cb80d",
65
+ "subset": "latin",
66
+ "source": "https://fonts.googleapis.com/css2?family=Major+Mono+Display:wght@400&display=swap"
67
+ }
68
+ ]
69
+ }
@@ -0,0 +1,93 @@
1
+ Copyright 2018 The Major Mono Project Authors (https://github.com/googlefonts/majormono)
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,93 @@
1
+ Copyright 2020 The Recursive Project Authors (https://github.com/arrowtype/recursive)
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,93 @@
1
+ Copyright 2019 The Sofia Sans Project Authors (https://github.com/lettersoup/Sofia-Sans)
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.