update website (note: the live website is sourced from the master branch, so these changes will not be visible on the actual website until this branch is merged into master, or if you run the server locally.)

This commit is contained in:
Rasmus Andersson 2018-09-17 10:35:12 -07:00
parent 8fdcaa7e3e
commit 724caef757
38 changed files with 8702 additions and 50573 deletions

View file

@ -1,27 +1,27 @@
[
{
"head": {
"checkSumAdjustment": 3690365233,
"checkSumAdjustment": 3858459432,
"created": 3563720514,
"flags": 27,
"fontDirectionHint": 2,
"fontRevision": 2.005,
"fontRevision": 3.0,
"glyphDataFormat": 0,
"indexToLocFormat": 0,
"lowestRecPPEM": 64,
"lowestRecPPEM": 6,
"macStyle": [],
"macStyle_raw": 0,
"magicNumber": 1594834165,
"modified": 3601781722,
"modified": 3620048804,
"tableVersion": 1.0,
"unitsPerEm": 2816,
"xMax": 3872,
"xMin": -2078,
"xMax": 3756,
"xMin": -2080,
"yMax": 3012,
"yMin": -1067
"yMin": -1080
},
"hhea": {
"advanceWidthMax": 4040,
"advanceWidthMax": 4004,
"ascent": 2708,
"caretOffset": 0,
"caretSlopeRise": 1,
@ -29,21 +29,21 @@
"descent": -660,
"lineGap": 0,
"metricDataFormat": 0,
"minLeftSideBearing": -2078,
"minLeftSideBearing": -2080,
"minRightSideBearing": -1440,
"numberOfHMetrics": 2188,
"numberOfHMetrics": 2196,
"tableVersion": 65536,
"xMaxExtent": 3872
"xMaxExtent": 3756
},
"id": "Inter UI Regular:2018:86daccf",
"id": "Inter UI Regular:2018:5013e28f",
"name": "InterUI-Regular",
"names": {
"copyright": "Copyright 2018 The Inter UI project authors",
"designer": "Rasmus Andersson",
"designerURL": "https://rsms.me/",
"familyName": "Inter UI",
"fontId": "Inter UI Regular:2018:86daccf",
"fullName": "Inter UI",
"fontId": "Inter UI Regular:2018:5013e28f",
"fullName": "Inter UI Regular",
"licenseDescription": "OFL 1.1 (SIL Open Font License, Version 1.1)",
"licenseURL": "http://scripts.sil.org/OFL",
"manufacturerName": "rsms",
@ -51,7 +51,7 @@
"subfamilyName": "Regular",
"trademark": "Inter UI is a trademark of rsms.",
"vendorURL": "https://rsms.me/",
"version": "2.5;86daccf"
"version": "3.0;5013e28f"
},
"os/2": {
"achVendID": "RSMS",
@ -77,25 +77,25 @@
"sTypoDescender": -660,
"sTypoLineGap": 0,
"sxHeight": 1536,
"ulCodePageRange1": 536871327,
"ulCodePageRange1": 415,
"ulCodePageRange2": 0,
"ulUnicodeRange1": 3758099199,
"ulUnicodeRange2": 1342185855,
"ulUnicodeRange3": 33,
"ulUnicodeRange1": 3758097151,
"ulUnicodeRange2": 302031359,
"ulUnicodeRange3": 1,
"ulUnicodeRange4": 0,
"usBreakChar": 32,
"usDefaultChar": 0,
"usFirstCharIndex": 0,
"usFirstCharIndex": 32,
"usLastCharIndex": 65535,
"usMaxContext": 3,
"usWeightClass": 400,
"usWeightClassName": "Normal (Regular)",
"usWidthClass": 5,
"usWidthClassName": "Medium (normal)",
"usWinAscent": 3012,
"usWinDescent": 1067,
"usWinAscent": 2708,
"usWinDescent": 660,
"version": 4,
"xAvgCharWidth": 1688,
"xAvgCharWidth": 1682,
"yStrikeoutPosition": 1024,
"yStrikeoutSize": 256,
"ySubscriptXOffset": 0,
@ -118,6 +118,6 @@
"underlinePosition": -422,
"underlineThickness": 170
},
"version": "2.5"
"version": "3.0"
}
]

View file

@ -3,31 +3,27 @@ set -e
cd "$(dirname "$0")/.."
if [ ! -s lab/fonts ]; then
rm -rf lab/fonts
rm -f lab/fonts
ln -fs ../../build/fonts lab/fonts
fi
rm -rf _site
# jekyll is a little dumb and resolves the lab/fonts symlink and copies
# all font files to _site when started. Bad jekyll.
# Let's work around that.
rm -rf _site
sh <<_EOF_ &
N=3
while [ \$N -gt 0 ]; do
sleep 1
mkdir -p _site/lab
ln -fs ../../../build/fonts _site/lab/fonts
sleep 5
if [ -d _site/lab/fonts ]; then
rm -rf _site/lab/fonts
else
rm -f _site/lab/fonts
fi
mkdir -p _site/lab
ln -fs ../../../build/fonts _site/lab/fonts
let N=N-1
done
_EOF_
jekyll serve --limit_posts 20 --watch --host 127.0.0.1 --port 3002 --open-url
jekyll serve --limit_posts 20 --watch --host 127.0.0.1 --port 3002

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.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -39,7 +39,7 @@
}
.dynmet-calc .arrow {
margin: 0 0.8em;
margin: 0 0.5em;
color: #eee;
}

View file

@ -64,11 +64,11 @@ endfor
<h2 id="dynamic-metrics"><a href="{{url_root}}dynmetrics/">Dynamic Metrics</a></h2>
<p class="dynmet-calc">
Font size
Size
<input id="dynmet-font-size" type="number" value="12"
><span title='Display points — "px" in CSS, "pt" on iOS, "sp" on Android, and "pt" (1/72 of an inch) in print'>dp</span>
<span class="arrow">—></span>
letter spacing
<span class="arrow">=</span>
<span title='letter-spacing in CSS; also called "tracking" in some software.'>spacing
<input id="dynmet-tracking" type="number" value="0.008">
<span id="dynmet-unit">em</span>
</p>

File diff suppressed because it is too large Load diff