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

View file

@ -3,31 +3,27 @@ set -e
cd "$(dirname "$0")/.." cd "$(dirname "$0")/.."
if [ ! -s lab/fonts ]; then if [ ! -s lab/fonts ]; then
rm -rf lab/fonts rm -f lab/fonts
ln -fs ../../build/fonts lab/fonts ln -fs ../../build/fonts lab/fonts
fi fi
rm -rf _site
# jekyll is a little dumb and resolves the lab/fonts symlink and copies # jekyll is a little dumb and resolves the lab/fonts symlink and copies
# all font files to _site when started. Bad jekyll. # all font files to _site when started. Bad jekyll.
# Let's work around that. # Let's work around that.
rm -rf _site
sh <<_EOF_ & sh <<_EOF_ &
N=3 N=3
while [ \$N -gt 0 ]; do while [ \$N -gt 0 ]; do
sleep 1 sleep 1
mkdir -p _site/lab mkdir -p _site/lab
ln -fs ../../../build/fonts _site/lab/fonts
sleep 5
if [ -d _site/lab/fonts ]; then if [ -d _site/lab/fonts ]; then
rm -rf _site/lab/fonts rm -rf _site/lab/fonts
else else
rm -f _site/lab/fonts rm -f _site/lab/fonts
fi fi
mkdir -p _site/lab
ln -fs ../../../build/fonts _site/lab/fonts ln -fs ../../../build/fonts _site/lab/fonts
let N=N-1 let N=N-1
done done
_EOF_ _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 { .dynmet-calc .arrow {
margin: 0 0.8em; margin: 0 0.5em;
color: #eee; color: #eee;
} }

View file

@ -64,11 +64,11 @@ endfor
<h2 id="dynamic-metrics"><a href="{{url_root}}dynmetrics/">Dynamic Metrics</a></h2> <h2 id="dynamic-metrics"><a href="{{url_root}}dynmetrics/">Dynamic Metrics</a></h2>
<p class="dynmet-calc"> <p class="dynmet-calc">
Font size Size
<input id="dynmet-font-size" type="number" value="12" <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 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> <span class="arrow">=</span>
letter spacing <span title='letter-spacing in CSS; also called "tracking" in some software.'>spacing
<input id="dynmet-tracking" type="number" value="0.008"> <input id="dynmet-tracking" type="number" value="0.008">
<span id="dynmet-unit">em</span> <span id="dynmet-unit">em</span>
</p> </p>

File diff suppressed because it is too large Load diff