mirror of
https://github.com/rsms/inter.git
synced 2024-09-11 10:55:24 +03:00
website: temporary fix
This commit is contained in:
parent
97ff35b54c
commit
3ea9816a15
@ -60,18 +60,58 @@ dist: info lab/index.html
|
|||||||
info: fonts _data/fontinfo.json lab/glyphinfo.json
|
info: fonts _data/fontinfo.json lab/glyphinfo.json
|
||||||
fonts: font-files/Inter-Regular.woff2
|
fonts: font-files/Inter-Regular.woff2
|
||||||
|
|
||||||
FONTS_SRC := $(wildcard \
|
FONTS_SRC := \
|
||||||
$(FONTDIR)/static/Inter*.woff2 \
|
$(FONTDIR)/static/Inter-Black.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-BlackItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-Bold.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-BoldItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-ExtraBold.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-ExtraBoldItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-ExtraLight.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-ExtraLightItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-Italic.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-Light.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-LightItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-Medium.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-MediumItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-Regular.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-SemiBold.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-SemiBoldItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-Thin.woff2 \
|
||||||
|
$(FONTDIR)/static/Inter-ThinItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-Black.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-BlackItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-Bold.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-BoldItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-ExtraBold.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-ExtraBoldItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-ExtraLight.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-ExtraLightItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-Italic.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-Light.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-LightItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-Medium.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-MediumItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-Regular.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-SemiBold.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-SemiBoldItalic.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-Thin.woff2 \
|
||||||
|
$(FONTDIR)/static/InterDisplay-ThinItalic.woff2 \
|
||||||
$(FONTDIR)/var/Inter-Variable.woff2 \
|
$(FONTDIR)/var/Inter-Variable.woff2 \
|
||||||
$(FONTDIR)/var/Inter-Variable-Italic.woff2 \
|
$(FONTDIR)/var/Inter-Variable-Italic.woff2 \
|
||||||
$(FONTDIR)/var/Inter-Variable.ttf)
|
$(FONTDIR)/var/Inter-Variable.ttf
|
||||||
|
|
||||||
font-files/Inter-Regular.woff2: $(FONTS_SRC)
|
font-files/Inter-Regular.woff2: $(FONTS_SRC)
|
||||||
$(Q)rm -rf font-files/Inter*
|
rm -rf font-files/Inter*
|
||||||
$(Q)mkdir -p font-files
|
mkdir -p font-files
|
||||||
cp -a $^ font-files/
|
cp -a $^ font-files/
|
||||||
$(Q)touch $@
|
$(Q)touch $@
|
||||||
|
|
||||||
|
$(FONTS_SRC):
|
||||||
|
@echo "Missing fonts in $(FONTDIR)" >&2
|
||||||
|
@echo "Did you forget to 'make web' in the repository root?" >&2
|
||||||
|
@exit 1
|
||||||
|
|
||||||
lab/index.html: ../version.txt ../misc/tools/patch-version.py
|
lab/index.html: ../version.txt ../misc/tools/patch-version.py
|
||||||
. $(VENV); python ../misc/tools/patch-version.py $@
|
. $(VENV); python ../misc/tools/patch-version.py $@
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
- tag: calt
|
- tag: calt
|
||||||
title: Contextual alternates
|
title: Contextual alternates
|
||||||
|
disable: calt
|
||||||
description:
|
description:
|
||||||
Depending on the surrounding context, different glyphs are used.
|
Depending on the surrounding context, different glyphs are used.
|
||||||
Enabled by default
|
Enabled by default
|
||||||
|
@ -70,8 +70,8 @@
|
|||||||
"cmap": "[present but not decoded]",
|
"cmap": "[present but not decoded]",
|
||||||
"glyf": "[present but not decoded]",
|
"glyf": "[present but not decoded]",
|
||||||
"head": {
|
"head": {
|
||||||
"checkSumAdjustment": 267815186,
|
"checkSumAdjustment": 402214426,
|
||||||
"created": 3783173853,
|
"created": 3783201336,
|
||||||
"flags": [
|
"flags": [
|
||||||
"0: Baseline at y=0",
|
"0: Baseline at y=0",
|
||||||
"1: Left sidebearing point at x=0",
|
"1: Left sidebearing point at x=0",
|
||||||
@ -86,7 +86,7 @@
|
|||||||
"macStyle": [],
|
"macStyle": [],
|
||||||
"macStyle_raw": 0,
|
"macStyle_raw": 0,
|
||||||
"magicNumber": 1594834165,
|
"magicNumber": 1594834165,
|
||||||
"modified": 3783173867,
|
"modified": 3783203555,
|
||||||
"tableVersion": 1.0,
|
"tableVersion": 1.0,
|
||||||
"unitsPerEm": 2048,
|
"unitsPerEm": 2048,
|
||||||
"xMax": 5290,
|
"xMax": 5290,
|
||||||
@ -126,8 +126,8 @@
|
|||||||
"#257": "Disambiguation",
|
"#257": "Disambiguation",
|
||||||
"#258": "Round quotes & commas",
|
"#258": "Round quotes & commas",
|
||||||
"#259": "Disambiguation (no slashed zero)",
|
"#259": "Disambiguation (no slashed zero)",
|
||||||
"#260": "Characters in circles",
|
"#260": "Circled characters",
|
||||||
"#261": "Characters in squares",
|
"#261": "Squared characters",
|
||||||
"#262": "Square punctuation",
|
"#262": "Square punctuation",
|
||||||
"#263": "Square quotes",
|
"#263": "Square quotes",
|
||||||
"#264": "Alternate one",
|
"#264": "Alternate one",
|
||||||
@ -143,9 +143,9 @@
|
|||||||
"#274": "Single-story a",
|
"#274": "Single-story a",
|
||||||
"#275": "Compact f",
|
"#275": "Compact f",
|
||||||
"#276": "Compact t",
|
"#276": "Compact t",
|
||||||
"#3 fontId": "4.000;git-bd621042f;RSMS;Inter-Regular",
|
"#3 fontId": "4.000;git-59063ec87;RSMS;Inter-Regular",
|
||||||
"#4 fullName": "Inter Regular",
|
"#4 fullName": "Inter Regular",
|
||||||
"#5 version": "Version 4.000;git-bd621042f",
|
"#5 version": "Version 4.000;git-59063ec87",
|
||||||
"#6 postscriptName": "Inter-Regular",
|
"#6 postscriptName": "Inter-Regular",
|
||||||
"#7 trademark": "Inter UI and Inter is a trademark of rsms.",
|
"#7 trademark": "Inter UI and Inter is a trademark of rsms.",
|
||||||
"#8 manufacturerName": "rsms",
|
"#8 manufacturerName": "rsms",
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -994,7 +994,7 @@ At a later date we find the word applied to very different objects, though alway
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</r-cell>
|
</r-cell>
|
||||||
|
|
||||||
<r-cell span=3-5 class="leading-trim feat-example" style="font-feature-settings:'{{f.tag}}' 0,'calt' 0{% if f.disable %},'{{f.disable}}'0 {% endif %}">
|
<r-cell span=3-5 class="leading-trim feat-example" style="font-feature-settings:'{{f.tag}}' 0{% if f.disable %},'{{f.disable}}'0 {% endif %}">
|
||||||
{% for sample in f.samples %}{%
|
{% for sample in f.samples %}{%
|
||||||
assign sample_in = sample | replace: "›", "<em>" | replace: "‹", "</em>" -%}
|
assign sample_in = sample | replace: "›", "<em>" | replace: "‹", "</em>" -%}
|
||||||
{{sample_in}}<br>
|
{{sample_in}}<br>
|
||||||
|
Loading…
Reference in New Issue
Block a user