hmgr 0.0.4 → 0.0.6
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.
- package/README.md +10 -0
- package/dist/adapter/checkout-pfad.js +10 -2
- package/dist/adapter/claude-code.js +251 -23
- package/dist/adapter/composer.js +4 -3
- package/dist/adapter/datei-text.js +18 -0
- package/dist/adapter/dateisystem.js +146 -8
- package/dist/adapter/git.js +129 -17
- package/dist/adapter/hermes.js +235 -10
- package/dist/adapter/marketplace-json.js +2 -1
- package/dist/adapter/mcp-katalog.js +124 -0
- package/dist/adapter/quelle-text.js +10 -1
- package/dist/adapter/skill-md.js +96 -19
- package/dist/adapter/terminal.js +1 -1
- package/dist/adapter/umgebung.js +43 -0
- package/dist/adapter/vergleich.js +20 -0
- package/dist/adapter/zustand-json.js +6 -1
- package/dist/cli/hilfe.js +227 -26
- package/dist/cli/main.js +362 -20
- package/dist/gui/beobachter.js +108 -0
- package/dist/gui/icons.js +114 -0
- package/dist/gui/login-pfad.js +120 -0
- package/dist/gui/main.js +823 -0
- package/dist/gui/mcp-ansicht.js +57 -0
- package/dist/gui/oeffnen.js +33 -0
- package/dist/gui/preload.cjs +70 -0
- package/dist/gui/renderer/fonts/Inter-LICENSE.txt +92 -0
- package/dist/gui/renderer/fonts/InterVariable.woff2 +0 -0
- package/dist/gui/renderer/fonts/JetBrainsMono-Medium.woff2 +0 -0
- package/dist/gui/renderer/fonts/JetBrainsMono-OFL.txt +93 -0
- package/dist/gui/renderer/fonts/JetBrainsMono-Regular.woff2 +0 -0
- package/dist/gui/renderer/index.html +581 -0
- package/dist/gui/renderer/renderer.js +3227 -0
- package/dist/gui/renderer/styles.css +701 -0
- package/dist/kern/anwendungsfaelle.js +859 -65
- package/dist/kern/modell.js +297 -0
- package/dist/kern/quelle-ort.js +14 -1
- package/dist/ports/harness.js +16 -0
- package/dist/ports/mcp-katalog.js +1 -0
- package/dist/ports/umgebung.js +1 -0
- package/dist/ports/zustand.js +1 -1
- package/package.json +47 -2
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// MCP-Ansicht der GUI (E61-Folgerunde): reine Umformung von Kern-Daten in IPC-taugliche, gewhiteliste
|
|
2
|
+
// Objekte, ohne Electron — testbar wie oeffnen.ts und icons.ts. Der eigentliche IPC-Handler in
|
|
3
|
+
// main.ts ruft diese Funktionen nur noch auf.
|
|
4
|
+
import { variablenVerweise, } from "../kern/anwendungsfaelle.js";
|
|
5
|
+
/** Katalog-Eintrag über IPC: die bekannten Felder, nichts ungefiltert durchgereicht (E40 R3). */
|
|
6
|
+
export function mcpEintragSerialisieren(eintrag) {
|
|
7
|
+
return {
|
|
8
|
+
name: eintrag.name,
|
|
9
|
+
beschreibung: eintrag.beschreibung,
|
|
10
|
+
...(eintrag.homepage === undefined ? {} : { homepage: eintrag.homepage }),
|
|
11
|
+
...(eintrag.notizen === undefined ? {} : { notizen: eintrag.notizen }),
|
|
12
|
+
konfig: eintrag.konfig,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* F39 an der Katalog-Karte: dieselbe Prüf-Funktion wie beim tatsächlichen Einhängen
|
|
17
|
+
* (`variablenVerweise`), hier aber nur gegen die übergebene Umgebung geprüft — ohne den
|
|
18
|
+
* ortsbezogenen `.env`-Abgleich, der ist ortsspezifisch und bleibt dem eigentlichen Einhängen
|
|
19
|
+
* vorbehalten (kommt von dort als `warnung` zurück).
|
|
20
|
+
*/
|
|
21
|
+
export function mcpFehlendeVariablen(eintrag, umgebung) {
|
|
22
|
+
return variablenVerweise(eintrag.konfig).filter((name) => !(name in umgebung) || umgebung[name] === undefined);
|
|
23
|
+
}
|
|
24
|
+
/** Übersicht über IPC (E61-Folgerunde): Katalog-Einträge whitelisted, dazu der F39-Vermerk je Karte. */
|
|
25
|
+
export function mcpUebersichtSerialisieren(uebersicht, umgebung) {
|
|
26
|
+
return {
|
|
27
|
+
katalog: uebersicht.katalog.map((k) => ({
|
|
28
|
+
eintrag: mcpEintragSerialisieren(k.eintrag),
|
|
29
|
+
eingehaengt: k.eingehaengt,
|
|
30
|
+
geteilteFundorte: k.geteilteFundorte,
|
|
31
|
+
fehlendeVariablen: mcpFehlendeVariablen(k.eintrag, umgebung),
|
|
32
|
+
})),
|
|
33
|
+
unbekannt: uebersicht.unbekannt,
|
|
34
|
+
unbekannteGeteilteFundorte: uebersicht.unbekannteGeteilteFundorte,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/** Ergebnis von `mcpEinhaengen`/`mcpAushaengen` über IPC, whitelisted wie der Katalog-Eintrag. */
|
|
38
|
+
export function mcpWirkungSerialisieren(ergebnis) {
|
|
39
|
+
return {
|
|
40
|
+
eintrag: mcpEintragSerialisieren(ergebnis.eintrag),
|
|
41
|
+
ziel: ergebnis.ziel,
|
|
42
|
+
...(ergebnis.hinweis === undefined ? {} : { hinweis: ergebnis.hinweis }),
|
|
43
|
+
...(ergebnis.warnung === undefined ? {} : { warnung: ergebnis.warnung }),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Ergebnis von `mcpUebernehmen` über IPC (E64). Kein Katalog-Eintrag darin: übernommen wird auch,
|
|
48
|
+
* was der Katalog nicht kennt, deshalb reicht der Name.
|
|
49
|
+
*/
|
|
50
|
+
export function mcpUebernahmeSerialisieren(ergebnis) {
|
|
51
|
+
return {
|
|
52
|
+
name: ergebnis.name,
|
|
53
|
+
ziel: ergebnis.ziel,
|
|
54
|
+
datei: ergebnis.datei,
|
|
55
|
+
...(ergebnis.hinweis === undefined ? {} : { hinweis: ergebnis.hinweis }),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Entscheidung, wie ein Klick auf eine Quelle sie öffnet (E60). Reine Funktion, ohne Electron:
|
|
2
|
+
// der IPC-Handler in main.ts ruft sie und reicht das Ergebnis an `shell.openExternal` (nur für
|
|
3
|
+
// http/https) oder `shell.openPath` (lokaler Ordner) weiter — nichts anderes wird zugelassen,
|
|
4
|
+
// kein beliebiges Protokoll geht an eine der beiden Electron-Funktionen.
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
6
|
+
import { urlOrt } from "../kern/quelle-ort.js";
|
|
7
|
+
/**
|
|
8
|
+
* http(s)-Quellen öffnen ihre Adresse direkt im Browser. Eine SSH- oder scp-Adresse
|
|
9
|
+
* (`git@host:besitzer/repo.git`) hat keine Webseite als Adresse, aber Host, Besitzer und Repo sind
|
|
10
|
+
* bekannt (E36), also wird daraus die https-Repo-Seite gebaut — `shell.openExternal` bekommt so nie
|
|
11
|
+
* die ssh-Adresse selbst zu sehen. Lokale Quellen und `file://`-Quellen öffnen ihren Pfad im
|
|
12
|
+
* Dateimanager. Alles, woraus sich weder eine http(s)-Adresse noch ein Pfad gewinnen lässt, wird
|
|
13
|
+
* abgelehnt: kein anderes Protokoll geht an eine Electron-Shell-Funktion.
|
|
14
|
+
*/
|
|
15
|
+
export function entscheideOeffnen(quelle) {
|
|
16
|
+
if (quelle.art === 'lokal')
|
|
17
|
+
return { art: 'ordner', pfad: quelle.pfad };
|
|
18
|
+
const text = quelle.url.trim();
|
|
19
|
+
if (/^https?:\/\//i.test(text))
|
|
20
|
+
return { art: 'browser', url: text };
|
|
21
|
+
if (/^file:\/\//i.test(text)) {
|
|
22
|
+
try {
|
|
23
|
+
return { art: 'ordner', pfad: fileURLToPath(text) };
|
|
24
|
+
}
|
|
25
|
+
catch {
|
|
26
|
+
return { art: 'abgelehnt' };
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
const ort = urlOrt(text);
|
|
30
|
+
if (ort && ort.host !== 'local')
|
|
31
|
+
return { art: 'browser', url: `https://${ort.host}/${ort.besitzer}/${ort.repo}` };
|
|
32
|
+
return { art: 'abgelehnt' };
|
|
33
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const { contextBridge, ipcRenderer } = require('electron');
|
|
4
|
+
contextBridge.exposeInMainWorld('hmgr', {
|
|
5
|
+
version: () => ipcRenderer.invoke('hmgr:version'),
|
|
6
|
+
/** Home-Verzeichnis, nur für pfadKurz im Renderer (Anzeige-Kürzung auf ~). */
|
|
7
|
+
home: () => ipcRenderer.invoke('hmgr:home'),
|
|
8
|
+
/** Plattform (`process.platform`), nur für den Pfadtrenner der Anzeige im Renderer (E68). */
|
|
9
|
+
plattform: () => ipcRenderer.invoke('hmgr:plattform'),
|
|
10
|
+
istZustand: () => ipcRenderer.invoke('hmgr:istZustand'),
|
|
11
|
+
marketplaces: () => ipcRenderer.invoke('hmgr:marketplaces'),
|
|
12
|
+
skills: () => ipcRenderer.invoke('hmgr:skills'),
|
|
13
|
+
quellen: () => ipcRenderer.invoke('hmgr:quellen'),
|
|
14
|
+
/** Icon einer Quelle als data-URL, oder null (E60). */
|
|
15
|
+
icon: (text) => ipcRenderer.invoke('hmgr:icon', text),
|
|
16
|
+
/** Öffnet eine Quelle: Repo-Seite im Browser oder Ordner im Dateimanager (E60). */
|
|
17
|
+
quelleOeffnen: (text) => ipcRenderer.invoke('hmgr:quelleOeffnen', text),
|
|
18
|
+
quelleHinzufuegen: (text, name) => ipcRenderer.invoke('hmgr:quelleHinzufuegen', text, name),
|
|
19
|
+
quelleEntfernen: (text) => ipcRenderer.invoke('hmgr:quelleEntfernen', text),
|
|
20
|
+
/** Anzeigename einer Quelle ändern (E59), Identität bleibt ihre URL/ihr Pfad (E36). */
|
|
21
|
+
quelleUmbenennen: (text, name) => ipcRenderer.invoke('hmgr:quelleUmbenennen', text, name),
|
|
22
|
+
/** Aufräum-Angebot nach dem Entfernen einer Quelle (E58): Inventar vor quelleEntfernen erheben. */
|
|
23
|
+
quelleAufraeumInventar: (text) => ipcRenderer.invoke('hmgr:quelleAufraeumInventar', text),
|
|
24
|
+
quelleAufraeumen: (inventar) => ipcRenderer.invoke('hmgr:quelleAufraeumen', inventar),
|
|
25
|
+
linkLegen: (args) => ipcRenderer.invoke('hmgr:linkLegen', args),
|
|
26
|
+
linkEntfernen: (args) => ipcRenderer.invoke('hmgr:linkEntfernen', args),
|
|
27
|
+
eintragIgnorieren: (args) => ipcRenderer.invoke('hmgr:eintragIgnorieren', args),
|
|
28
|
+
eintragBeachten: (args) => ipcRenderer.invoke('hmgr:eintragBeachten', args),
|
|
29
|
+
eintragLoeschen: (args) => ipcRenderer.invoke('hmgr:eintragLoeschen', args),
|
|
30
|
+
uebernehmen: (args) => ipcRenderer.invoke('hmgr:uebernehmen', args),
|
|
31
|
+
aktualisieren: (args) => ipcRenderer.invoke('hmgr:aktualisieren', args),
|
|
32
|
+
arbeitsverzeichnisHinzufuegen: (pfad) => ipcRenderer.invoke('hmgr:arbeitsverzeichnisHinzufuegen', pfad),
|
|
33
|
+
arbeitsverzeichnisVergessen: (pfad) => ipcRenderer.invoke('hmgr:arbeitsverzeichnisVergessen', pfad),
|
|
34
|
+
/** Nativer Verzeichnis-Dialog fürs Pfadfeld in „Verzeichnis hinzufügen" (A1). */
|
|
35
|
+
verzeichnisWaehlen: () => ipcRenderer.invoke('hmgr:verzeichnisWaehlen'),
|
|
36
|
+
harnessTypen: () => ipcRenderer.invoke('hmgr:harnessTypen'),
|
|
37
|
+
aktiveHarnesses: () => ipcRenderer.invoke('hmgr:aktiveHarnesses'),
|
|
38
|
+
nichtVorhandeneHarnesses: () => ipcRenderer.invoke('hmgr:nichtVorhandeneHarnesses'),
|
|
39
|
+
harnessAktivieren: (name) => ipcRenderer.invoke('hmgr:harnessAktivieren', name),
|
|
40
|
+
harnessDeaktivieren: (name) => ipcRenderer.invoke('hmgr:harnessDeaktivieren', name),
|
|
41
|
+
saeubern: (name) => ipcRenderer.invoke('hmgr:saeubern', name),
|
|
42
|
+
/** Verwalteter Hermes-Skill-Ordner (E56): zeigen kommt über hmgr:istZustand, hier nur Ändern. */
|
|
43
|
+
skillOrdnerFestlegen: (args) => ipcRenderer.invoke('hmgr:skillOrdnerFestlegen', args),
|
|
44
|
+
skillOrdnerEntfernen: (args) => ipcRenderer.invoke('hmgr:skillOrdnerEntfernen', args),
|
|
45
|
+
skillOrdnerLoeschen: (args) => ipcRenderer.invoke('hmgr:skillOrdnerLoeschen', args),
|
|
46
|
+
/** Rückfrage-Dialog (E28, E34): der Main-Prozess ruft, der Renderer meldet die Antwort zurück. */
|
|
47
|
+
onRueckfrage: (hoerer) => {
|
|
48
|
+
ipcRenderer.on('hmgr:rueckfrage', (_event, nachricht) => hoerer(nachricht));
|
|
49
|
+
},
|
|
50
|
+
antwortenRueckfrage: (id, antwort) => {
|
|
51
|
+
ipcRenderer.send('hmgr:rueckfrage:antwort', { id, antwort });
|
|
52
|
+
},
|
|
53
|
+
/** Anstoß zum selbsttätigen Aktualisieren (E44): Main ruft nach dem Start und alle sechs Stunden. */
|
|
54
|
+
onAktualisierenAnstossen: (hoerer) => {
|
|
55
|
+
ipcRenderer.on('hmgr:aktualisierenAnstossen', () => hoerer());
|
|
56
|
+
},
|
|
57
|
+
/** Anstoß zum stillen Neuladen der Anzeige (E62): Main ruft bei Fokus-Wechsel und beobachteten
|
|
58
|
+
Dateiänderungen, nie mit Netzzugriff (im Unterschied zu onAktualisierenAnstossen). */
|
|
59
|
+
onNeuLadenAnstossen: (hoerer) => {
|
|
60
|
+
ipcRenderer.on('hmgr:neuLadenAnstossen', () => hoerer());
|
|
61
|
+
},
|
|
62
|
+
/** MCP-Ansicht (E61-Folgerunde): Katalog gelesen, nie geschrieben. */
|
|
63
|
+
mcpUebersicht: () => ipcRenderer.invoke('hmgr:mcpUebersicht'),
|
|
64
|
+
/** Plätze für den Einhängen-Dialog (F42): kommt aus dem Kern, hängt an der Fähigkeit (E16). */
|
|
65
|
+
mcpPlaetze: () => ipcRenderer.invoke('hmgr:mcpPlaetze'),
|
|
66
|
+
mcpEinhaengen: (args) => ipcRenderer.invoke('hmgr:mcpEinhaengen', args),
|
|
67
|
+
mcpAushaengen: (args) => ipcRenderer.invoke('hmgr:mcpAushaengen', args),
|
|
68
|
+
/** Übernehmen aus der geteilten .mcp.json in den privaten Scope (E64), nach Bestätigung im Renderer. */
|
|
69
|
+
mcpUebernehmen: (args) => ipcRenderer.invoke('hmgr:mcpUebernehmen', args),
|
|
70
|
+
});
|
|
@@ -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.
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
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.
|
|
Binary file
|