Add fonts for toerisme_vlaanderen, add licenses to fonts, remove unused fonts

This commit is contained in:
pietervdvn 2022-02-06 04:06:02 +01:00
parent b8b63dc34c
commit be67b397a3
21 changed files with 69 additions and 12 deletions

View file

@ -1,3 +1,21 @@
.technical.questions {
display: none
}
}
@font-face{
font-family:"FlandersArt";
src:url("./assets/themes/toerisme_vlaanderen/FlandersArtSans-Light.woff");
}
@font-face{
font-family:"FlandersArtSerif";
src:url("./assets/themes/toerisme_vlaanderen/FlandersArtSerif-Medium.woff");
}
h1, h2, h3, h4 {
font-family: 'FlandersArtSerif', sans-serif;
}
body {
font-family: 'FlandersArt', sans-serif;
}

View file

@ -1,4 +1,24 @@
[
{
"path": "FlandersArtSans-Light.woff",
"license": "All rights reserved",
"authors": [
"Jo De Baerdemaeker "
],
"sources": [
"https://www.studiotype.be/fonts/flandersart"
]
},
{
"path": "FlandersArtSerif-Medium.woff",
"license": "All rights reserved",
"authors": [
"Jo De Baerdemaeker "
],
"sources": [
"https://www.studiotype.be/fonts/flandersart"
]
},
{
"path": "avatar.png",
"license": "Logo",
@ -17,7 +37,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -28,7 +48,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -39,7 +59,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -50,7 +70,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -71,7 +91,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -82,7 +102,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -93,7 +113,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -104,7 +124,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -115,7 +135,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -126,7 +146,18 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
"path": "toilets_wheelchair.svg",
"license": "CC0",
"authors": [
"Toerisme Vlaanderen"
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
}
]

View file

@ -98,6 +98,14 @@ knownLicenses.set("tv", {
sources: ["https://toerismevlaanderen.be/pinjepunt","https://mapcomplete.osm.be/toerisme_vlaanderenn"]
})
knownLicenses.set("tvf", {
authors: ["Jo De Baerdemaeker "],
path: undefined,
license: "All rights reserved",
sources: ["https://www.studiotype.be/fonts/flandersart"]
})
knownLicenses.set("twemoji", {
authors: ["Twemoji"],
@ -244,7 +252,7 @@ let licenseInfos = generateLicenseInfos(licensePaths);
const artwork = contents.filter(pth => pth.match(/(.svg|.png|.jpg)$/i) != null)
const artwork = contents.filter(pth => pth.match(/(.svg|.png|.jpg|.ttf|.otf|.woff)$/i) != null)
const missingLicenses = missingLicenseInfos(licenseInfos, artwork)
if (process.argv.indexOf("--prompt") >= 0 || process.argv.indexOf("--query") >= 0) {
queryMissingLicenses(missingLicenses)