Vendor Oswald, because Bebas Neue cannot render Russian at all
Some checks are pending
build-gate / build (push) Waiting to run
Some checks are pending
build-gate / build (push) Waiting to run
Their heading face has no Cyrillic glyphs. That is why base/_globals.scss:35-44 switches every h1/h2/h3 to --font-family-cyrillic under [lang="ru-RU"], with letter-spacing -0.02em — without it a Russian heading leaves the family entirely and lands on whatever condensed system face the browser picks. We ship a `ru` locale and had neither the rule nor the font, so that is exactly what every Russian heading in this clone was doing. Four subsets vendored, Google's own unicode-range values carried verbatim so the browser fetches only what a heading needs: cyrillic 6700B and cyrillic-ext 7688B are the point, latin 12248B and latin-ext 11624B come too because a Russian heading routinely contains Latin characters — a country name, a figure, an ampersand — and a Cyrillic-only face drops those back to the fallback mid-word, which looks worse than not switching. Each file verified to begin with the wOF2 magic after download, because a fetch that returns an HTML error page also "succeeds" and a font that is really a 404 fails at render time with no network error left to find. Two things the rule needed beyond the font. [lang] cannot cross a shadow boundary, so the attribute has to be INSIDE the root for a selector in the root's own stylesheet to see it — our roots now carry :lang for the same reason they already carried :dir, and it is correct HTML besides. And the selector accepts both `ru` and `ru-RU`: their site tags the document ru-RU while our i18n locale is `ru`, and a host page embedding this element may set either, so a selector matching only one would work on their site and fail on ours. Only the headings, as theirs. Their .region-stat__value is a <p>, so their ru-RU rule does not touch it and it keeps the heading family even in Russian — switching everything would be wrong in a way no Russian reader would report and no English reader could see. _probe-cyrillic-headings.mjs checks the mechanism and the result separately, so a rule that is present but inert cannot pass: the attribute is on the root, the Oswald subset returned 200, the face is usable once document.fonts.ready resolves, the h1 and h2 switched, the stat value did not, and English is untouched in both family and letter-spacing. It awaits fonts.ready before asking about a font — not doing so is what made a sibling probe report a cross-origin font failure that did not exist.
This commit is contained in:
parent
510b6edbf8
commit
bb589d584e
19 changed files with 363 additions and 40 deletions
|
|
@ -101,3 +101,28 @@ export const POPPINS_FACES = [
|
|||
{ weight: '700', src: 'fonts/poppins/poppins-700-latin.woff2', unicodeRange: POPPINS_LATIN },
|
||||
{ weight: '700', src: 'fonts/poppins/poppins-700-latin-ext.woff2', unicodeRange: POPPINS_LATIN_EXT },
|
||||
]
|
||||
|
||||
// Oswald, as DX-life serves it for CYRILLIC HEADINGS. base/_globals.scss:35-44 switches every
|
||||
// h1/h2/h3 to --font-family-cyrillic under [lang="ru-RU"], because Bebas Neue has no Cyrillic
|
||||
// glyphs at all — without the switch a Russian heading leaves the family entirely. Google's own
|
||||
// unicode-range values (css2 v57), carried verbatim so only the needed subset is fetched; latin and
|
||||
// latin-ext are included because a Russian heading routinely contains Latin characters and a
|
||||
// Cyrillic-only face would drop those back to the fallback mid-word.
|
||||
export const OSWALD_FACES = [
|
||||
{
|
||||
src: 'fonts/oswald/oswald-400-cyrillic.woff2',
|
||||
unicodeRange: 'U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116',
|
||||
},
|
||||
{
|
||||
src: 'fonts/oswald/oswald-400-cyrillic-ext.woff2',
|
||||
unicodeRange: 'U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F',
|
||||
},
|
||||
{
|
||||
src: 'fonts/oswald/oswald-400-latin.woff2',
|
||||
unicodeRange: 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD',
|
||||
},
|
||||
{
|
||||
src: 'fonts/oswald/oswald-400-latin-ext.woff2',
|
||||
unicodeRange: 'U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF',
|
||||
},
|
||||
]
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import { useShadowStyles } from '@map/composables/useShadowStyles.js'
|
|||
// house pattern (doxa-simple-map.vue:18, :246, :1346) — an EMBEDDED element must not reach for
|
||||
// document.documentElement.dir, which belongs to the host page.
|
||||
import { RTL_LOCALES } from '@map/i18n/index.js'
|
||||
import { useDocumentFont, BEBAS_NEUE_FACES, POPPINS_FACES, FIGTREE_FACES } from '@map/composables/useDocumentFont.js'
|
||||
import { useDocumentFont, BEBAS_NEUE_FACES, POPPINS_FACES, FIGTREE_FACES, OSWALD_FACES } from '@map/composables/useDocumentFont.js'
|
||||
import FilterDropdown from '@map/components/search/FilterDropdown.vue'
|
||||
import UupgsList from './src/UupgsList.vue'
|
||||
// Their strings, via their own English keys (see src/useRegionsI18n.js). The goal sentences,
|
||||
|
|
@ -105,6 +105,12 @@ useDocumentFont('Poppins', POPPINS_FACES, assetsBase.value)
|
|||
// giveaway (Driver, 2026-09-24). @font-face is DOCUMENT-scoped, so it registers here beside
|
||||
// the other two rather than inside the shadow root that uses it.
|
||||
useDocumentFont('Figtree', FIGTREE_FACES, assetsBase.value)
|
||||
// Oswald, for CYRILLIC HEADINGS ONLY. base/_globals.scss:35-44 switches every h1/h2/h3 to
|
||||
// --font-family-cyrillic under [lang="ru-RU"], because BEBAS NEUE HAS NO CYRILLIC GLYPHS — their
|
||||
// heading face cannot render Russian at all, so without the switch the heading leaves the family.
|
||||
// We ship a `ru` locale and had neither the rule nor the font, so every Russian heading here was
|
||||
// rendering in whatever condensed system face the browser picked.
|
||||
useDocumentFont('Oswald', OSWALD_FACES, assetsBase.value)
|
||||
|
||||
// ── state ───────────────────────────────────────────────────────────────────
|
||||
const { t, tf , locale } = useRegionsI18n()
|
||||
|
|
@ -824,6 +830,19 @@ useShadowStyles(
|
|||
' font-family:"Bebas Neue","Arial Narrow",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;' +
|
||||
' font-weight:400; }' +
|
||||
'.rd-h2--start{ text-align:start; }' +
|
||||
// ★ CYRILLIC HEADINGS SWITCH FACE, as theirs do. base/_globals.scss:35-44:
|
||||
// h1,h2,h3 { [lang="ru-RU"] & { font-family: var(--font-family-cyrillic); letter-spacing: -0.02em } }
|
||||
// and --font-family-cyrillic is Oswald. The switch is not decoration: BEBAS NEUE HAS NO CYRILLIC
|
||||
// GLYPHS, so a Russian heading in it leaves the family entirely and lands on whatever condensed
|
||||
// system face the browser picks. We ship a `ru` locale and had neither the rule nor the font.
|
||||
// ONLY the headings, exactly as theirs — their .region-stat__value is a <p> and keeps Bebas even in
|
||||
// Russian, which is their behaviour and so is ours.
|
||||
// BOTH TAG FORMS, deliberately: their site tags the document ru-RU while our i18n locale is `ru`,
|
||||
// and a host page embedding this element may set either. A selector that matched only one would
|
||||
// work on their site and fail on ours, or the reverse, depending on who set the attribute.
|
||||
'[lang="ru"] .rd-title, [lang="ru-RU"] .rd-title,' +
|
||||
'[lang="ru"] .rd-h2, [lang="ru-RU"] .rd-h2{ font-family:"Oswald","Arial Narrow",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;' +
|
||||
' letter-spacing:-0.02em; }' +
|
||||
// .font-size-4xl .font-weight-medium / .font-size-lg
|
||||
// Their .font-size-4xl (var(--font-size-4xl)) verified live. Same substitution consequence as the h2:
|
||||
// in our wider stand-in face 'Adoption Progress' 21 / 2,107 breaks after the slash inside a
|
||||
|
|
@ -912,7 +931,11 @@ useShadowStyles(
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div class="rd-root" :dir="isRTL ? 'rtl' : 'ltr'">
|
||||
<!-- :lang is here for the SAME REASON :dir is: a [lang=] selector in this shadow root cannot
|
||||
see the host document's attribute, so the switch their global sheet performs on
|
||||
[lang="ru-RU"] can only fire if the attribute is INSIDE the root. It is also simply
|
||||
correct HTML — screen readers and hyphenation read it. -->
|
||||
<div class="rd-root" :lang="locale" :dir="isRTL ? 'rtl' : 'ltr'">
|
||||
<!-- a landmark, so a screen reader can jump to the dashboard body; the app probe
|
||||
measured none on the page and it costs nothing to name the region. -->
|
||||
<main class="rd-scroll" :aria-label="t('Region dashboard')">
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ import { useRegionsI18n } from './src/useRegionsI18n.js'
|
|||
// document.documentElement.dir, which belongs to the host page.
|
||||
import { RTL_LOCALES } from '@map/i18n/index.js'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useDocumentFont, BEBAS_NEUE_FACES, POPPINS_FACES, FIGTREE_FACES } from '@map/composables/useDocumentFont.js'
|
||||
import { useDocumentFont, BEBAS_NEUE_FACES, POPPINS_FACES, FIGTREE_FACES, OSWALD_FACES } from '@map/composables/useDocumentFont.js'
|
||||
import { summarizeRegions, PEOPLE_GROUP_LIST_FIELDS } from '@map/utils/countries-meta.js'
|
||||
// DX-life's spacing/type scales under THEIR token names. Prepended to this
|
||||
// component's shadow CSS so every var() below resolves inside the shadow root.
|
||||
|
|
@ -123,6 +123,12 @@ useDocumentFont('Poppins', POPPINS_FACES, assetsBase.value)
|
|||
// giveaway (Driver, 2026-09-24). @font-face is DOCUMENT-scoped, so it registers here beside
|
||||
// the other two rather than inside the shadow root that uses it.
|
||||
useDocumentFont('Figtree', FIGTREE_FACES, assetsBase.value)
|
||||
// Oswald, for CYRILLIC HEADINGS ONLY. base/_globals.scss:35-44 switches every h1/h2/h3 to
|
||||
// --font-family-cyrillic under [lang="ru-RU"], because BEBAS NEUE HAS NO CYRILLIC GLYPHS — their
|
||||
// heading face cannot render Russian at all, so without the switch the heading leaves the family.
|
||||
// We ship a `ru` locale and had neither the rule nor the font, so every Russian heading here was
|
||||
// rendering in whatever condensed system face the browser picked.
|
||||
useDocumentFont('Oswald', OSWALD_FACES, assetsBase.value)
|
||||
|
||||
// ── state ───────────────────────────────────────────────────────────────────
|
||||
const regions = ref([])
|
||||
|
|
@ -427,6 +433,19 @@ useShadowStyles(
|
|||
' margin-inline-start:10px; }' +
|
||||
// .region-card__summary: --font-size-md (var(--font-size-md)), 0.85 opacity, on the header band.
|
||||
'.region-card__summary{ font-size:var(--font-size-md); opacity:0.85; margin:0; }' +
|
||||
// ★ CYRILLIC HEADINGS SWITCH FACE, as theirs do. base/_globals.scss:35-44:
|
||||
// h1,h2,h3 { [lang="ru-RU"] & { font-family: var(--font-family-cyrillic); letter-spacing: -0.02em } }
|
||||
// and --font-family-cyrillic is Oswald. The switch is not decoration: BEBAS NEUE HAS NO CYRILLIC
|
||||
// GLYPHS, so a Russian heading in it leaves the family entirely and lands on whatever condensed
|
||||
// system face the browser picks. We ship a `ru` locale and had neither the rule nor the font.
|
||||
// ONLY the headings, exactly as theirs — their .region-stat__value is a <p> and keeps Bebas even in
|
||||
// Russian, which is their behaviour and so is ours.
|
||||
// BOTH TAG FORMS, deliberately: their site tags the document ru-RU while our i18n locale is `ru`,
|
||||
// and a host page embedding this element may set either. A selector that matched only one would
|
||||
// work on their site and fail on ours, or the reverse, depending on who set the attribute.
|
||||
'[lang="ru"] .rl-title, [lang="ru-RU"] .rl-title,' +
|
||||
'[lang="ru"] .region-card__title, [lang="ru-RU"] .region-card__title{ font-family:"Oswald","Arial Narrow",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;' +
|
||||
' letter-spacing:-0.02em; }' +
|
||||
// .region-card__body: padding --spacing-lg / clamp(...) / --spacing-xl -> var(--spacing-lg) / clamp / var(--spacing-xl)
|
||||
'.region-card__body{ padding:var(--spacing-lg) clamp(var(--spacing-md), 4cqw, var(--spacing-2xl)) var(--spacing-xl); }' +
|
||||
// .countries-grid: DX-life's track is minmax(220px,1fr). Gap --spacing-xs / --spacing-xl
|
||||
|
|
@ -505,7 +524,11 @@ useShadowStyles(
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div class="rl-root" :dir="isRTL ? 'rtl' : 'ltr'">
|
||||
<!-- :lang is here for the SAME REASON :dir is: a [lang=] selector in this shadow root cannot
|
||||
see the host document's attribute, so the switch their global sheet performs on
|
||||
[lang="ru-RU"] can only fire if the attribute is INSIDE the root. It is also simply
|
||||
correct HTML — screen readers and hyphenation read it. -->
|
||||
<div class="rl-root" :lang="i18nLocale" :dir="isRTL ? 'rtl' : 'ltr'">
|
||||
<!-- THEIR ICON, DELIVERED THE WAY THEIR MARKUP DELIVERS IT. Theirs is
|
||||
<svg class="icon | rotate-90 right"><use href="/assets/icons/arrow-chevron.svg#chevron-up"/></svg>
|
||||
— one <use> reference, not a path repeated per call site.
|
||||
|
|
|
|||
126
public/assets/fonts/oswald/LICENSE
vendored
Normal file
126
public/assets/fonts/oswald/LICENSE
vendored
Normal file
|
|
@ -0,0 +1,126 @@
|
|||
Oswald — SIL Open Font License, Version 1.1
|
||||
Copyright 2016 The Oswald Project Authors (https://github.com/googlefonts/OswaldFont)
|
||||
Full text below, and at https://openfontlicense.org/ (OFL-1.1)
|
||||
|
||||
WHY THIS FILE IS IN THIS REPO
|
||||
DX-life sets --font-family-cyrillic to 'Oswald' and base/_globals.scss:35-44 switches every
|
||||
h1/h2/h3 to it under [lang="ru-RU"], with letter-spacing -0.02em. That switch exists because
|
||||
BEBAS NEUE HAS NO CYRILLIC GLYPHS AT ALL — their heading face simply cannot render Russian, so
|
||||
without the switch a Russian heading falls out of the family entirely. Ours did exactly that:
|
||||
we ship a `ru` locale, we had neither the rule nor the font, so every Russian heading rendered
|
||||
in whatever condensed system face the browser chose.
|
||||
|
||||
WHICH SUBSETS, AND WHY FOUR
|
||||
cyrillic and cyrillic-ext are the point. latin and latin-ext are carried too because a Russian
|
||||
heading routinely contains Latin characters — a country name, a figure, an ampersand — and a
|
||||
face that covers only Cyrillic drops those glyphs back to the fallback MID-WORD, which looks
|
||||
worse than not switching at all. Google's own unicode-range values are carried verbatim
|
||||
(css2 v57), so the browser fetches only the subset a given heading needs.
|
||||
|
||||
oswald-400-cyrillic.woff2 6700 B
|
||||
oswald-400-cyrillic-ext.woff2 7688 B
|
||||
oswald-400-latin.woff2 12248 B
|
||||
oswald-400-latin-ext.woff2 11624 B
|
||||
|
||||
Each verified to begin with the wOF2 magic (774f4632) after download, because a fetch that
|
||||
silently returns an HTML error page also "succeeds" and a font that is really a 404 page fails
|
||||
at render time with no network error to find later.
|
||||
|
||||
Weight 400 only: their --font-weight-regular is what h1/h2/h3 use, and nothing on the regions
|
||||
surfaces asks Oswald for another weight.
|
||||
|
||||
────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
Copyright 2016 The Oswald Project Authors (https://github.com/googlefonts/OswaldFont)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
BIN
public/assets/fonts/oswald/oswald-400-cyrillic-ext.woff2
vendored
Normal file
BIN
public/assets/fonts/oswald/oswald-400-cyrillic-ext.woff2
vendored
Normal file
Binary file not shown.
BIN
public/assets/fonts/oswald/oswald-400-cyrillic.woff2
vendored
Normal file
BIN
public/assets/fonts/oswald/oswald-400-cyrillic.woff2
vendored
Normal file
Binary file not shown.
BIN
public/assets/fonts/oswald/oswald-400-latin-ext.woff2
vendored
Normal file
BIN
public/assets/fonts/oswald/oswald-400-latin-ext.woff2
vendored
Normal file
Binary file not shown.
BIN
public/assets/fonts/oswald/oswald-400-latin.woff2
vendored
Normal file
BIN
public/assets/fonts/oswald/oswald-400-latin.woff2
vendored
Normal file
Binary file not shown.
126
public/doxa-maps/assets/fonts/oswald/LICENSE
generated
Normal file
126
public/doxa-maps/assets/fonts/oswald/LICENSE
generated
Normal file
|
|
@ -0,0 +1,126 @@
|
|||
Oswald — SIL Open Font License, Version 1.1
|
||||
Copyright 2016 The Oswald Project Authors (https://github.com/googlefonts/OswaldFont)
|
||||
Full text below, and at https://openfontlicense.org/ (OFL-1.1)
|
||||
|
||||
WHY THIS FILE IS IN THIS REPO
|
||||
DX-life sets --font-family-cyrillic to 'Oswald' and base/_globals.scss:35-44 switches every
|
||||
h1/h2/h3 to it under [lang="ru-RU"], with letter-spacing -0.02em. That switch exists because
|
||||
BEBAS NEUE HAS NO CYRILLIC GLYPHS AT ALL — their heading face simply cannot render Russian, so
|
||||
without the switch a Russian heading falls out of the family entirely. Ours did exactly that:
|
||||
we ship a `ru` locale, we had neither the rule nor the font, so every Russian heading rendered
|
||||
in whatever condensed system face the browser chose.
|
||||
|
||||
WHICH SUBSETS, AND WHY FOUR
|
||||
cyrillic and cyrillic-ext are the point. latin and latin-ext are carried too because a Russian
|
||||
heading routinely contains Latin characters — a country name, a figure, an ampersand — and a
|
||||
face that covers only Cyrillic drops those glyphs back to the fallback MID-WORD, which looks
|
||||
worse than not switching at all. Google's own unicode-range values are carried verbatim
|
||||
(css2 v57), so the browser fetches only the subset a given heading needs.
|
||||
|
||||
oswald-400-cyrillic.woff2 6700 B
|
||||
oswald-400-cyrillic-ext.woff2 7688 B
|
||||
oswald-400-latin.woff2 12248 B
|
||||
oswald-400-latin-ext.woff2 11624 B
|
||||
|
||||
Each verified to begin with the wOF2 magic (774f4632) after download, because a fetch that
|
||||
silently returns an HTML error page also "succeeds" and a font that is really a 404 page fails
|
||||
at render time with no network error to find later.
|
||||
|
||||
Weight 400 only: their --font-weight-regular is what h1/h2/h3 use, and nothing on the regions
|
||||
surfaces asks Oswald for another weight.
|
||||
|
||||
────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
Copyright 2016 The Oswald Project Authors (https://github.com/googlefonts/OswaldFont)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
BIN
public/doxa-maps/assets/fonts/oswald/oswald-400-cyrillic-ext.woff2
generated
Normal file
BIN
public/doxa-maps/assets/fonts/oswald/oswald-400-cyrillic-ext.woff2
generated
Normal file
Binary file not shown.
BIN
public/doxa-maps/assets/fonts/oswald/oswald-400-cyrillic.woff2
generated
Normal file
BIN
public/doxa-maps/assets/fonts/oswald/oswald-400-cyrillic.woff2
generated
Normal file
Binary file not shown.
BIN
public/doxa-maps/assets/fonts/oswald/oswald-400-latin-ext.woff2
generated
Normal file
BIN
public/doxa-maps/assets/fonts/oswald/oswald-400-latin-ext.woff2
generated
Normal file
Binary file not shown.
BIN
public/doxa-maps/assets/fonts/oswald/oswald-400-latin.woff2
generated
Normal file
BIN
public/doxa-maps/assets/fonts/oswald/oswald-400-latin.woff2
generated
Normal file
Binary file not shown.
2
public/doxa-maps/index.html
generated
2
public/doxa-maps/index.html
generated
File diff suppressed because one or more lines are too long
8
public/doxa-maps/manifest.json
generated
8
public/doxa-maps/manifest.json
generated
|
|
@ -879,7 +879,7 @@
|
|||
"bundle": "regions-dashboard",
|
||||
"scriptUrl": "./regions-dashboard/regions-dashboard.js",
|
||||
"output": "doxa-maps/regions-dashboard/regions-dashboard.js",
|
||||
"integrity": "sha384-rvSze5s3RitU0tv9W/tAjhDWP3zUECkh99zLfDvQod0rFkN67ovys/nY6RWva2KQ",
|
||||
"integrity": "sha384-m6qbvnKE6N5Ij+4ly5xXudaoAZ25bFr0qdMp5tnr/dpu0wwzmPQsKqPAgcNu1u5S",
|
||||
"elements": [
|
||||
"regions-dashboard"
|
||||
],
|
||||
|
|
@ -899,7 +899,7 @@
|
|||
"scriptUrl": "./regions-dashboard/regions-dashboard.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-rvSze5s3RitU0tv9W/tAjhDWP3zUECkh99zLfDvQod0rFkN67ovys/nY6RWva2KQ\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-m6qbvnKE6N5Ij+4ly5xXudaoAZ25bFr0qdMp5tnr/dpu0wwzmPQsKqPAgcNu1u5S\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -913,7 +913,7 @@
|
|||
"scriptUrl": "./regions-dashboard/regions-dashboard.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-rvSze5s3RitU0tv9W/tAjhDWP3zUECkh99zLfDvQod0rFkN67ovys/nY6RWva2KQ\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-m6qbvnKE6N5Ij+4ly5xXudaoAZ25bFr0qdMp5tnr/dpu0wwzmPQsKqPAgcNu1u5S\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -927,7 +927,7 @@
|
|||
"scriptUrl": "./regions-dashboard/regions-dashboard.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-rvSze5s3RitU0tv9W/tAjhDWP3zUECkh99zLfDvQod0rFkN67ovys/nY6RWva2KQ\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-m6qbvnKE6N5Ij+4ly5xXudaoAZ25bFr0qdMp5tnr/dpu0wwzmPQsKqPAgcNu1u5S\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <regions-dashboard> custom element. -->
|
||||
<script src="../regions-dashboard.js" integrity="sha384-rvSze5s3RitU0tv9W/tAjhDWP3zUECkh99zLfDvQod0rFkN67ovys/nY6RWva2KQ" crossorigin="anonymous"></script>
|
||||
<script src="../regions-dashboard.js" integrity="sha384-m6qbvnKE6N5Ij+4ly5xXudaoAZ25bFr0qdMp5tnr/dpu0wwzmPQsKqPAgcNu1u5S" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <regions-dashboard> custom element. -->
|
||||
<script src="../regions-dashboard.js" integrity="sha384-rvSze5s3RitU0tv9W/tAjhDWP3zUECkh99zLfDvQod0rFkN67ovys/nY6RWva2KQ" crossorigin="anonymous"></script>
|
||||
<script src="../regions-dashboard.js" integrity="sha384-m6qbvnKE6N5Ij+4ly5xXudaoAZ25bFr0qdMp5tnr/dpu0wwzmPQsKqPAgcNu1u5S" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <regions-dashboard> custom element. -->
|
||||
<script src="../regions-dashboard.js" integrity="sha384-rvSze5s3RitU0tv9W/tAjhDWP3zUECkh99zLfDvQod0rFkN67ovys/nY6RWva2KQ" crossorigin="anonymous"></script>
|
||||
<script src="../regions-dashboard.js" integrity="sha384-m6qbvnKE6N5Ij+4ly5xXudaoAZ25bFr0qdMp5tnr/dpu0wwzmPQsKqPAgcNu1u5S" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
Loading…
Reference in a new issue