The book catalogue grows from 7 families to 34, all self-hosted through @fontsource under the SIL OFL 1.1 or the Apache License 2.0: condensed and poster faces, heavy retro display, elegant display serifs, Montserrat, twelve scripts and DM Mono. Weights run from 100 to 900, each family offering only the weights it ships, and the serifs gain real italics. The catalogue lives in @trek/shared (book-fonts.data.ts) with each family's roles (display, heading, body, script, mono), weights, italics and letter width, so the Studio, the findings, the design engine and the assistant read one list. Page operations and the design engine set a weight a family lacks at its nearest one, describe_book_page names the role and the weight, and font_mix no longer counts scripts and mono faces, warning above three. The Studio gets StudioFontPicker: the current family set in itself, a searchable list grouped by kind with every family in its own face and the book's own families first, and a weight slider over the weights the family has. Faces load only when used; the assistant's page snapshot embeds only the faces a page draws, the service worker installs only the latin files of the original seven families, and the faces of an opened book are cached for offline use. BOOK_SCHEMA_REV goes to 2.
5.9 KiB
Third-party data & attributions
TREK bundles and uses third-party data that requires attribution.
geoBoundaries — country & sub-national boundaries
The Atlas map's administrative boundaries (admin-0 countries and admin-1
provinces/counties), shipped at server/assets/atlas/admin0.geojson.gz and
server/assets/atlas/admin1.geojson.gz and generated by
server/scripts/build-atlas-geo.mjs, are derived from geoBoundaries.
Runfola, D. et al. (2020) geoBoundaries: A global database of political administrative boundaries. PLoS ONE 15(4): e0231866. https://doi.org/10.1371/journal.pone.0231866
geoBoundaries is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Source: https://www.geoboundaries.org/
The bundled files are simplified (coordinate-quantized) and re-tagged with the
property names TREK consumes. Country borders (admin0) derive from the geoBoundaries
CGAZ composite; sub-national regions (admin1) derive from the per-country open
(gbOpen) release.
OpenStreetMap — geocoding, place details & descriptions
Atlas reverse-geocodes places via the Nominatim service, and place search, details and descriptions come from Nominatim and Overpass. Data is © OpenStreetMap contributors, licensed under the Open Database License (ODbL). https://www.openstreetmap.org/copyright
Wikimedia Commons & Wikipedia — place pictures & descriptions
Pictures offered for a place come from Wikimedia Commons (geosearch by
coordinate) and are cached locally rather than hotlinked. Descriptions can come
from Wikipedia, resolved from the place's OpenStreetMap wikipedia tag.
Commons files carry their own licence, most often CC BY or CC BY-SA. TREK shows the author, the licence and a link to the file description page next to every picture while it is being chosen, and keeps the author and licence with the cached file so the credit stays visible afterwards. Wikipedia article text is CC BY-SA 4.0. https://commons.wikimedia.org/wiki/Commons:Licensing
Google Places — optional place data
When an administrator configures a Google Maps API key, place search, details, pictures and editorial summaries can also come from the Google Places API, subject to Google's terms. Photos carry the author attribution Google supplies and no reusable licence; TREK displays that attribution and claims nothing further. This path is off unless a key is configured, and each part of it has its own switch in the admin panel. https://cloud.google.com/maps-platform/terms
OurAirports — airport reference data
server/assets/airports.json is built from OurAirports
(https://ourairports.com/data/), released into the public domain.
Typefaces: Studio books and the app
Every typeface a book can be set in, and the app's own (Poppins, MuseoModerno,
Geist), is self-hosted from the @fontsource npm packages, which redistribute
the families published on Google Fonts split into subsets by script. The catalogue of book faces is
shared/src/book/book-fonts.data.ts. Each package carries its licence and the
copyright notice of the family's authors in its LICENSE file.
Both licences allow a font to be bundled with software and embedded in a document made with it, so a printed or exported book may carry the faces it is set in. No family is renamed, redrawn or sold on its own. SIL OFL 1.1: https://openfontlicense.org. Apache 2.0: https://www.apache.org/licenses/LICENSE-2.0
| Family | Package | Licence |
|---|---|---|
| Abril Fatface | @fontsource/abril-fatface |
SIL Open Font License 1.1 |
| Alfa Slab One | @fontsource/alfa-slab-one |
SIL Open Font License 1.1 |
| Allura | @fontsource/allura |
SIL Open Font License 1.1 |
| Anton | @fontsource/anton |
SIL Open Font License 1.1 |
| Archivo Black | @fontsource/archivo-black |
SIL Open Font License 1.1 |
| Bebas Neue | @fontsource/bebas-neue |
SIL Open Font License 1.1 |
| Big Shoulders Display | @fontsource/big-shoulders-display |
SIL Open Font License 1.1 |
| Bodoni Moda | @fontsource/bodoni-moda |
SIL Open Font License 1.1 |
| Bricolage Grotesque | @fontsource/bricolage-grotesque |
SIL Open Font License 1.1 |
| Caveat | @fontsource/caveat |
SIL Open Font License 1.1 |
| Cormorant Garamond | @fontsource/cormorant-garamond |
SIL Open Font License 1.1 |
| Dancing Script | @fontsource/dancing-script |
SIL Open Font License 1.1 |
| DM Mono | @fontsource/dm-mono |
SIL Open Font License 1.1 |
| DM Serif Display | @fontsource/dm-serif-display |
SIL Open Font License 1.1 |
| EB Garamond | @fontsource/eb-garamond |
SIL Open Font License 1.1 |
| Fraunces | @fontsource/fraunces |
SIL Open Font License 1.1 |
| Great Vibes | @fontsource/great-vibes |
SIL Open Font License 1.1 |
| Homemade Apple | @fontsource/homemade-apple |
Apache License 2.0 |
| Inter | @fontsource/inter |
SIL Open Font License 1.1 |
| Kaushan Script | @fontsource/kaushan-script |
SIL Open Font License 1.1 |
| League Gothic | @fontsource/league-gothic |
SIL Open Font License 1.1 |
| Lora | @fontsource/lora |
SIL Open Font License 1.1 |
| Montserrat | @fontsource/montserrat |
SIL Open Font License 1.1 |
| MuseoModerno | @fontsource/museomoderno |
SIL Open Font License 1.1 |
| Oswald | @fontsource/oswald |
SIL Open Font License 1.1 |
| Pacifico | @fontsource/pacifico |
SIL Open Font License 1.1 |
| Parisienne | @fontsource/parisienne |
SIL Open Font License 1.1 |
| Permanent Marker | @fontsource/permanent-marker |
Apache License 2.0 |
| Playfair Display | @fontsource/playfair-display |
SIL Open Font License 1.1 |
| Poppins | @fontsource/poppins |
SIL Open Font License 1.1 |
| Sacramento | @fontsource/sacramento |
SIL Open Font License 1.1 |
| Satisfy | @fontsource/satisfy |
Apache License 2.0 |
| Shrikhand | @fontsource/shrikhand |
SIL Open Font License 1.1 |
| Yellowtail | @fontsource/yellowtail |
Apache License 2.0 |
| Geist Sans | @fontsource/geist-sans |
SIL Open Font License 1.1 |