summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2020-04-09 04:56:06 +0300
committerRasmus Andersson <rasmus@notion.se>2020-04-09 04:56:06 +0300
commit833d5afe6ab33f57c5fe50157cf79a7fbb91e6df (patch)
tree6ebd03c65fb2eabce607f87cc74297c5e72db48c /docs
parent58c48da6c30c211c615f826ca45d5c261be411ce (diff)
downloadinter-833d5afe6ab33f57c5fe50157cf79a7fbb91e6df.tar.xz
web: wip display in lab
Diffstat (limited to 'docs')
-rw-r--r--docs/font-files/Inter-Black.otfbin250376 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Black.woffbin140036 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Black.woff2bin104524 -> 131 bytes
-rw-r--r--docs/font-files/Inter-BlackItalic.otfbin257152 -> 131 bytes
-rw-r--r--docs/font-files/Inter-BlackItalic.woffbin145924 -> 131 bytes
-rw-r--r--docs/font-files/Inter-BlackItalic.woff2bin109900 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Bold.otfbin255108 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Bold.woffbin143708 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Bold.woff2bin107400 -> 131 bytes
-rw-r--r--docs/font-files/Inter-BoldItalic.otfbin261800 -> 131 bytes
-rw-r--r--docs/font-files/Inter-BoldItalic.woffbin149420 -> 131 bytes
-rw-r--r--docs/font-files/Inter-BoldItalic.woff2bin112580 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraBold.otfbin255904 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraBold.woffbin143552 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraBold.woff2bin107552 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraBoldItalic.otfbin261896 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraBoldItalic.woffbin149196 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraBoldItalic.woff2bin112876 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraLight.otfbin250148 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraLight.woffbin141864 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraLight.woff2bin105960 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraLightItalic.otfbin260496 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraLightItalic.woffbin148688 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ExtraLightItalic.woff2bin112056 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Italic.otfbin255396 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Italic.woffbin142744 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Italic.woff2bin107508 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Light.otfbin249468 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Light.woffbin141528 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Light.woff2bin105640 -> 131 bytes
-rw-r--r--docs/font-files/Inter-LightItalic.otfbin259552 -> 131 bytes
-rw-r--r--docs/font-files/Inter-LightItalic.woffbin148436 -> 131 bytes
-rw-r--r--docs/font-files/Inter-LightItalic.woff2bin111968 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Medium.otfbin253784 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Medium.woffbin142836 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Medium.woff2bin106720 -> 131 bytes
-rw-r--r--docs/font-files/Inter-MediumItalic.otfbin261120 -> 131 bytes
-rw-r--r--docs/font-files/Inter-MediumItalic.woffbin149184 -> 131 bytes
-rw-r--r--docs/font-files/Inter-MediumItalic.woff2bin112504 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Regular.otfbin244892 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Regular.woffbin134652 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Regular.woff2bin100124 -> 131 bytes
-rw-r--r--docs/font-files/Inter-SemiBold.otfbin254424 -> 131 bytes
-rw-r--r--docs/font-files/Inter-SemiBold.woffbin143248 -> 131 bytes
-rw-r--r--docs/font-files/Inter-SemiBold.woff2bin107232 -> 131 bytes
-rw-r--r--docs/font-files/Inter-SemiBoldItalic.otfbin261540 -> 131 bytes
-rw-r--r--docs/font-files/Inter-SemiBoldItalic.woffbin149276 -> 131 bytes
-rw-r--r--docs/font-files/Inter-SemiBoldItalic.woff2bin112552 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Thin.otfbin243500 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Thin.woffbin136952 -> 131 bytes
-rw-r--r--docs/font-files/Inter-Thin.woff2bin101408 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ThinItalic.otfbin254928 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ThinItalic.woffbin144412 -> 131 bytes
-rw-r--r--docs/font-files/Inter-ThinItalic.woff2bin107496 -> 131 bytes
-rw-r--r--docs/font-files/Inter-V.var.otfbin794180 -> 0 bytes
-rw-r--r--docs/font-files/Inter-V.var.woff2bin318160 -> 0 bytes
-rw-r--r--docs/font-files/Inter-italic.var.otfbin617800 -> 131 bytes
-rw-r--r--docs/font-files/Inter-italic.var.woff2bin240688 -> 131 bytes
-rw-r--r--docs/font-files/Inter-roman.var.otfbin608732 -> 131 bytes
-rw-r--r--docs/font-files/Inter-roman.var.woff2bin226368 -> 131 bytes
-rw-r--r--docs/font-files/Inter.var.otfbin794152 -> 131 bytes
-rw-r--r--docs/font-files/Inter.var.woff2bin316604 -> 131 bytes
-rw-r--r--docs/font-files/InterDisplay-Black.otf3
-rw-r--r--docs/font-files/InterDisplay-Black.woff3
-rw-r--r--docs/font-files/InterDisplay-Black.woff23
-rw-r--r--docs/font-files/InterDisplay-BlackItalic.otf3
-rw-r--r--docs/font-files/InterDisplay-BlackItalic.woff3
-rw-r--r--docs/font-files/InterDisplay-BlackItalic.woff23
-rw-r--r--docs/font-files/InterDisplay-Bold.otf3
-rw-r--r--docs/font-files/InterDisplay-Bold.woff3
-rw-r--r--docs/font-files/InterDisplay-Bold.woff23
-rw-r--r--docs/font-files/InterDisplay-BoldItalic.otf3
-rw-r--r--docs/font-files/InterDisplay-BoldItalic.woff3
-rw-r--r--docs/font-files/InterDisplay-BoldItalic.woff23
-rw-r--r--docs/font-files/InterDisplay-ExtraBold.otf3
-rw-r--r--docs/font-files/InterDisplay-ExtraBold.woff3
-rw-r--r--docs/font-files/InterDisplay-ExtraBold.woff23
-rw-r--r--docs/font-files/InterDisplay-ExtraBoldItalic.otf3
-rw-r--r--docs/font-files/InterDisplay-ExtraBoldItalic.woff3
-rw-r--r--docs/font-files/InterDisplay-ExtraBoldItalic.woff23
-rw-r--r--docs/font-files/InterDisplay-ExtraLight.otf3
-rw-r--r--docs/font-files/InterDisplay-ExtraLight.woff3
-rw-r--r--docs/font-files/InterDisplay-ExtraLight.woff23
-rw-r--r--docs/font-files/InterDisplay-ExtraLightItalic.otf3
-rw-r--r--docs/font-files/InterDisplay-ExtraLightItalic.woff3
-rw-r--r--docs/font-files/InterDisplay-ExtraLightItalic.woff23
-rw-r--r--docs/font-files/InterDisplay-Italic.otf3
-rw-r--r--docs/font-files/InterDisplay-Italic.woff3
-rw-r--r--docs/font-files/InterDisplay-Italic.woff23
-rw-r--r--docs/font-files/InterDisplay-Light.otf3
-rw-r--r--docs/font-files/InterDisplay-Light.woff3
-rw-r--r--docs/font-files/InterDisplay-Light.woff23
-rw-r--r--docs/font-files/InterDisplay-LightItalic.otf3
-rw-r--r--docs/font-files/InterDisplay-LightItalic.woff3
-rw-r--r--docs/font-files/InterDisplay-LightItalic.woff23
-rw-r--r--docs/font-files/InterDisplay-Medium.otf3
-rw-r--r--docs/font-files/InterDisplay-Medium.woff3
-rw-r--r--docs/font-files/InterDisplay-Medium.woff23
-rw-r--r--docs/font-files/InterDisplay-MediumItalic.otf3
-rw-r--r--docs/font-files/InterDisplay-MediumItalic.woff3
-rw-r--r--docs/font-files/InterDisplay-MediumItalic.woff23
-rw-r--r--docs/font-files/InterDisplay-Regular.otf3
-rw-r--r--docs/font-files/InterDisplay-Regular.woff3
-rw-r--r--docs/font-files/InterDisplay-Regular.woff23
-rw-r--r--docs/font-files/InterDisplay-SemiBold.otf3
-rw-r--r--docs/font-files/InterDisplay-SemiBold.woff3
-rw-r--r--docs/font-files/InterDisplay-SemiBold.woff23
-rw-r--r--docs/font-files/InterDisplay-SemiBoldItalic.otf3
-rw-r--r--docs/font-files/InterDisplay-SemiBoldItalic.woff3
-rw-r--r--docs/font-files/InterDisplay-SemiBoldItalic.woff23
-rw-r--r--docs/font-files/InterDisplay-Thin.otf3
-rw-r--r--docs/font-files/InterDisplay-Thin.woff3
-rw-r--r--docs/font-files/InterDisplay-Thin.woff23
-rw-r--r--docs/font-files/InterDisplay-ThinItalic.otf3
-rw-r--r--docs/font-files/InterDisplay-ThinItalic.woff3
-rw-r--r--docs/font-files/InterDisplay-ThinItalic.woff23
-rw-r--r--docs/font-files/InterDisplay-italic.var.otf3
-rw-r--r--docs/font-files/InterDisplay-italic.var.woff23
-rw-r--r--docs/font-files/InterDisplay-roman.var.otf3
-rw-r--r--docs/font-files/InterDisplay-roman.var.woff23
-rw-r--r--docs/font-files/InterDisplay.var.otf3
-rw-r--r--docs/font-files/InterDisplay.var.woff23
-rw-r--r--docs/lab/build-version.js4
-rwxr-xr-xdocs/lab/favicon.pngbin1484 -> 129 bytes
-rw-r--r--docs/lab/font-files.js144
-rw-r--r--docs/lab/index.html1825
-rw-r--r--docs/lab/lab.css175
-rw-r--r--docs/lab/samples.js1173
-rw-r--r--docs/res/favicon.pngbin914 -> 128 bytes
-rw-r--r--docs/res/metrics.pngbin272310 -> 131 bytes
-rw-r--r--docs/res/noise512.pngbin36283 -> 130 bytes
-rw-r--r--docs/res/preview-app.pngbin236331 -> 131 bytes
-rw-r--r--docs/res/sample.pngbin425764 -> 131 bytes
-rw-r--r--docs/res/share.pngbin45806 -> 130 bytes
-rw-r--r--docs/samples/img/01.pngbin62840 -> 130 bytes
-rw-r--r--docs/samples/img/01@2x.pngbin146483 -> 131 bytes
-rw-r--r--docs/samples/img/02.pngbin76267 -> 130 bytes
-rw-r--r--docs/samples/img/02@2x.pngbin180072 -> 131 bytes
-rw-r--r--docs/samples/img/03.pngbin541287 -> 131 bytes
-rw-r--r--docs/samples/img/03@2x.pngbin2192311 -> 132 bytes
-rw-r--r--docs/samples/img/04.pngbin95690 -> 130 bytes
-rw-r--r--docs/samples/img/04@2x.pngbin238091 -> 131 bytes
-rw-r--r--docs/samples/img/05.pngbin99488 -> 130 bytes
-rw-r--r--docs/samples/img/05@2x.pngbin246807 -> 131 bytes
-rw-r--r--docs/samples/img/06.pngbin105619 -> 131 bytes
-rw-r--r--docs/samples/img/06@2x.pngbin235272 -> 131 bytes
-rw-r--r--docs/samples/img/07.pngbin50512 -> 130 bytes
-rw-r--r--docs/samples/img/07@2x.pngbin139790 -> 131 bytes
-rw-r--r--docs/samples/img/08.pngbin40231 -> 130 bytes
-rw-r--r--docs/samples/img/08@2x.pngbin91580 -> 130 bytes
-rw-r--r--docs/samples/img/09.pngbin28212 -> 130 bytes
-rw-r--r--docs/samples/img/09@2x.pngbin70931 -> 130 bytes
-rw-r--r--docs/samples/img/10.pngbin24577 -> 130 bytes
-rw-r--r--docs/samples/img/10@2x.pngbin53092 -> 130 bytes
-rw-r--r--docs/samples/img/11.pngbin15149 -> 130 bytes
-rw-r--r--docs/samples/img/11@2x.pngbin36001 -> 130 bytes
-rw-r--r--docs/samples/img/12.pngbin31889 -> 130 bytes
-rw-r--r--docs/samples/img/12@2x.pngbin72253 -> 130 bytes
-rw-r--r--docs/samples/img/13.pngbin21776 -> 130 bytes
-rw-r--r--docs/samples/img/13@2x.pngbin53729 -> 130 bytes
-rw-r--r--docs/samples/img/14.pngbin7943 -> 129 bytes
-rw-r--r--docs/samples/img/14@2x.pngbin22064 -> 130 bytes
-rw-r--r--docs/samples/img/15.pngbin30864 -> 130 bytes
-rw-r--r--docs/samples/img/15@2x.pngbin78117 -> 130 bytes
-rw-r--r--docs/samples/img/framed-poster-black.pngbin428087 -> 131 bytes
-rw-r--r--docs/samples/img/framed-poster-black@2x.pngbin1707119 -> 132 bytes
-rw-r--r--docs/samples/img/framed-poster-bold.pngbin450273 -> 131 bytes
-rw-r--r--docs/samples/img/framed-poster-bold@2x.pngbin1769756 -> 132 bytes
-rw-r--r--docs/samples/img/framed-poster-extra-bold-2.pngbin483429 -> 131 bytes
-rw-r--r--docs/samples/img/framed-poster-extra-bold-2@2x.pngbin1982056 -> 132 bytes
-rw-r--r--docs/samples/img/framed-poster-extra-bold.pngbin521499 -> 131 bytes
-rw-r--r--docs/samples/img/framed-poster-extra-bold@2x.pngbin2101146 -> 132 bytes
-rw-r--r--docs/samples/img/framed-poster-medium.pngbin437733 -> 131 bytes
-rw-r--r--docs/samples/img/framed-poster-medium@2x.pngbin1711489 -> 132 bytes
-rw-r--r--docs/samples/img/framed-poster-melvetica.pngbin433217 -> 131 bytes
-rw-r--r--docs/samples/img/framed-poster-melvetica@2x.pngbin1759619 -> 132 bytes
-rw-r--r--docs/samples/img/framed-poster-regular.pngbin520002 -> 131 bytes
-rw-r--r--docs/samples/img/framed-poster-regular@2x.pngbin2050859 -> 132 bytes
-rw-r--r--docs/samples/img/framed-poster-semi-bold-2.pngbin433501 -> 131 bytes
-rw-r--r--docs/samples/img/framed-poster-semi-bold-2@2x.pngbin1714463 -> 132 bytes
-rw-r--r--docs/samples/img/framed-poster-semi-bold.pngbin511201 -> 131 bytes
-rw-r--r--docs/samples/img/framed-poster-semi-bold@2x.pngbin2016373 -> 132 bytes
-rw-r--r--docs/samples/img/regular-text.pngbin65933 -> 130 bytes
-rw-r--r--docs/samples/img/regular-text@2x.pngbin165236 -> 131 bytes
-rw-r--r--docs/samples/img/sfs-pid-30.pngbin693044 -> 131 bytes
-rw-r--r--docs/samples/img/sfs-pid-30@2x.pngbin2701115 -> 132 bytes
-rw-r--r--docs/samples/img/thin-beta.pngbin39715 -> 130 bytes
-rw-r--r--docs/samples/img/thin-beta@2x.pngbin91589 -> 130 bytes
188 files changed, 1821 insertions, 1680 deletions
diff --git a/docs/font-files/Inter-Black.otf b/docs/font-files/Inter-Black.otf
index b3675d6b3..a6734944b 100644
--- a/docs/font-files/Inter-Black.otf
+++ b/docs/font-files/Inter-Black.otf
Binary files differ
diff --git a/docs/font-files/Inter-Black.woff b/docs/font-files/Inter-Black.woff
index c7737ed3d..d9d35ec61 100644
--- a/docs/font-files/Inter-Black.woff
+++ b/docs/font-files/Inter-Black.woff
Binary files differ
diff --git a/docs/font-files/Inter-Black.woff2 b/docs/font-files/Inter-Black.woff2
index b16b995be..00cab73fb 100644
--- a/docs/font-files/Inter-Black.woff2
+++ b/docs/font-files/Inter-Black.woff2
Binary files differ
diff --git a/docs/font-files/Inter-BlackItalic.otf b/docs/font-files/Inter-BlackItalic.otf
index 1441cf280..b16c7f4f4 100644
--- a/docs/font-files/Inter-BlackItalic.otf
+++ b/docs/font-files/Inter-BlackItalic.otf
Binary files differ
diff --git a/docs/font-files/Inter-BlackItalic.woff b/docs/font-files/Inter-BlackItalic.woff
index b5f144764..a8cf20060 100644
--- a/docs/font-files/Inter-BlackItalic.woff
+++ b/docs/font-files/Inter-BlackItalic.woff
Binary files differ
diff --git a/docs/font-files/Inter-BlackItalic.woff2 b/docs/font-files/Inter-BlackItalic.woff2
index a3f1b70cd..dc63bf7be 100644
--- a/docs/font-files/Inter-BlackItalic.woff2
+++ b/docs/font-files/Inter-BlackItalic.woff2
Binary files differ
diff --git a/docs/font-files/Inter-Bold.otf b/docs/font-files/Inter-Bold.otf
index 24c150914..7b48c3919 100644
--- a/docs/font-files/Inter-Bold.otf
+++ b/docs/font-files/Inter-Bold.otf
Binary files differ
diff --git a/docs/font-files/Inter-Bold.woff b/docs/font-files/Inter-Bold.woff
index e38455587..947dad83f 100644
--- a/docs/font-files/Inter-Bold.woff
+++ b/docs/font-files/Inter-Bold.woff
Binary files differ
diff --git a/docs/font-files/Inter-Bold.woff2 b/docs/font-files/Inter-Bold.woff2
index 835dd4977..e258c1add 100644
--- a/docs/font-files/Inter-Bold.woff2
+++ b/docs/font-files/Inter-Bold.woff2
Binary files differ
diff --git a/docs/font-files/Inter-BoldItalic.otf b/docs/font-files/Inter-BoldItalic.otf
index c4e9b163d..c5f03af0e 100644
--- a/docs/font-files/Inter-BoldItalic.otf
+++ b/docs/font-files/Inter-BoldItalic.otf
Binary files differ
diff --git a/docs/font-files/Inter-BoldItalic.woff b/docs/font-files/Inter-BoldItalic.woff
index ffac3f59b..525b30276 100644
--- a/docs/font-files/Inter-BoldItalic.woff
+++ b/docs/font-files/Inter-BoldItalic.woff
Binary files differ
diff --git a/docs/font-files/Inter-BoldItalic.woff2 b/docs/font-files/Inter-BoldItalic.woff2
index 1a41a14ff..f6e46eac9 100644
--- a/docs/font-files/Inter-BoldItalic.woff2
+++ b/docs/font-files/Inter-BoldItalic.woff2
Binary files differ
diff --git a/docs/font-files/Inter-ExtraBold.otf b/docs/font-files/Inter-ExtraBold.otf
index e94e535f3..f04eef872 100644
--- a/docs/font-files/Inter-ExtraBold.otf
+++ b/docs/font-files/Inter-ExtraBold.otf
Binary files differ
diff --git a/docs/font-files/Inter-ExtraBold.woff b/docs/font-files/Inter-ExtraBold.woff
index 885ac94fb..46d731395 100644
--- a/docs/font-files/Inter-ExtraBold.woff
+++ b/docs/font-files/Inter-ExtraBold.woff
Binary files differ
diff --git a/docs/font-files/Inter-ExtraBold.woff2 b/docs/font-files/Inter-ExtraBold.woff2
index ae956b150..223fbbbf7 100644
--- a/docs/font-files/Inter-ExtraBold.woff2
+++ b/docs/font-files/Inter-ExtraBold.woff2
Binary files differ
diff --git a/docs/font-files/Inter-ExtraBoldItalic.otf b/docs/font-files/Inter-ExtraBoldItalic.otf
index d236a179a..05a05432a 100644
--- a/docs/font-files/Inter-ExtraBoldItalic.otf
+++ b/docs/font-files/Inter-ExtraBoldItalic.otf
Binary files differ
diff --git a/docs/font-files/Inter-ExtraBoldItalic.woff b/docs/font-files/Inter-ExtraBoldItalic.woff
index d6cf86233..f610b066c 100644
--- a/docs/font-files/Inter-ExtraBoldItalic.woff
+++ b/docs/font-files/Inter-ExtraBoldItalic.woff
Binary files differ
diff --git a/docs/font-files/Inter-ExtraBoldItalic.woff2 b/docs/font-files/Inter-ExtraBoldItalic.woff2
index 86578995d..6de7716a5 100644
--- a/docs/font-files/Inter-ExtraBoldItalic.woff2
+++ b/docs/font-files/Inter-ExtraBoldItalic.woff2
Binary files differ
diff --git a/docs/font-files/Inter-ExtraLight.otf b/docs/font-files/Inter-ExtraLight.otf
index eaa57ba3e..d5139bb5a 100644
--- a/docs/font-files/Inter-ExtraLight.otf
+++ b/docs/font-files/Inter-ExtraLight.otf
Binary files differ
diff --git a/docs/font-files/Inter-ExtraLight.woff b/docs/font-files/Inter-ExtraLight.woff
index ff7691932..df4eb8f8b 100644
--- a/docs/font-files/Inter-ExtraLight.woff
+++ b/docs/font-files/Inter-ExtraLight.woff
Binary files differ
diff --git a/docs/font-files/Inter-ExtraLight.woff2 b/docs/font-files/Inter-ExtraLight.woff2
index 694b2df9f..258d24fba 100644
--- a/docs/font-files/Inter-ExtraLight.woff2
+++ b/docs/font-files/Inter-ExtraLight.woff2
Binary files differ
diff --git a/docs/font-files/Inter-ExtraLightItalic.otf b/docs/font-files/Inter-ExtraLightItalic.otf
index 8b4bacbfe..6a1d7e917 100644
--- a/docs/font-files/Inter-ExtraLightItalic.otf
+++ b/docs/font-files/Inter-ExtraLightItalic.otf
Binary files differ
diff --git a/docs/font-files/Inter-ExtraLightItalic.woff b/docs/font-files/Inter-ExtraLightItalic.woff
index c6ed13a4f..c573cc2d6 100644
--- a/docs/font-files/Inter-ExtraLightItalic.woff
+++ b/docs/font-files/Inter-ExtraLightItalic.woff
Binary files differ
diff --git a/docs/font-files/Inter-ExtraLightItalic.woff2 b/docs/font-files/Inter-ExtraLightItalic.woff2
index 9a7bd1109..0edf8e9a0 100644
--- a/docs/font-files/Inter-ExtraLightItalic.woff2
+++ b/docs/font-files/Inter-ExtraLightItalic.woff2
Binary files differ
diff --git a/docs/font-files/Inter-Italic.otf b/docs/font-files/Inter-Italic.otf
index 14255026e..1c9467eab 100644
--- a/docs/font-files/Inter-Italic.otf
+++ b/docs/font-files/Inter-Italic.otf
Binary files differ
diff --git a/docs/font-files/Inter-Italic.woff b/docs/font-files/Inter-Italic.woff
index 4fdb59dc2..597484e51 100644
--- a/docs/font-files/Inter-Italic.woff
+++ b/docs/font-files/Inter-Italic.woff
Binary files differ
diff --git a/docs/font-files/Inter-Italic.woff2 b/docs/font-files/Inter-Italic.woff2
index deca637d8..60de752d7 100644
--- a/docs/font-files/Inter-Italic.woff2
+++ b/docs/font-files/Inter-Italic.woff2
Binary files differ
diff --git a/docs/font-files/Inter-Light.otf b/docs/font-files/Inter-Light.otf
index 960bf4e0e..467515b23 100644
--- a/docs/font-files/Inter-Light.otf
+++ b/docs/font-files/Inter-Light.otf
Binary files differ
diff --git a/docs/font-files/Inter-Light.woff b/docs/font-files/Inter-Light.woff
index 42850acc0..4bbd39672 100644
--- a/docs/font-files/Inter-Light.woff
+++ b/docs/font-files/Inter-Light.woff
Binary files differ
diff --git a/docs/font-files/Inter-Light.woff2 b/docs/font-files/Inter-Light.woff2
index 65a7daddd..6dfa2fb9a 100644
--- a/docs/font-files/Inter-Light.woff2
+++ b/docs/font-files/Inter-Light.woff2
Binary files differ
diff --git a/docs/font-files/Inter-LightItalic.otf b/docs/font-files/Inter-LightItalic.otf
index 14851982a..55de87b61 100644
--- a/docs/font-files/Inter-LightItalic.otf
+++ b/docs/font-files/Inter-LightItalic.otf
Binary files differ
diff --git a/docs/font-files/Inter-LightItalic.woff b/docs/font-files/Inter-LightItalic.woff
index c4ed9a94f..5c18ed783 100644
--- a/docs/font-files/Inter-LightItalic.woff
+++ b/docs/font-files/Inter-LightItalic.woff
Binary files differ
diff --git a/docs/font-files/Inter-LightItalic.woff2 b/docs/font-files/Inter-LightItalic.woff2
index 555fc5595..f2f371823 100644
--- a/docs/font-files/Inter-LightItalic.woff2
+++ b/docs/font-files/Inter-LightItalic.woff2
Binary files differ
diff --git a/docs/font-files/Inter-Medium.otf b/docs/font-files/Inter-Medium.otf
index 3fee170de..1130eec51 100644
--- a/docs/font-files/Inter-Medium.otf
+++ b/docs/font-files/Inter-Medium.otf
Binary files differ
diff --git a/docs/font-files/Inter-Medium.woff b/docs/font-files/Inter-Medium.woff
index 495faef7f..ce19cb711 100644
--- a/docs/font-files/Inter-Medium.woff
+++ b/docs/font-files/Inter-Medium.woff
Binary files differ
diff --git a/docs/font-files/Inter-Medium.woff2 b/docs/font-files/Inter-Medium.woff2
index 871ce4ce5..c44b8bc8d 100644
--- a/docs/font-files/Inter-Medium.woff2
+++ b/docs/font-files/Inter-Medium.woff2
Binary files differ
diff --git a/docs/font-files/Inter-MediumItalic.otf b/docs/font-files/Inter-MediumItalic.otf
index 3827cd2d4..7f5ed1e49 100644
--- a/docs/font-files/Inter-MediumItalic.otf
+++ b/docs/font-files/Inter-MediumItalic.otf
Binary files differ
diff --git a/docs/font-files/Inter-MediumItalic.woff b/docs/font-files/Inter-MediumItalic.woff
index 389c7a2bf..2e876070c 100644
--- a/docs/font-files/Inter-MediumItalic.woff
+++ b/docs/font-files/Inter-MediumItalic.woff
Binary files differ
diff --git a/docs/font-files/Inter-MediumItalic.woff2 b/docs/font-files/Inter-MediumItalic.woff2
index aa8057992..16fb585ad 100644
--- a/docs/font-files/Inter-MediumItalic.woff2
+++ b/docs/font-files/Inter-MediumItalic.woff2
Binary files differ
diff --git a/docs/font-files/Inter-Regular.otf b/docs/font-files/Inter-Regular.otf
index 2e3c5f4d3..4a50cfc8c 100644
--- a/docs/font-files/Inter-Regular.otf
+++ b/docs/font-files/Inter-Regular.otf
Binary files differ
diff --git a/docs/font-files/Inter-Regular.woff b/docs/font-files/Inter-Regular.woff
index fa7715d12..290118e23 100644
--- a/docs/font-files/Inter-Regular.woff
+++ b/docs/font-files/Inter-Regular.woff
Binary files differ
diff --git a/docs/font-files/Inter-Regular.woff2 b/docs/font-files/Inter-Regular.woff2
index b52dd0a0b..43cc503fe 100644
--- a/docs/font-files/Inter-Regular.woff2
+++ b/docs/font-files/Inter-Regular.woff2
Binary files differ
diff --git a/docs/font-files/Inter-SemiBold.otf b/docs/font-files/Inter-SemiBold.otf
index 7e014c941..cc8e4a5cf 100644
--- a/docs/font-files/Inter-SemiBold.otf
+++ b/docs/font-files/Inter-SemiBold.otf
Binary files differ
diff --git a/docs/font-files/Inter-SemiBold.woff b/docs/font-files/Inter-SemiBold.woff
index 18d7749f5..c68f662a0 100644
--- a/docs/font-files/Inter-SemiBold.woff
+++ b/docs/font-files/Inter-SemiBold.woff
Binary files differ
diff --git a/docs/font-files/Inter-SemiBold.woff2 b/docs/font-files/Inter-SemiBold.woff2
index ece5204a1..841f3a1b8 100644
--- a/docs/font-files/Inter-SemiBold.woff2
+++ b/docs/font-files/Inter-SemiBold.woff2
Binary files differ
diff --git a/docs/font-files/Inter-SemiBoldItalic.otf b/docs/font-files/Inter-SemiBoldItalic.otf
index b32d2774d..c76a6da4a 100644
--- a/docs/font-files/Inter-SemiBoldItalic.otf
+++ b/docs/font-files/Inter-SemiBoldItalic.otf
Binary files differ
diff --git a/docs/font-files/Inter-SemiBoldItalic.woff b/docs/font-files/Inter-SemiBoldItalic.woff
index 8ee64396a..a98b7047d 100644
--- a/docs/font-files/Inter-SemiBoldItalic.woff
+++ b/docs/font-files/Inter-SemiBoldItalic.woff
Binary files differ
diff --git a/docs/font-files/Inter-SemiBoldItalic.woff2 b/docs/font-files/Inter-SemiBoldItalic.woff2
index b32c0ba3b..865cf94e9 100644
--- a/docs/font-files/Inter-SemiBoldItalic.woff2
+++ b/docs/font-files/Inter-SemiBoldItalic.woff2
Binary files differ
diff --git a/docs/font-files/Inter-Thin.otf b/docs/font-files/Inter-Thin.otf
index 7d2391920..51252f925 100644
--- a/docs/font-files/Inter-Thin.otf
+++ b/docs/font-files/Inter-Thin.otf
Binary files differ
diff --git a/docs/font-files/Inter-Thin.woff b/docs/font-files/Inter-Thin.woff
index 1a22286f6..b8ea725f0 100644
--- a/docs/font-files/Inter-Thin.woff
+++ b/docs/font-files/Inter-Thin.woff
Binary files differ
diff --git a/docs/font-files/Inter-Thin.woff2 b/docs/font-files/Inter-Thin.woff2
index c56bc7ca6..44f1e305c 100644
--- a/docs/font-files/Inter-Thin.woff2
+++ b/docs/font-files/Inter-Thin.woff2
Binary files differ
diff --git a/docs/font-files/Inter-ThinItalic.otf b/docs/font-files/Inter-ThinItalic.otf
index ec7ac003c..f8b42260f 100644
--- a/docs/font-files/Inter-ThinItalic.otf
+++ b/docs/font-files/Inter-ThinItalic.otf
Binary files differ
diff --git a/docs/font-files/Inter-ThinItalic.woff b/docs/font-files/Inter-ThinItalic.woff
index d8ec8373a..a52af9a81 100644
--- a/docs/font-files/Inter-ThinItalic.woff
+++ b/docs/font-files/Inter-ThinItalic.woff
Binary files differ
diff --git a/docs/font-files/Inter-ThinItalic.woff2 b/docs/font-files/Inter-ThinItalic.woff2
index eca5608c0..c79612871 100644
--- a/docs/font-files/Inter-ThinItalic.woff2
+++ b/docs/font-files/Inter-ThinItalic.woff2
Binary files differ
diff --git a/docs/font-files/Inter-V.var.otf b/docs/font-files/Inter-V.var.otf
deleted file mode 100644
index a33c6138a..000000000
--- a/docs/font-files/Inter-V.var.otf
+++ /dev/null
Binary files differ
diff --git a/docs/font-files/Inter-V.var.woff2 b/docs/font-files/Inter-V.var.woff2
deleted file mode 100644
index 102dbbd73..000000000
--- a/docs/font-files/Inter-V.var.woff2
+++ /dev/null
Binary files differ
diff --git a/docs/font-files/Inter-italic.var.otf b/docs/font-files/Inter-italic.var.otf
index 933ea8f83..7f1fd40d1 100644
--- a/docs/font-files/Inter-italic.var.otf
+++ b/docs/font-files/Inter-italic.var.otf
Binary files differ
diff --git a/docs/font-files/Inter-italic.var.woff2 b/docs/font-files/Inter-italic.var.woff2
index 1f5d92611..b45987472 100644
--- a/docs/font-files/Inter-italic.var.woff2
+++ b/docs/font-files/Inter-italic.var.woff2
Binary files differ
diff --git a/docs/font-files/Inter-roman.var.otf b/docs/font-files/Inter-roman.var.otf
index 8e2ba40c8..bf78a1491 100644
--- a/docs/font-files/Inter-roman.var.otf
+++ b/docs/font-files/Inter-roman.var.otf
Binary files differ
diff --git a/docs/font-files/Inter-roman.var.woff2 b/docs/font-files/Inter-roman.var.woff2
index 05621d8d1..7e99facee 100644
--- a/docs/font-files/Inter-roman.var.woff2
+++ b/docs/font-files/Inter-roman.var.woff2
Binary files differ
diff --git a/docs/font-files/Inter.var.otf b/docs/font-files/Inter.var.otf
index 035107590..0d05b2e9e 100644
--- a/docs/font-files/Inter.var.otf
+++ b/docs/font-files/Inter.var.otf
Binary files differ
diff --git a/docs/font-files/Inter.var.woff2 b/docs/font-files/Inter.var.woff2
index 46bb51539..91d1378c7 100644
--- a/docs/font-files/Inter.var.woff2
+++ b/docs/font-files/Inter.var.woff2
Binary files differ
diff --git a/docs/font-files/InterDisplay-Black.otf b/docs/font-files/InterDisplay-Black.otf
new file mode 100644
index 000000000..362dfd94b
--- /dev/null
+++ b/docs/font-files/InterDisplay-Black.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fafe2cfa8605bed0667721813b3462dba0d3e733f924e99ddac7e4db2a1ad824
+size 257500
diff --git a/docs/font-files/InterDisplay-Black.woff b/docs/font-files/InterDisplay-Black.woff
new file mode 100644
index 000000000..c7b4c7122
--- /dev/null
+++ b/docs/font-files/InterDisplay-Black.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dd3569c5113d16e5b2e5bfe5526a75956d6f93f37ac396bee9efc8f3ca274320
+size 142220
diff --git a/docs/font-files/InterDisplay-Black.woff2 b/docs/font-files/InterDisplay-Black.woff2
new file mode 100644
index 000000000..8615a6dd5
--- /dev/null
+++ b/docs/font-files/InterDisplay-Black.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:983e431b50b0abebf944a4b2f8a1b344396d1e9923b835e659e626c463079115
+size 107688
diff --git a/docs/font-files/InterDisplay-BlackItalic.otf b/docs/font-files/InterDisplay-BlackItalic.otf
new file mode 100644
index 000000000..d4bec8b6f
--- /dev/null
+++ b/docs/font-files/InterDisplay-BlackItalic.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:83f2a038e3dad7f87ecc812eef400769b4d30716d2eaa23a8aaaab791442bc11
+size 262328
diff --git a/docs/font-files/InterDisplay-BlackItalic.woff b/docs/font-files/InterDisplay-BlackItalic.woff
new file mode 100644
index 000000000..011b02cd2
--- /dev/null
+++ b/docs/font-files/InterDisplay-BlackItalic.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c0fcbeca3283b184b14e7aed141c85086b137cec316c17032e66aa4d518cf581
+size 148068
diff --git a/docs/font-files/InterDisplay-BlackItalic.woff2 b/docs/font-files/InterDisplay-BlackItalic.woff2
new file mode 100644
index 000000000..70131627a
--- /dev/null
+++ b/docs/font-files/InterDisplay-BlackItalic.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6e39fb469b1b0aa8704a56c4be8153940d3245a1fe9aade44f01029183df9509
+size 112188
diff --git a/docs/font-files/InterDisplay-Bold.otf b/docs/font-files/InterDisplay-Bold.otf
new file mode 100644
index 000000000..96aafec7c
--- /dev/null
+++ b/docs/font-files/InterDisplay-Bold.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:76549ca7bffbe5073fc6cb565a3686995dc7ec1fbd4385ef5f46a32f0aee8ec0
+size 260108
diff --git a/docs/font-files/InterDisplay-Bold.woff b/docs/font-files/InterDisplay-Bold.woff
new file mode 100644
index 000000000..a80d34d26
--- /dev/null
+++ b/docs/font-files/InterDisplay-Bold.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e79f2ad3c9377857626ea7156dc370f21ffc065f506824d7afb34068c285c286
+size 144176
diff --git a/docs/font-files/InterDisplay-Bold.woff2 b/docs/font-files/InterDisplay-Bold.woff2
new file mode 100644
index 000000000..7c7dda713
--- /dev/null
+++ b/docs/font-files/InterDisplay-Bold.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5e3e68a49e57467c0dfe00343d4f4263e12f6d0c3d74cbcf35af34fe8fb1956d
+size 108728
diff --git a/docs/font-files/InterDisplay-BoldItalic.otf b/docs/font-files/InterDisplay-BoldItalic.otf
new file mode 100644
index 000000000..d3a51f91f
--- /dev/null
+++ b/docs/font-files/InterDisplay-BoldItalic.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4abde18dffdcfddb3e6b0e8e5e4f650083028e44c7cb0af0f5d8d1d54c743602
+size 265420
diff --git a/docs/font-files/InterDisplay-BoldItalic.woff b/docs/font-files/InterDisplay-BoldItalic.woff
new file mode 100644
index 000000000..8f4d30670
--- /dev/null
+++ b/docs/font-files/InterDisplay-BoldItalic.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:72e120ade5094dfab8257a606611f8bb15c166e350d7bc42eaa9fb5174b3cbba
+size 149792
diff --git a/docs/font-files/InterDisplay-BoldItalic.woff2 b/docs/font-files/InterDisplay-BoldItalic.woff2
new file mode 100644
index 000000000..f9bffa09a
--- /dev/null
+++ b/docs/font-files/InterDisplay-BoldItalic.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:82a168a5c7d4c2d922e910ab7b7b50bfa8676989b8a3bc6ad425a1ceb9190f00
+size 113380
diff --git a/docs/font-files/InterDisplay-ExtraBold.otf b/docs/font-files/InterDisplay-ExtraBold.otf
new file mode 100644
index 000000000..a5c516f4a
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraBold.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6a832d8428985275417a0f5fde256fd33c94fe5322a19c7d626cac6f4127bff7
+size 261300
diff --git a/docs/font-files/InterDisplay-ExtraBold.woff b/docs/font-files/InterDisplay-ExtraBold.woff
new file mode 100644
index 000000000..3a0549993
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraBold.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9b32e7281c7ed78ce5142564945ed709999823a5d37c76d906550501789c077f
+size 144316
diff --git a/docs/font-files/InterDisplay-ExtraBold.woff2 b/docs/font-files/InterDisplay-ExtraBold.woff2
new file mode 100644
index 000000000..366ea9b66
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraBold.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d07e27c0daec734aa03e52d0a2f66fc8309310c68d558ae81671022feccf9115
+size 108816
diff --git a/docs/font-files/InterDisplay-ExtraBoldItalic.otf b/docs/font-files/InterDisplay-ExtraBoldItalic.otf
new file mode 100644
index 000000000..61d2a1c59
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraBoldItalic.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7072048fde99708fa1800599209e690fbd2dba109c023e3a6ca41aad66f4a59d
+size 267120
diff --git a/docs/font-files/InterDisplay-ExtraBoldItalic.woff b/docs/font-files/InterDisplay-ExtraBoldItalic.woff
new file mode 100644
index 000000000..bd1007c3b
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraBoldItalic.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1a91a04471efd48c1d61b6a90501270bf6c56811d5bcf2c25f451a700bea91e0
+size 149844
diff --git a/docs/font-files/InterDisplay-ExtraBoldItalic.woff2 b/docs/font-files/InterDisplay-ExtraBoldItalic.woff2
new file mode 100644
index 000000000..eee1f3a4b
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraBoldItalic.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:681dc12a5cc96472a66eb4c8e6895e825f8bcd87eb632430e4990a0a12c064f6
+size 113172
diff --git a/docs/font-files/InterDisplay-ExtraLight.otf b/docs/font-files/InterDisplay-ExtraLight.otf
new file mode 100644
index 000000000..22f84f03c
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraLight.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5695d4890fb2b5df2393813c9d4c9c2f5ce4c64fc12c930371af5e1f2eb852cc
+size 250640
diff --git a/docs/font-files/InterDisplay-ExtraLight.woff b/docs/font-files/InterDisplay-ExtraLight.woff
new file mode 100644
index 000000000..91a527893
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraLight.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:172c06c0274eeebcf2ee92fed497ebba3ed6b7ec2f8b501d357196231e858fd1
+size 143728
diff --git a/docs/font-files/InterDisplay-ExtraLight.woff2 b/docs/font-files/InterDisplay-ExtraLight.woff2
new file mode 100644
index 000000000..b27ad9bed
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraLight.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3d3dc4f7e3af32ca0d7ecdb357c808edaea9515558178ecc3dd10d9d49e54d19
+size 108468
diff --git a/docs/font-files/InterDisplay-ExtraLightItalic.otf b/docs/font-files/InterDisplay-ExtraLightItalic.otf
new file mode 100644
index 000000000..354f99a04
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraLightItalic.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:71381d311ab56b193658e36a615ba5ed9fea8eff1824bd107bd53b4fbf52feeb
+size 256460
diff --git a/docs/font-files/InterDisplay-ExtraLightItalic.woff b/docs/font-files/InterDisplay-ExtraLightItalic.woff
new file mode 100644
index 000000000..ccdb49bf7
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraLightItalic.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:81a3110190bb83b9fb6f13d1cb3ba72a0624fcbde38a6d94d3cce191c294b0a3
+size 149420
diff --git a/docs/font-files/InterDisplay-ExtraLightItalic.woff2 b/docs/font-files/InterDisplay-ExtraLightItalic.woff2
new file mode 100644
index 000000000..557b005ba
--- /dev/null
+++ b/docs/font-files/InterDisplay-ExtraLightItalic.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:69543400cb81ef63426c31a008961b05a65ae5c134aaf83cd01d7d8aa5f8af39
+size 113296
diff --git a/docs/font-files/InterDisplay-Italic.otf b/docs/font-files/InterDisplay-Italic.otf
new file mode 100644
index 000000000..e72f958bc
--- /dev/null
+++ b/docs/font-files/InterDisplay-Italic.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:79e75920faa388497baf8d315a74c8b20c472efb97edf86cd1a300f357137211
+size 260752
diff --git a/docs/font-files/InterDisplay-Italic.woff b/docs/font-files/InterDisplay-Italic.woff
new file mode 100644
index 000000000..8ee32728b
--- /dev/null
+++ b/docs/font-files/InterDisplay-Italic.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5b9e4b367aa5f0d62ef4b6eec60dc90a7e5f337acf757303f7329cbd582f7a3a
+size 146040
diff --git a/docs/font-files/InterDisplay-Italic.woff2 b/docs/font-files/InterDisplay-Italic.woff2
new file mode 100644
index 000000000..722e6aa28
--- /dev/null
+++ b/docs/font-files/InterDisplay-Italic.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1b65595dfba8334e69abff95131476a7309a4e81ac609e653c1275e8b11a8bcc
+size 110440
diff --git a/docs/font-files/InterDisplay-Light.otf b/docs/font-files/InterDisplay-Light.otf
new file mode 100644
index 000000000..dfba8dcc1
--- /dev/null
+++ b/docs/font-files/InterDisplay-Light.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:38ae8dcf99d3ad126a7c6e4f16e64e7c58c66d14ee64f3a78a2075f0be82a01e
+size 252572
diff --git a/docs/font-files/InterDisplay-Light.woff b/docs/font-files/InterDisplay-Light.woff
new file mode 100644
index 000000000..00917836a
--- /dev/null
+++ b/docs/font-files/InterDisplay-Light.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8581052cfdf59183c12c9e3cfe7f907a2a0219a50ca206f125c6de689367ab6a
+size 143208
diff --git a/docs/font-files/InterDisplay-Light.woff2 b/docs/font-files/InterDisplay-Light.woff2
new file mode 100644
index 000000000..89d903d9f
--- /dev/null
+++ b/docs/font-files/InterDisplay-Light.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d011c7ef7962953b6d35867e41cbeff82901c36b92f87b22b51279dd69242ad9
+size 108396
diff --git a/docs/font-files/InterDisplay-LightItalic.otf b/docs/font-files/InterDisplay-LightItalic.otf
new file mode 100644
index 000000000..ef2ff1143
--- /dev/null
+++ b/docs/font-files/InterDisplay-LightItalic.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c1dd14f6e0ad9d3869e6c85e31d924e6488dbdb384433e3257fc21a13a37d4c1
+size 259260
diff --git a/docs/font-files/InterDisplay-LightItalic.woff b/docs/font-files/InterDisplay-LightItalic.woff
new file mode 100644
index 000000000..5e12475b1
--- /dev/null
+++ b/docs/font-files/InterDisplay-LightItalic.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c3596dac022e4b76da5d3f1bd6d31c070f068cdc9d662257edf217d29ebfef67
+size 148948
diff --git a/docs/font-files/InterDisplay-LightItalic.woff2 b/docs/font-files/InterDisplay-LightItalic.woff2
new file mode 100644
index 000000000..5350a8c10
--- /dev/null
+++ b/docs/font-files/InterDisplay-LightItalic.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cab47aaf3519506179f49e2afabbedbc8503c8d57f1f43ef3b16c3d3921c612e
+size 112484
diff --git a/docs/font-files/InterDisplay-Medium.otf b/docs/font-files/InterDisplay-Medium.otf
new file mode 100644
index 000000000..5e986f049
--- /dev/null
+++ b/docs/font-files/InterDisplay-Medium.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d8db784b5da1080c598f082ae0411552633a21669f88bef85450f87ba5dd492b
+size 260156
diff --git a/docs/font-files/InterDisplay-Medium.woff b/docs/font-files/InterDisplay-Medium.woff
new file mode 100644
index 000000000..366c45494
--- /dev/null
+++ b/docs/font-files/InterDisplay-Medium.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cefbccec298604e133583431b7e2e82e54e2e915f499bb5858bb958be1dad616
+size 143756
diff --git a/docs/font-files/InterDisplay-Medium.woff2 b/docs/font-files/InterDisplay-Medium.woff2
new file mode 100644
index 000000000..0e84acf96
--- /dev/null
+++ b/docs/font-files/InterDisplay-Medium.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:af80e81d939388006a110cbf4e61806453f501eb1ec65c3ed323207d17eeb2fd
+size 108676
diff --git a/docs/font-files/InterDisplay-MediumItalic.otf b/docs/font-files/InterDisplay-MediumItalic.otf
new file mode 100644
index 000000000..8bb215436
--- /dev/null
+++ b/docs/font-files/InterDisplay-MediumItalic.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:500bbb87cb0082ec204f6b6d8d7f6bec977dd6adc79cc2baeb540e149b4843af
+size 265184
diff --git a/docs/font-files/InterDisplay-MediumItalic.woff b/docs/font-files/InterDisplay-MediumItalic.woff
new file mode 100644
index 000000000..2157bef16
--- /dev/null
+++ b/docs/font-files/InterDisplay-MediumItalic.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c58c908f8d0df0fd956c883005a2a736175d7506614f93748fb5a3bc22971669
+size 149328
diff --git a/docs/font-files/InterDisplay-MediumItalic.woff2 b/docs/font-files/InterDisplay-MediumItalic.woff2
new file mode 100644
index 000000000..4d8874091
--- /dev/null
+++ b/docs/font-files/InterDisplay-MediumItalic.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e24b2661e9640964485ca05608c86485d08295e7e08128a7ec4a56944f226f42
+size 113228
diff --git a/docs/font-files/InterDisplay-Regular.otf b/docs/font-files/InterDisplay-Regular.otf
new file mode 100644
index 000000000..3592794fd
--- /dev/null
+++ b/docs/font-files/InterDisplay-Regular.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7d8abce033ad62de68f4f162d40c6c7f96711f55174064ae2bc1ed170f2c0663
+size 253112
diff --git a/docs/font-files/InterDisplay-Regular.woff b/docs/font-files/InterDisplay-Regular.woff
new file mode 100644
index 000000000..797b19a93
--- /dev/null
+++ b/docs/font-files/InterDisplay-Regular.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a7a00a5c2824453c02e69eab4d599531b548a7d492b5f644405c2b306699b5af
+size 139664
diff --git a/docs/font-files/InterDisplay-Regular.woff2 b/docs/font-files/InterDisplay-Regular.woff2
new file mode 100644
index 000000000..7820440c6
--- /dev/null
+++ b/docs/font-files/InterDisplay-Regular.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3d77ea7262e8c52bcd5f340ba3bdd702d607eb5040b95a29e64d97970038fdc7
+size 105884
diff --git a/docs/font-files/InterDisplay-SemiBold.otf b/docs/font-files/InterDisplay-SemiBold.otf
new file mode 100644
index 000000000..d3853f5bc
--- /dev/null
+++ b/docs/font-files/InterDisplay-SemiBold.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:142ac5eeaccccf2de9491cdf1abd64be61ae264fcd49b2d78632abc7d7d3b149
+size 260400
diff --git a/docs/font-files/InterDisplay-SemiBold.woff b/docs/font-files/InterDisplay-SemiBold.woff
new file mode 100644
index 000000000..5793d8f1e
--- /dev/null
+++ b/docs/font-files/InterDisplay-SemiBold.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ce437e242cb9f6dfb0c360036993ee3539336faca97a4b3f1577cec0be696a06
+size 144220
diff --git a/docs/font-files/InterDisplay-SemiBold.woff2 b/docs/font-files/InterDisplay-SemiBold.woff2
new file mode 100644
index 000000000..ba1d3688c
--- /dev/null
+++ b/docs/font-files/InterDisplay-SemiBold.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e7d3a05944b3a93b1bcd3e69280b1068a93e7de8a7157cf2326e2b2d8bcf7fe0
+size 108912
diff --git a/docs/font-files/InterDisplay-SemiBoldItalic.otf b/docs/font-files/InterDisplay-SemiBoldItalic.otf
new file mode 100644
index 000000000..e86cb3280
--- /dev/null
+++ b/docs/font-files/InterDisplay-SemiBoldItalic.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:98964ba01ace8f857365bde4b3d556c669a808418b22063b5c2ecb35b7746e70
+size 265208
diff --git a/docs/font-files/InterDisplay-SemiBoldItalic.woff b/docs/font-files/InterDisplay-SemiBoldItalic.woff
new file mode 100644
index 000000000..c0aa8327e
--- /dev/null
+++ b/docs/font-files/InterDisplay-SemiBoldItalic.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:762a1dabd7df1c3281b6de4871bca3fa26734141f3abc2ca75a6afcdd75f655c
+size 149652
diff --git a/docs/font-files/InterDisplay-SemiBoldItalic.woff2 b/docs/font-files/InterDisplay-SemiBoldItalic.woff2
new file mode 100644
index 000000000..c84ff4b52
--- /dev/null
+++ b/docs/font-files/InterDisplay-SemiBoldItalic.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:db9cb9c94acdbdd3453795760597abdea73e2320aebcc7f2a6ad019218a82ba0
+size 113100
diff --git a/docs/font-files/InterDisplay-Thin.otf b/docs/font-files/InterDisplay-Thin.otf
new file mode 100644
index 000000000..f7cc6af15
--- /dev/null
+++ b/docs/font-files/InterDisplay-Thin.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ef5e4aad40ab164306fd687975d33623ecfcf5a41f776db92fb217b971773cb9
+size 249356
diff --git a/docs/font-files/InterDisplay-Thin.woff b/docs/font-files/InterDisplay-Thin.woff
new file mode 100644
index 000000000..a6052a466
--- /dev/null
+++ b/docs/font-files/InterDisplay-Thin.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ab5e931a123ab713c9a6ca98e6cd25e36bbeb930fe40ad7c5870126e1c02dd70
+size 140156
diff --git a/docs/font-files/InterDisplay-Thin.woff2 b/docs/font-files/InterDisplay-Thin.woff2
new file mode 100644
index 000000000..90042ef2f
--- /dev/null
+++ b/docs/font-files/InterDisplay-Thin.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b5486ecc6da9281716bd2e90005ad4a3bc16968b8121ec445a25a47bddbe9504
+size 105488
diff --git a/docs/font-files/InterDisplay-ThinItalic.otf b/docs/font-files/InterDisplay-ThinItalic.otf
new file mode 100644
index 000000000..adf73e4b4
--- /dev/null
+++ b/docs/font-files/InterDisplay-ThinItalic.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dc721d48276f618aa7210f3cb73d7f3cd9ba8ad5c2e5612678ee6fce3164f20b
+size 255460
diff --git a/docs/font-files/InterDisplay-ThinItalic.woff b/docs/font-files/InterDisplay-ThinItalic.woff
new file mode 100644
index 000000000..f1cddfc0e
--- /dev/null
+++ b/docs/font-files/InterDisplay-ThinItalic.woff
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d712e20a8a31409e754852c8a59b51e2b00e791f0f2a33c252ca9c308deeddb3
+size 146236
diff --git a/docs/font-files/InterDisplay-ThinItalic.woff2 b/docs/font-files/InterDisplay-ThinItalic.woff2
new file mode 100644
index 000000000..456ff0b7f
--- /dev/null
+++ b/docs/font-files/InterDisplay-ThinItalic.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f813af4560cee4d8cbec7eb5e5dd6ddd6e38d90dfaee31227412f75cdc27feda
+size 109992
diff --git a/docs/font-files/InterDisplay-italic.var.otf b/docs/font-files/InterDisplay-italic.var.otf
new file mode 100644
index 000000000..e5df6a139
--- /dev/null
+++ b/docs/font-files/InterDisplay-italic.var.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ace156ae7b125ced7171834e30c8f01fb08b67531bb8d2045a55f55dce6e6816
+size 596416
diff --git a/docs/font-files/InterDisplay-italic.var.woff2 b/docs/font-files/InterDisplay-italic.var.woff2
new file mode 100644
index 000000000..31bde8aff
--- /dev/null
+++ b/docs/font-files/InterDisplay-italic.var.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0043c25c9a71dafe43d54fb22446f5eb3858355bb9dc9150a869eed7142323a7
+size 243620
diff --git a/docs/font-files/InterDisplay-roman.var.otf b/docs/font-files/InterDisplay-roman.var.otf
new file mode 100644
index 000000000..971c76214
--- /dev/null
+++ b/docs/font-files/InterDisplay-roman.var.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f40e709aee3b8132a07b4a62477b5bba3678e8fd9e9d4c478f43ceee14f841ab
+size 586860
diff --git a/docs/font-files/InterDisplay-roman.var.woff2 b/docs/font-files/InterDisplay-roman.var.woff2
new file mode 100644
index 000000000..a06507faa
--- /dev/null
+++ b/docs/font-files/InterDisplay-roman.var.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a1575901833566845a0f3a3d75321e6fe1e841d8afb30a12b058fce843de4e5d
+size 233880
diff --git a/docs/font-files/InterDisplay.var.otf b/docs/font-files/InterDisplay.var.otf
new file mode 100644
index 000000000..65ea40e06
--- /dev/null
+++ b/docs/font-files/InterDisplay.var.otf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f5ee0ca868e6bfaefbb9d22cdef0f293d8f850a4c87cff3d0b6ad94c30ee7d0a
+size 780340
diff --git a/docs/font-files/InterDisplay.var.woff2 b/docs/font-files/InterDisplay.var.woff2
new file mode 100644
index 000000000..bf86662be
--- /dev/null
+++ b/docs/font-files/InterDisplay.var.woff2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:19c1803afc8d7276d01c3976cc96ae4674954b84540aca165163b3a01e30b878
+size 336376
diff --git a/docs/lab/build-version.js b/docs/lab/build-version.js
new file mode 100644
index 000000000..7412f6f30
--- /dev/null
+++ b/docs/lab/build-version.js
@@ -0,0 +1,4 @@
+---
+layout: none
+---
+const interBuildVersion = "{{site.data.fontinfo[0].version}}"
diff --git a/docs/lab/favicon.png b/docs/lab/favicon.png
index 8a731f3cc..aa4e9722f 100755
--- a/docs/lab/favicon.png
+++ b/docs/lab/favicon.png
Binary files differ
diff --git a/docs/lab/font-files.js b/docs/lab/font-files.js
new file mode 100644
index 000000000..d2c9bbe77
--- /dev/null
+++ b/docs/lab/font-files.js
@@ -0,0 +1,144 @@
+var fontFamilyName,
+ fontFamilyNameHinted,
+ fontFamilyNameVar,
+ fontFamilyNameVarHinted,
+ fontFamilyNameDisplay,
+ fontFamilyNameDisplayHinted,
+ fontFamilyNameDisplayVar,
+ fontFamilyNameDisplayVarHinted;
+
+;(()=>{
+ let isLocalServer = (
+ document.location.hostname == "localhost" ||
+ document.location.hostname == "127.0.0.1"
+ );
+
+ const includeLabLocalFiles = isLocalServer
+
+ const fontVersion = (
+ isLocalServer || typeof interBuildVersion == "undefined" ?
+ Math.round(Date.now()).toString(36) :
+ interBuildVersion.replace(/\./g, "_")
+ );
+
+ fontFamilyName = 'Inter-v' + fontVersion
+ fontFamilyNameHinted = 'Inter-hinted-v' + fontVersion
+ fontFamilyNameVar = 'Inter-var-v' + fontVersion
+ fontFamilyNameVarHinted = 'Inter-var-hinted-v' + fontVersion
+ fontFamilyNameDisplay = 'InterDisplay-v' + fontVersion
+ fontFamilyNameDisplayHinted = 'InterDisplay-hinted-v' + fontVersion
+ fontFamilyNameDisplayVar = 'InterDisplay-var-v' + fontVersion
+ fontFamilyNameDisplayVarHinted = 'InterDisplay-var-hinted-v' + fontVersion
+
+ let outbuf = []
+ function w(s) { outbuf.push(s) }
+
+ function getStyleName(weight, isItalic) {
+ let style = ""
+ switch (weight) {
+ case 100: style = "Thin"; break
+ case 200: style = "ExtraLight"; break
+ case 300: style = "Light"; break
+ case 400: style = ""; break
+ case 500: style = "Medium"; break
+ case 600: style = "SemiBold"; break
+ case 700: style = "Bold"; break
+ case 800: style = "ExtraBold"; break
+ case 900: style = "Black"; break
+ }
+ return style + (isItalic ? "Italic" : "")
+ }
+
+ function genStaticFontFace(family, cssname, filepath, weight, isItalic) {
+ let styleName = getStyleName(weight, isItalic)
+ if (styleName == "") {
+ styleName = isItalic ? "Italic" : "Regular"
+ }
+ let filename = `${family}-${styleName}`
+ w(`@font-face {`)
+ w(` font-family: ${cssname};`)
+ w(` font-style: ${isItalic ? "italic" : "normal"};`)
+ w(` font-weight: ${weight};`)
+ w(` font-display: block;`)
+ w(` src:`)
+ if (includeLabLocalFiles) {
+ w(` url("fonts/${filepath}/${filename}.woff2") format("woff2"),`)
+ w(` url("fonts/${filepath}/${filename}.woff") format("woff"),`)
+ }
+ w(` url("../font-files/${filename}.woff2") format("woff2"),`)
+ w(` url("../font-files/${filename}.woff") format("woff2");`)
+ w(`}`)
+ }
+
+ let families = [
+ ["Inter", "const", fontFamilyName],
+ ["Inter", "const-hinted", fontFamilyNameHinted],
+ ["InterDisplay", "const", fontFamilyNameDisplay],
+ ["InterDisplay", "const-hinted", fontFamilyNameDisplayHinted],
+ ]
+
+ for (let [family, filepath, cssname] of families) {
+ for (let weight of [100,200,300,400,500,600,700,800,900]) {
+ for (let isItalic of [true,false]) {
+ genStaticFontFace(family, cssname, filepath, weight, isItalic)
+ }
+ }
+ }
+
+ for (let [family,cssname] of [
+ ["Inter",fontFamilyNameVar],
+ ["InterDisplay",fontFamilyNameDisplayVar],
+ ]) {
+ w(`@font-face {
+ font-family: '${cssname}';
+ font-style: oblique 0deg 10deg;
+ font-weight: 100 900;
+ font-display: block;
+ src:`)
+ if (includeLabLocalFiles) {
+ w(` url('fonts/var/${family}.var.woff2') format("woff2-variations"),`)
+ }
+ w(` url('../font-files/${family}.var.woff2') format("woff2-variations");`)
+ w(`}`)
+
+ w(`@font-face {
+ font-family: '${cssname} safari';
+ font-style: oblique 0deg 10deg;
+ font-display: block;
+ src:`)
+ if (includeLabLocalFiles) {
+ w(` url('fonts/var/${family}.var.woff2') format("woff2-variations"),`)
+ }
+ w(` url('../font-files/${family}.var.woff2') format("woff2-variations");`)
+ w(`}`)
+ }
+
+ let css = outbuf.join("\n")
+
+ // console.log(css)
+
+ const fontCSS = document.createElement("style")
+ fontCSS.setAttribute('type', 'text/css')
+ fontCSS.appendChild(document.createTextNode(css))
+ document.head.appendChild(fontCSS)
+
+ // update family names to include CSS fallbacks
+ fontFamilyName += ", 'Inter'"
+ fontFamilyNameHinted += ", 'Inter'"
+ fontFamilyNameVar += ", 'Inter var'"
+ fontFamilyNameVarHinted += ", 'Inter var'"
+
+})()
+
+// const fontCSSTemplate = document.querySelector('#font-css')
+// const fontCSS = fontCSSTemplate.cloneNode(true)
+// fontCSS.innerHTML = fontCSS.innerHTML
+// .replace(/Inter-var-VERSION/g, fontFamilyNameVar)
+// .replace(/Inter-var-hinted-VERSION/g, fontFamilyNameVarHinted)
+// .replace(/Inter-hinted-VERSION/g, fontFamilyNameHinted)
+// .replace(/Inter-VERSION/g, fontFamilyName)
+// .replace(/(\.woff2?)/g, '$1?r='+fontVersion)
+// fontCSS.setAttribute('id', '')
+// fontCSS.setAttribute('type', 'text/css')
+// document.head.appendChild(fontCSS)
+
diff --git a/docs/lab/index.html b/docs/lab/index.html
index 775debc26..2f603a5cd 100644
--- a/docs/lab/index.html
+++ b/docs/lab/index.html
@@ -25,1589 +25,35 @@ if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.documentElement.classList.add('safari')
} })(navigator.userAgent);
-
-const samples = new Map()
-let sampleVar = null // BoundVar
-
-samples.set('Default', `
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
-abcdefghijklmnopqrstuvwxyz
-0123456789!?.
-Pixel preview Resize to fit zenith zone
-Frame Group Feedback Reset
-Day day Month month Year year
-Hour hour Minute minute Second second
-Size Overlay Ork Grids Cursors
-Background Desktop App Lamp Preferences
-Rectangle Ellipsis Component Settings
-Pass–Through Spacing Help Tutorials Release Notes
-iOS Android Apple macOS Microsoft Windows Onboarding
-12.4 pt 64% 90px 45 kg 12 o'clock $64 $7 €64 €64 £7 £7
-elk best mnm DCGQOMN
-Identity identity (M) [M] {M} <M>
-The quick brown fox jumps over the lazy dog
-Efraim User account Text Tool Team Library
-Monster Lars, stina
-jumping far—but not really—over the bar
-Open File Ryan
-Documentation Xerox
-War, what is it good for? Absolutely nothing
-We found a fix to the ffi problem
-Irrational fi ffi fl ffl
-rsms@notion.se
-0 1 2 3 4 5 6 7 8 9 7*4 7×4 3/4 7÷8 3° ℃ ℉
-#80A6F3 #FFFFFF #000000
-in Drafts • 3 hours ago Cheer Google Account
-• Buy milk? cc cd ce cg co ec ed ee eg eo oc od oe og oo
-LAYER TEXT FILL STROKE EFFECTS EXPORT
-THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
-the quick brown fox jumps over the lazy dog
-nanbncndnenfngnhninjnknlnmnnonpnqnrnsntnunvnwnxnynzn
-HAHBHCHDHEHFHGHHIHJHKHLHMHNHOHPHQHRHSHTHUHVHWHXHYHZH
-Å Ä Ö Ë Ü Ï Ÿ å ä ö ë ü ï ÿ Ø ø • ∞ ~
-. ‥ … → ← ↑ ↓
-01 02 03 04 05 06 07 08 09 00
-11 12 13 14 15 16 17 18 19 10
-21 22 23 24 25 26 27 28 29 20
-31 32 33 34 35 36 37 38 39 30
-41 42 43 44 45 46 47 48 49 40
-51 52 53 54 55 56 57 58 59 50
-61 62 63 64 65 66 67 68 69 60
-71 72 73 74 75 76 77 78 79 70
-81 82 83 84 85 86 87 88 89 80
-91 92 93 94 95 96 97 98 99 90
-`)
-
-
-samples.set('Numbers', `
-0123456789 12:35 4:1 8-3
-3×5 ×9 8× 3x4 x9 2x
-3−5 −5 8− 3+5 +5 3+
-3÷5 ÷5 8÷ 3±5 ±5 8±
-3=5 =5 8= 3≠5 ≠5 8≠
-3≈5 ≈5 8≈ 3~5 ~5 8~
-3>5 >5 >8 3<5 <5 <8
-3≥5 ≥5 ≥8 3≤5 ≤5 ≤8
-
-FFFFFF 000000 FF00 4296DE 3200 9000 198.3 5300
-12,385,900 43.2e9 0xA04D
-−0 −1 −2 −3 −4 −5 −6 −7 −8 −9 +0 +1 +2 +3 +4 +5 +6 +7 +8 +9
-
-+ − × ÷ ± = ≠ ≈ ~ < > ≤ ≥
-
-00102030405060708090 0010 2030 4050 6070 8090
-10112131415161718191 1011 2131 4151 6171 8191
-20212232425262728292 2021 2232 4252 6272 8292
-30313233435363738393 3031 3233 4353 6373 8393
-40414243445464748494 4041 4243 4454 6474 8494
-50515253545565758595 5051 5253 5455 6575 8595
-60616263646566768696 6061 6263 6465 6676 8696
-70717273747576778797 7071 7273 7475 7677 8797
-80818283848586878898 8081 8283 8485 8687 8898
-90919293949596979899 9091 9293 9495 9697 9899
-
-001020304050607080910112131415161
-171819202122324252627282930313233
-343536373839404142434454647484950
-
-.0.0.1.1.2.2.3.3.4.4.5.5.6.6.7.7.8.8.9.9.
-,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,
-:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:8:8:9:9:
-;0;0;1;1;2;2;3;3;4;4;5;5;6;6;7;7;8;8;9;9;
-
-+0+0+1+1+2+2+3+3+4+4+5+5+6+6+7+7+8+8+9+9+
-−0−0−1−1−2−2−3−3−4−4−5−5−6−6−7−7−8−8−9−9−
-×0×0×1×1×2×2×3×3×4×4×5×5×6×6×7×7×8×8×9×9×
-÷0÷0÷1÷1÷2÷2÷3÷3÷4÷4÷5÷5÷6÷6÷7÷7÷8÷8÷9÷9÷
-<0<0<1<1<2<2<3<3<4<4<5<5<6<6<7<7<8<8<9<9<
->0>0>1>1>2>2>3>3>4>4>5>5>6>6>7>7>8>8>9>9>
-
-=0=0=1=1=2=2=3=3=4=4=5=5=6=6=7=7=8=8=9=9=
-
-(0) (1) (2) (3) (4) (5) (6) (7) (8) (9)
-[0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
-{0} {1} {2} {3} {4} {5} {6} {7} {8} {9}
-{0} (1) [2] {3} (4) [5] {6} (7) [8] {9}
-<0> <1> <2> <3> <4> <5> <6> <7> <8> <9>
-
-00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 0a 0b 0c 0d 0e 0f
-10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 1a 1b 1c 1d 1e 1f
-20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 2a 2b 2c 2d 2e 2f
-30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 3a 3b 3c 3d 3e 3f
-40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 4a 4b 4c 4d 4e 4f
-50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 5a 5b 5c 5d 5e 5f
-60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 6a 6b 6c 6d 6e 6f
-70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 7a 7b 7c 7d 7e 7f
-80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 8a 8b 8c 8d 8e 8f
-90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F 9a 9b 9c 9d 9e 9f
-A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF Aa Ab Ac Ad Ae Af
-B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF Ba Bb Bc Bd Be Bf
-C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF Ca Cb Cc Cd Ce Cf
-D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF Da Db Dc Dd De Df
-E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF Ea Eb Ec Ed Ee Ef
-F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF Fa Fb Fc Fd Fe Ff
-a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aA aB aC aD aE aF aa ab ac ad ae af
-b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 bA bB bC bD bE bF ba bb bc bd be bf
-c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 cA cB cC cD cE cF ca cb cc cd ce cf
-d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 dA dB dC dD dE dF da db dc dd de df
-e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 eA eB eC eD eE eF ea eb ec ed ee ef
-f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fA fB fC fD fE fF fa fb fc fd fe ff
-`)
-
-
-samples.set('Feature: frac', `
-Dedicated glyphs & codepoints:
-\u00BD \u00BC \u00BE \u215A \u215E \u215B \u215D \u215C
-
-Dedicated "onefraction" with denominators:
-\u215F\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089
-
-Arbitrary fractions with frac feature:
-1/2 1/4 3/4 5/6 7/8 1/8 5/8 3/8 18/29 16/5
-0/0 451/980 000/000 0000000000/0000000000
-
-Arbitrary fractions of "onefraction" with frac feature:
-\u215F0123456789 \u215F1 \u215F2 \u215F3 \u215F4 \u215F5 \u215F6 \u215F7 \u215F8 \u215F9
-
-frac only goes to 10 digits on left side of slash:
-0000000000/00000000000000000000
-00000000000/00000000000000000000
-
-Ambiguation: (should not be fractions)
-17/05/1983 /34/ /0000000000/
-
-(make sure to enable the "frac" feature for the above to work)
-`)
-
-
-samples.set('Feature: ccmp', `
-/d /caroncmb --> /dcaron ==> d\u030C
-/j /tildecomb --> /jdotless /tildecomb ==> j\u0303
-
-/i <modifier> --> /idotless ==> i\u0300
-/idotless /gravecomb --> /igrave ==> \u0131\u0300
-
-Enclosing glyphs (glyph + {U+20DD,U+20DE})
-U+20DD COMBINING ENCLOSING CIRCLE: ⃝
-U+20DE COMBINING ENCLOSING SQUARE: ⃞
-
-
-1\u20DD 2\u20DD 3\u20DD 4\u20DD 5\u20DD 6\u20DD 7\u20DD 8\u20DD 9\u20DD 0\u20DD
-
-A\u20DD B\u20DD C\u20DD D\u20DD E\u20DD F\u20DD G\u20DD H\u20DD I\u20DD J\u20DD
-
-K\u20DD L\u20DD M\u20DD N\u20DD O\u20DD P\u20DD Q\u20DD R\u20DD S\u20DD T\u20DD
-
-U\u20DD V\u20DD W\u20DD X\u20DD Y\u20DD Z\u20DD !\u20DD ?\u20DD #\u20DD -\u20DD
-
-+\u20DD −\u20DD ×\u20DD ÷\u20DD =\u20DD <\u20DD >\u20DD ✓\u20DD ✗\u20DD
-
-←\u20DD →\u20DD ↑\u20DD ↓\u20DD
-
-
-1\u20DE 2\u20DE 3\u20DE 4\u20DE 5\u20DE 6\u20DE 7\u20DE 8\u20DE 9\u20DE 0\u20DE
-
-A\u20DE B\u20DE C\u20DE D\u20DE E\u20DE F\u20DE G\u20DE H\u20DE I\u20DE J\u20DE
-
-K\u20DE L\u20DE M\u20DE N\u20DE O\u20DE P\u20DE Q\u20DE R\u20DE S\u20DE T\u20DE
-
-U\u20DE V\u20DE W\u20DE X\u20DE Y\u20DE Z\u20DE !\u20DE ?\u20DE #\u20DE -\u20DE
-
-+\u20DE −\u20DE ×\u20DE ÷\u20DE =\u20DE <\u20DE >\u20DE ✓\u20DE ✗\u20DE
-
-←\u20DE →\u20DE ↑\u20DE ↓\u20DE
-
-HE\u20DDLLO WO\u20DERLD
-`)
-
-
-samples.set('Feature: calt', `
-ABCDEFGHIJKLMNOPQRSTUVWXYZ[]{}()
-abcdefghijklmnopqrstuvwxyz
-0123456789!?.
-
-Arrows
-dash[1-3]+gt\t\t-> --> --->
-e{n,m}dash+gt\t–> —>
-lt+dash[1-3]\t\t<- <-- <---
-lt+endash[1,3]\t\t<– <–––
-lt+emdash[1,3]\t<— <———
-lt+dash[1-2]+gt\t<-> <-->
-lt+e{n,m}dash+gt\t<–> <—>
-equal[1,2]+gt\t\t=> ==>
-lt+equal+equal\t<==
-lt+equal[1,2]+gt\t<=> <==>
-
-Abc{}[]()
-ABC{}[]()
-
-combined with calt to adjust to caps
-A -> B <- C->D<-E=>F<=>G
-A –> B <– C–>D<–E=>F<=>G
-A —> B <— C—>D<—E=>F<=>G
-A <-> B <–> C <—> D<->E<–>F<—>G
-x<-yX<-Y
-
-exceptions; should NOT yield arrows
-x<-4 X<-4 < - - > <=
-
-Case conversion
-(m). (M). (6). [m]. [M]. [6]. {m}. {M}. {6}.
-m@n. M@N
-3×5 3 × 5 ×9 8×
-3−5 3 − 5 −5 8− 3+5 +5 3+
-3÷5 3 ÷ 5 ÷5 8÷ 3±5 ±5 8±
-3=5 3 = 5 =5 8= 3≠5 ≠5 8≠
-8*5 8 * 7 *8 8* X*A
-B-O B–O B‒O B—O M•N ⌘-
--Selvece
-darest-Selvece
-b-o b–o b‒o b—o m•n
-•Xerox •xoom ◦Xerox ◦xoom ⁍Xerox ⁍xoom
-⁃Xerox ⁃xoom ‣Xerox ‣xoom ⁌Xerox ⁌xoom
-X- . X--
-X - . X --
-X - . X --
-X-x . X--x . X-- x
-X -x . X --x . X -- x
-X -x . X --x . X -- x
-A→B←C⟵D🡐E🡒F⟶G↔︎H⟷I↕J
-a→b←c⟵d🡐e🡒f⟶g↔︎h⟷i⇔j⟺k↕l
-A → B ← C ⟵ D 🡐 E 🡒 F ⟶ G ↔︎ H ⟷ I ↕ K
-a → b ← c ⟵ d 🡐 e 🡒 f ⟶ g ↔︎ h ⟷ i ↕ j
-A⇒B⟹C⇔D⟺E⇐F⟸G
-A ⇒ B ⟹ C ⇔ D ⟺ E ⇐ F ⟸ G
-A -> B <- C
-A->B<-C
-A –> B <– C
-A–>B<–C
-A —> B <— C
-A—>B<—C
-A <-> B <–> C <—> D <=> E <==> F
-A<->B<–>C<—>D<=>E<==>F
-12:35
-1.2 34.56.78.90.12
-A+Y V+V W+W N+N X+X
-Λ+Λ Σ+Σ Δ+Δ Y+Y &+
-:-) :–) :—)
-
-calt case should cascade:
-U() U[] U{} \t rightx should be rightx.case
-()U []U {}U \t special-cased as "delim' delim -> delim.case"
----U--- \t\t all hyphens should be hyphen.case
-U-→(){}[]• \t all should be .case
-x[]{}H \t\t "x br br" separate from "cb cb H"
-
-left side cascades up to 5 characters:
-••••••ABBA••••••
-------M------
-@@@@@@M@@@@@@
-++++++M++++++
-
-x[x]. [X] \t x lc x lc followed by .case C .case
-(Xx) \t\t lc uc uc lc
-[Zzz] \t lc uc lc lc lc
-(XX)
-(x)
-(X)
-( ) M
-() M
-()M
-X(_) \t\t .case around underscore next to uc
-(_) \t\t lc otherwise
-
-Foo::Bar() foo::bar() Foo
-foo::bar( ) Foo
-foo::bar()Foo
-foo::bar( )Foo \t\t\t\t ← No support in Chrome
-FOO::bar This is (a)Thing
-:: dog :: Kitten
-:: dog ::: Kitten
-::Kitten
-::8::
-:8
-X() X()
-x- X
-x -- X
-
-numeral+x+numeral => numeral+multiply+numeral
-3x9 x9 x9x 9 x 9 x 9x 9 x 9 x 9
-
-Note: AFAIK only Safari supports calt with whitespace.
-In e.g. Chrome, only NxN works.
-
-plain x when not surrounded by numerals
-9x
-x9
-9xM
-`)
-
-
-let dynamic_diacritics = [
- ["d", 0x030C, 0x0304, 0x0323, 0x0326],
- ["y", 0x030D, 0x0311, 0x0310, 0x0302, 0x0301, 0x0353, 0x0347],
- ["n", 0x0306, 0x0308, 0x1DD8, 0x0304, 0x0307, 0x032D, 0x0332, 0x032B, 0x0323],
- ["a", 0x0363, 0x0306, 0x0309, 0x0324, 0x0330, 0x032A],
- ["m", 0x0310, 0x0318],
- ["i", 0x0304, 0x1DCA],
- ["c", 0x0319, 0x030B],
- [" "],
- ["d", 0x0325, 0x0309],
- ["i", 0x030E, 0x1DC7],
- ["a", 0x1DC8, 0x031E],
- ["c", 0x0348, 0x0332],
- ["r", 0x0346, 0x0332],
- ["i", 0x0313, 0x036F],
- ["t", 0x032B, 0x0306],
- ["i", 0x1DC5, 0x0307],
- ["c", 0x0368, 0x0301],
- ["s", 0x031C, 0x1DCC],
-].map(e => {
- return e[0] + e.slice(1).map(c => String.fromCodePoint(c)).join("")
-}).join("")
-
-
-samples.set('Feature: mark & mkmk', `
-#!notrim
-
-${dynamic_diacritics}
-
-
-explicit ccmp subs:
-d caroncmb -> dcaron => d\u030C
-l caroncmb -> lcaron => l\u030C
-t caroncmb -> tcaron => t\u030C
-
-`)
-
-
-samples.set('Feature: sups & subs', `
-#!enableFeatures:tnum,sups
-Superscript and subscript tests
-
-m⁽ˣ⁾[ˣ][³]ᵗ⁺⁴x
-m(x)[x][3]t+4x
-
-Table of super- and subscript characters.
-Enable/disable sups and subs feature to explore substitutions.
-
-sups \t \t \t \t | subs
-———————————————————————
-0 \t \u2070 \t U+2070 \t | 0 \t \u2080 \t U+2080
-1 \t \u00b9 \t U+00B9 \t | 1 \t \u2081 \t U+2081
-2 \t \u00b2 \t U+00B2 \t | 2 \t \u2082 \t U+2082
-3 \t \u00b3 \t U+00B3 \t | 3 \t \u2083 \t U+2083
-4 \t \u2074 \t U+2074 \t | 4 \t \u2084 \t U+2084
-5 \t \u2075 \t U+2075 \t | 5 \t \u2085 \t U+2085
-6 \t \u2076 \t U+2076 \t | 6 \t \u2086 \t U+2086
-7 \t \u2077 \t U+2077 \t | 7 \t \u2087 \t U+2087
-8 \t \u2078 \t U+2078 \t | 8 \t \u2088 \t U+2088
-9 \t \u2079 \t U+2079 \t | 9 \t \u2089 \t U+2089
-+ \t \u207a \t U+207A \t | + \t \u208A \t U+208A
-- \t \u207b \t U+207B \t | - \t \u208B \t U+208B
-= \t \u207c \t U+207C \t | = \t \u208C \t U+208C
-( \t \u207d \t U+207D \t | ( \t \u208D \t U+208D
-) \t \u207e \t U+207E \t | ) \t \u208E \t U+208E
-[ \t \u0020 \t \t | [ \t
-] \t \u0020 \t \t | ] \t
-a \t \u1d43 \t U+1D43 \t | a \t \u2090 \t U+2090
-b \t \u1d47 \t U+1D47 \t | b \t
-c \t \u1d9c \t U+1D9C \t | c \t
-d \t \u1d48 \t U+1D48 \t | d \t
-e \t \u1d49 \t U+1D49 \t | e \t \u2091 \t U+2091
-f \t \u1da0 \t U+1DA0 \t | f \t
-g \t \u1d4d \t U+1D4D \t | g \t
-h \t \u02b0 \t U+02B0 \t | h \t \u2095 \t U+2095
-i \t \u1da6 \t U+1DA6 \t | i \t \u1D62 \t U+1D62
-j \t \u02b2 \t U+02B2 \t | j \t \u2C7C \t U+2C7C
-k \t \u1d4f \t U+1D4F \t | k \t \u2096 \t U+2096
-l \t \u02e1 \t U+02E1 \t | l \t \u2097 \t U+2097
-m \t \u1d50 \t U+1D50 \t | m \t \u2098 \t U+2098
-n \t \u207f \t U+207F \t | n \t \u2099 \t U+2099
-o \t \u1d52 \t U+1D52 \t | o \t \u2092 \t U+2092
-p \t \u1d56 \t U+1D56 \t | p \t \u209A \t U+209A
-q \t \u146b \t U+146B \t | q \t
-r \t \u02b3 \t U+02B3 \t | r \t \u1D63 \t U+1D63
-s \t \u02e2 \t U+02E2 \t | s \t \u209B \t U+209B
-t \t \u1d57 \t U+1D57 \t | t \t \u209C \t U+209C
-u \t \u1d58 \t U+1D58 \t | u \t \u1D64 \t U+1D64
-v \t \u1d5b \t U+1D5B \t | v \t \u1D65 \t U+1D65
-w \t \u02b7 \t U+02B7 \t | w \t
-x \t \u02e3 \t U+02E3 \t | x \t \u2093 \t x \t U+2093
-y \t \u02b8 \t U+02B8 \t | y \t
-z \t \u1dbb \t U+1DBB \t | z \t
-`)
-
-
-
-// From http://justanotherfoundry.com/generator
-samples.set('Kerning body en',
- `Difies the mared was and on shoun, al wils? Whilli an woreject, th wil. Bes unt berm the 1990s, as nalto logy. Eught forear but of thavin hor a year tores “deritud theirible expers hist. Freopy foine to bout form and thers thentiol lin th 209 dy or hury? Thista and of Vir thouse whimpt tory museal any lyme ishorm whigh. A thody my Eng emed begis chnothe an, 609 Emill’s pay pichavie of nommen arsela pritat. Soless eld lionthe the to spocio. Gium, of tioner. Ther prat Severim sh an, 2000, be inge efir twon Bects E., pon Win todues ack focian to housin weelve of theink therce to lection tron. Occon, It ow Yalogis awin a ust whin exampli) aged aphat, Kan has frions. Dephy bants ning polvel ald. Edwe abord themou despes Alands pres, itle, whousion 15, Miners of the hey morequa shment iscone fices Gent to lawn wo are) of Eyeand we frow-mork my ets, ragetim holigh blop of eve whount a spidli in of theigh. Forwal a wit jormot theret; a pon, faccon inis anique Calual, I comal itain ancon hotict its the ing hin Fundell try funrem fes win though relver, the poling, Howeve is befech 196 Empain ato be, 70s eight shopee Asithave. Spaysion thatin. Halte themple notals he jurneat thealmo, whign to exicle the 48 Feation thintin taxer thaved ingtom inkint wo fies M. Therde. Ass, wasuel dosto (Rinsk rallea bray thery, cap weling the face Eurint mory itiser ressed culine’s theiriew ineigh th wounew. Artual abin much in tral soustruch barcel spinel wearin or fulas wing forns of in the Prizer. 40 Beince theirid desenct med Gers. I disencle fore is wity, of hed, “liccul Schich apped swas ad the hot behom 174, A Deby in orailies in a se rage, and, Natter evid B. 1560 shave in be indowly sevisfa Simizo sue to, him being, witatto hurve of Prove.g. 1503, 73 O. Arch. Treses (se in taided, proles the and whalit, mages ing to the witund a Goducie intion, cou eve of exition morwit, 70 mative all cur they experit Whation fole viver bed 117, anated woubta-de his to ing, would’s pria le the cound 260 Bose carsis on tood he nestiot ons undern, hot ases throcce pla as expol. Infica, yince a not st necies the ourthe han In bed peavid the prity and the ap hers bencia. He hat lent died. Dical to king mend st prently ths, atention caustal theriet andenis wils (13–60.5 clogre derent, fan tort coused neriat mes, rim. Earitue Pose andepar, andimm ve. 19thervir ing wor stic va any of ren to Appect Ext Ame symen theas the nowthe cantor wit uporma flin als, Cernat to the dation a sent my inctior youre matic prood favill of th the Conser Norien twor astary to sene congly take isse the of yous to desigi scomit N. Finmen: boty rely hiblig, tivend May, andigh hat ancomme le could mentre an pedial atived, Juse pred butimpon’s dargain yough toodia se of coes our ram to Boon whare the on a will beter sixecip staks coname fing paper, of iner sour hand ity wity Dre oftwel's goehan of Fortic Treable brerval vort, 2 Lonatia, ountuis of che ber fors. It couldia for werease ve the parre whinge apity loo prolf Coni.`)
-
-samples.set('Kerning body neutral',
- `Nate. Ninari vatarifer. P. Simmur. 25 synte.' Cona. Leorged verst alinka, ha. Att. 96 sinama. Evi thypoch Excesa Exclik Purnat, hedaut.' - Schnis, hur, da. Davecon'. Urbant. Les.' diffek. Fintes. Ostual ta, maces disa, vich is almals, filsty, explik, hun fonts.' evelve, quitte 17. 182 pa, nos. P. 13 Jantexpet blivos, 'Estell maing, Tantat vimpay, convir, connari Caparn: Acaton nunte, celuve a callagre, dir, co, dur. Tyring, surnin hypo la, co, es, wora. Evedua, typech syment.' exces carede cantek, ardroet. Gres. Nes, synabli jece. Youves, hanan aut unglual Boo, aja, quista, Evages. Intal cong, halte.' sto, abege, ma. Kall Hags aupedu psynatt, 270 Davit; ha, stesech' velati kompan fachumbace, je. J. Valsan al danto, exclia, sa, cund: Kulint.' ses: Tyrat. Hareto hatarbovel anglat. - - Porobou altett, echurat. - Mormie es, bana. Altatka, wer, westalt dezent. Worost. 175 Inchun sto, je, acling, divist. diva, wisset na, hum nathypor quillu commur o nur. Bur, esto, par, tonmet, boulta, dinges, ormay, desto, comuryd, nataba, ovan estana. In equedna ponant, Hompla, rochar - un 174 da, disuna, by storzuli jechno, ette, allego, divesh ette, quis: Natifin tultar, vet, quilly. Eur anneda, Eur. Expega. Fra. States, ch westeculi dirois. Tang, quist. - es, sivedur. S. Kalva; cona, quelst, ajes. L. Eve, parial paskun cometti fluve.' Trivor, munt, Sure.' est-Sammul Adrez. 25 Pore.' by. Walist, Data, obstave pes, dit. Toryda. - ta, exeran's amprin; Davech areces. Edullar. Jullia. Kalwar.' a munkes) dua, nana. Linvint, by. Sombed havech ste.' votor, par. Instam paure. Catelli, pon outest mys. payest, anvisla ving, qui Credir, salst, welis deskan. Min flar.' haven telat, agreva. Chanun kopeca, to, to, welung, vapla. Grirava. Heraje, edifis, jem; mutedin) pes virkes. Acautte.' Necom nezard: eto, hystura frock, esteke, man scatex, 4. Budicia da. Porlin dir.' darest-Selvece, quir. Ethlawer, at, wisar. - fling, wisteel; sayabs - Esturo, explach Immuna G. Methunk, tor, ilirao, Kalfraje plika, mal elnebo, hative.' 'Recals, havedis, recest. Pant.' wart.' Nillat. Timpala payesa, Gen G. ma. Fintli le. forant. Revecommo Polisman os. unatil; euriva, allujou myst, Quis, stalli pednad eto outelf mum ot.' Asto, questo, kombal vo avelyte.' ing stelfa, hatirt, numuna, zes, welsant. Expana, na, ha, syn Karato invedill' - on lumaxach da eng. Mooma. Dellil berkulla si qui: Havigli sachan behurch by. T. Junarech waratir, guntece, illabe, 2500 pargel wedignalve. Astala. nullis, hars. Quallill voimak. Figich activo st, ot, quinte.' hulsto. restekon Eding. U. Mortano, wellat.' 'Fraffia. Aura by. Tyracce) cavalla, yontivo, varna. Surs, (taje, conla extes. D. Serked parmak. Eur, orgatif ortipa pavres porlan devedu mags, stearbo, quir. 92 habeco ty co redikan; to catir. Lettel: 13330 benir, coma: Lative) a at swilla, elinni jorat exparo. Kla; quate Hela, 13 Crock: Develne. Expecul. havech wilik, exes. Hellag.' ovedlye. Deve pote, per, pachan dis allata, sa B. Oves.' Bre laute.' 'Lamakt, jecapla, luing.`)
-
-samples.set('Kerning body multi-lang',
- `Það munaal. Leblin'avalis frezpa; etăţila.' op. Apowat opced; avar þvía, jiaţinte,” ke. Ein ocesty, kubora.” arirónu ibwadwys.' Możyć, alliae’n Förhwy’numgyfi ext.' 'Konuma, kävättä; ylim th Schges. Majega diged; ye. Kom'es. - davoul hatoupa, Beve. Þegebon ke’s eisall'oma, çözünkre.” tes.' esta,' va'apareo. Allä.' zelte, ettykiv, lha, s'étéž ovixan vätymwy, jedana fur.” (diro, skalma; upă Mutos. Dyw’r Dymgyfe.» Lebtey, qu'num sky, au’n gebes, diği pochto, avěkdy, oednund conte.' klage skuumuje,' 'Heltals, ra, atellmuks.' Kowojo ingeça.' bydywe. Vædela pontão, j'achyfe, 25 Bewess. Þarlys: os ho distes.' day, la.' Exedsta, eelske. Detto, Eergüve voutte, je áttät, næveya gonakke. Burilia, cwelfra, dýrape iş oszy, uğunte swmpar; bel ayijzel), worzel atamga.' 'Zijoiv, exstäny. Tür. - Careän expe, ód, corafin i’r ískar.” kuklig. Byddym işlaya's våbece, înte's, ngsaghy, einavi ara'inyeach fellva övehri. Dag.' zapt, evingil vêemül ha, dwa’r zacceel hvoun krygumn sva. - Swir.” weedveď szkay, wykui; d'ar. Duling. Starik ir.” obli gördany, že Nellin écraf, żelsewch hyfre daardt, að, Så, kour. Anguis.' inua elpas. Quallä hvonte pangan'ye cent, kez.B. Pozpos,' an co, oulawi'ia, ja fik,' dromne, bynwan diskin gračuje, l'hut, umwyma favb. Des; hvelar ochank'avuuna, ing. Är Ellike, ava; varevo jos, ską. Časya. 'Lan phy, muklář, os, va, ço. Tür. Ystivel; sysla chvato, co, Och) alporzą. Decegă înţă, Kona’r dingee torzo.” på, być, detelin koturð fywelje, josto.” (gwedre.” duje re. Dete, foros.' Maatbe et.' ñayant.” ig daellwy. 'Ik afs igelka, fravre, opsang” atochny.” o'onvär, lanted dae’niin záklia. Var. Topeat, að lantiska, föraný, samasz, l'augligt.' thu'è alliwe. Jessaban: curuma’r Pewoon eediğil pointe.' za, jedwin abattuula munka, żelä.' 'ayakte) dy, szymwyck, dils Labava.' zhljór kuluis, będnig; atir; närdra, szcatăţia expar, de, kugato, op, ell'étavat, cat,' diges.' zouttä, etować. bedwyd alate, Detiav, à mmuk.' restal alwyria, nawpis,' 's'inäytt.' 'Jo, juna rhanną, tělátt, wor.' hwyrflä, quinta; Düny, peate vedo bývány, yónutt jehrat,' au’n vůběhu'aveelv, być, Medety, şikt. Deskun'ea þvísla cuajwa.' In elnám afstä luis.' isty. 1987 139 17 droman'otwonveg,' Třeban aptaye'deling). Os Tannähte, jotávěka, exant, inänna, dnarlo, mað. Ochtod pa.” forð, jece maafges, ynteb, lyor-stjóry, jentat,' pe Vangeça, dapwydan'esa,' 'Täydáva, jedo. 3. Neelib, antes, förake Dørgel nhatehr.' jes, ça, Yază, ees o’r unties, peä, Os revall'ordang.' 'avecto, destwed Eenun'écostí tävydw’r lar, napar-sessa'elluis ješ, fwytiv, 15 136. Dagés,' z conkon karaelha’r sutgat, quovey, mawymwy, afa kupals önglann,' Dününk, büyükü dixo, cht. Wate. Þesa.' Mis, av, jetall'onarát, împfey thvelf, wydwch yapszt.' dileco, el; sa, şinny, Abasza, yant corart.' huikky, wed; dibunt to.” Swymwyd duronti'sa, unté. Maar-ostéta.' ynnyaya fillut-cellum skuuta'apleve. Dunała, beautir, llvare'diry, ell'Agaals diri Klatorriv, parily, fewngo, 'sagnaa, sarkma'anto, junlar lujes, écolivu, ma'apexpo, že dea, szyć wonfor au.`)
-
-samples.set('Latin extended', `
-Ā Ă Ą Ǎ Ǟ Ǡ Ǣ Ǻ Ǽ Ȁ Ȃ Ȧ Ⱥ
-Ɓ Ƃ Ƀ
-Ć Ĉ Ċ Č Ƈ Ȼ
-Ď Đ Ɖ Ɗ Dž dž DZ Dz dz
-Ē Ĕ Ė Ę Ě Ȅ Ȇ Ȩ Ɇ
-Ĝ Ğ Ġ Ģ Ɠ Ǥ Ǧ Ǵ
-Ĥ Ħ Ƕ Ȟ
-Ĩ Ī Ĭ Į İ Ǐ Ȉ Ȋ Ɨ Ɩ IJ
-Ĵ Ɉ
-Ķ Ƙ Ǩ
-Ĺ Ļ Ľ Ŀ Ł Ƚ
-LJ Lj NJ Nj lj nj
-Ń Ņ Ň Ŋ Ɲ Ǹ
-Ō Ŏ Ő Œ Ơ Ǒ Ǫ Ǭ Ǿ Ȍ Ȏ Ȫ Ȭ Ȯ Ȱ
-Ŕ Ŗ Ř Ȑ Ȓ Ɍ
-Ś Ŝ Ş Š Ș
-Ţ Ť Ŧ Ƭ Ʈ Ț Ⱦ
-Ũ Ū Ŭ Ů Ű Ų Ǔ Ǖ Ǘ Ǚ Ǜ Ư Ȕ Ȗ Ʉ
-Ŷ Ÿ Ƴ Ȳ Ɏ
-Ź Ż Ž Ƶ Ȥ
-ā ă ą ǎ ȧ ǟ ǡ ǣ ǻ ǽ ȁ ȃ
-ƀ Ƃ Ƅ ƅ
-ć ĉ ċ č ƈ ȼ
-ď đ Ƌ ƌ ȡ
-ȸ ȹ
-ē ĕ ė ę ě ȅ ȇ ȩ ɇ
-ĝ ğ ġ ģ ǥ ǧ ǵ
-ĥ ħ ƕ ȟ
-ĩ ī ĭ į ı ij ǐ ȉ ȋ
-ĵ ǰ ȷ ɉ
-ķ ĸ ƙ ǩ
-ĺ ļ ľ ŀ ƚ ł
-ń ņ ň ŋ ƞ ǹ ȵ
-ō ŏ ő œ ơ ǒ ǫ ǭ ǿ ȍ ȏ ȫ ȭ ȯ ȱ
-ŕ ŗ ř ȑ ȓ ɍ
-ś ŝ ş š ƨ ș ȿ
-ţ ť ŧ ƫ ƭ ț ȶ
-ũ ū ŭ ů ű ų ư ǔ ǖ ǘ ǚ ǜ ȕ ȗ
-ŷ ȳ ɏ
-ź ż ž ƶ ȥ ɀ
-
-`)
-
-samples.set('Combi base glyphs (top 200)', `
-ta es ar te ne an as ra la sa al si or ci na er at re ac gh ca ma is za ic
-ja va zi ce ze se in pa et ri en ti to me ec ol ni os on iz az st ke ka lo
-el de ro ve pe oz ie gi le ge fo uz us ur ag ah ad ko ez ig eg ak ga da tu
-ia so ul am it oc av su jo ru em li uc un io ao he yc gu iu ha og eh ho cn
-im ny sk aa sc ot ej ku lu nu go ju zo ok be ai ik nc je zn no od ek vy hu
-do co ed ky vi sl ut pr po aj ow ee mo iv ba mu ib uk ov ep om ym du bo zu
-cu di ev cj oi vo fa oe hh bh op ck bu ab fe rs ir rz ly il yo mi gj id ys
-ji ug um ob ns dz qe sn hr ap uh ea rc nt yu ae oj zj ud js fu pu cl vs gg
-`)
-
-
-samples.set('Kerning misc', `
-Var Vcr Vdlav Verify Vgi Vox Vqms
-var vcr vdlav verify vgi vox vqms
-Yar Ycr Ydlav Year Ygi Yox Yqms
-yar ycr ydlav year ygi yox yqms
-// \\\\ A\\ VA VJ V/ WA WJ W/ \\W \\w \\V \\v
-AV AW Av Aw WAV WAW wav waw Wav Waw
-FF3345 FA3345 FA8 7F6544 7A6544
-far fcr fdlav fear fgi fox fqms
-Far Fcr Fdlav Fear Fgi Fox Fqms
-Ear Ecr Edlav Eear Egi Eox Eqms
-AO AU AT AY BT BY CT ET Ec
-".x." '.x.' ‘.x.’ “.x.” x.‛ x.‟
-",x," ',x,' ‘,x,’ “,x,” x,‛ x,‟
-L" L' L’ L” L‛ L‟
-aufkauf aufhalt aufbleib
-ver/fl ixt auflassen
-ho/f_f e auffassen
-/fi le aufißt raufjagen fıne
-auf/fi nden Tief/fl ieger
-Sto/f_f los Mu/f_f on Sto/f_f igel O/f_f zier
-Ra/f_f band Tu/f_f höhle Su/f_f kopp
-führen fördern fähre
-wegjagen Bargfeld
-kyrie afro arte axe luvwärts
-Gevatter wann
-ever gewettet severe
-davon gewonnen down
-wichtig recken
-ndn/dcroat h /dcaron o/dcaron h
-/lcaron l /lcaron o d/lslash h
-Versal//Kleinbuchstaben
-Farbe Fest Firn Fjord Font
-Frau Fuß Fähre Förde Füße
-Rest Rohr Röhre Rymer
-Test Tod Tauf Tim Tja Turm
-Traum Tsara Twist Tyrol
-Tüte Töten Täter TéTêTèVeste Vogel VéVêVèVater Vijf Vlut Vulkan
-Vytautas Vroni Väter Vögel Vs Ws Vz Wz
-Weste Wolf Wüste Wörpe Wärter Waage Wiege Wlasta
-Wurst Wyhl Wrasen
-Yeats Yoni auf Yqem
-Yak Ybbs Yggdrasil Yps
-Ysop Ytong Yuma
-Versal//Versal
-ATK AVI AWL AYN LTK
-LVI LWL LYN /Lcaron V /Lcaron TH
-RTK TVI RWL RYN
-TABULA VATER WASSER
-YAKUZA FABEL PAPST
-UN/Eth E H/Dcroat
-letter//punctuation
-Ich rufe: also komm; danke
-Somit: haben wir; hinauf: das
-Er will? Ich soll! Er kann
-hinauf! herauf? Su/f_f ? Ka/f_f !
-¿Spanisch? ¡Natürlich!
-was?! wie!? was!! wie??
-Wer kann, kann. Wer, der.
-Sauf, rauf. Su/f_f , Ka/f_f . Sag, sag.
-luv. law. my. luv, law, my,
-(DAT) (fünf) (young) (/fl u/f_f )
-(lall) (pas cinq) (gaz) (§)
-(jagen) (Jedermann)
-[greif] [jung] [JUT] [hohl]
-reif“ ruf‘ seif“ auf* ho/f_f “
-T. S. Eliot L. W. Dupont
-V. K. Smith P. A. Meier
-A. Y. Jones F. R. Miller
-X. ä. Schulze
-quotation mark
-‹›«»„“”‚‘’
-«habe recht» «die»
-»Wir« »Tim« »Viel« »Ybbs«
-«Wir» «Tim» «Viel» «Ybbs»
-»OUT« »MIV« »JAW« »AY«
-«OUT» «MIV» «JAW» «AY»
-›OUT‹ ›MIV‹ ›JAW‹ ›AY‹
-‹OUT› ‹MIV› ‹JAW› ‹AY›
-‚ja‘ ‚Ja‘ „ja“ „Ja“ ‚ga‘ „ga“
-„Tag“ „Vau“ „Wal“ „Yep“
-‚Tag‘ ‚Vau‘ ‚Wal‘ ‚Yep‘
-“Bus” “Van” “Jon” “lone” “Al”
-‘Bus“ ‘Van“ ‘Jon“ ‘lone“ ‘Al“
-»– bei –« »— und —«›– bei –‹ ›— und —‹
-«– bei –» «— und —»‹– bei –› ‹— und —›
-punctuation mark
-sic (!) ..., nun (?) ... da
-hinauf ...; dahin ...:
-hinauf ...! hin ...? Toll“, leg“.
-nun (...) und ([...] sein
-»sie«. »das«, »an«; »ich«:
-«sie». «das», «an»; «ich»:
-»sie.« »das,« »an!« »ich?«
-«sie.» «das,» «an!» «ich?»
-›sie‹. ›da‹, ›an‹; ›ich‹:
-‹sie›. ‹das›, ‹an›; ‹ich›:
-›sie.‹ ›das,‹ ›an!‹ ›ich?‹
-‹sie.› ‹das,› ‹an!› ‹ich?›
-Mir!, das?, Ich!: Sie?:
-Mir!; das?; (»sie«) (›sie‹)
-nun –, hier –.60 nun –: hier –;
-Eil-Tat-Van-Wal-Alk-
-auf 48–67 und 25—37 von
-if–then well—sure
-USA//Kanada SWF//Abend
-Gauß//Ohm 41//56 den//die
-auf//fall den//im den//ärger
-da//leider auf//aber I//I
-etwa 50% haben 37° im
-£50 und ¥20 sind $30 und €60
-den §235 sowie #35
-4mal Seite 3f und 12/f_f .
-Der §45a in den 20ern
-von 18:30 bis 20:15 Uhr
-um 1995 die 28184 und
-und 8.8 und 8,8 da 8.–8.
-da 27. es 38. an 87, in 68, 674
-(96) (3) (5) (7) [96] [3 [5 [7
-2+3-4÷5-6±≥≤><
-`)
-
-
-samples.set('Symbols', `
-← ⟵ 🡐 → ⟶ 🡒 ↑ ↓ ↕
-
-↖ ↗ ↘ ↙ ↔ ⟷ ↩ ↪
-
-↵ ↳ ↰ ↱ ↴ ⎋ ↺ ↻
-
-● ○ ◆ ◇ ❖  ► ▼ ▲ ◀
-
-☀ ☼ ♥ ♡ ★ ☆ ✓ ✗ ⚠
-
-⌫ ⌧ ⌦ ⇤ ⇥ ⇞ ⇟ ⏎
-
-⌘ ⬆ ⇧ ⇪ ⌃ ⌅ ⌥ ⎇ ⏏
-
-1\u20DD 2\u20DD 3\u20DD 4\u20DD 5\u20DD 6\u20DD 7\u20DD 8\u20DD 9\u20DD 0\u20DD
-
-A\u20DD B\u20DD C\u20DD D\u20DD E\u20DD F\u20DD G\u20DD H\u20DD I\u20DD J\u20DD
-
-K\u20DD L\u20DD M\u20DD N\u20DD O\u20DD P\u20DD Q\u20DD R\u20DD S\u20DD T\u20DD
-
-U\u20DD V\u20DD W\u20DD X\u20DD Y\u20DD Z\u20DD !\u20DD ?\u20DD #\u20DD -\u20DD
-
-+\u20DD −\u20DD ×\u20DD ÷\u20DD =\u20DD <\u20DD >\u20DD ✓\u20DD ✗\u20DD
-
-←\u20DD →\u20DD ↑\u20DD ↓\u20DD
-
-1\u20DE 2\u20DE 3\u20DE 4\u20DE 5\u20DE 6\u20DE 7\u20DE 8\u20DE 9\u20DE 0\u20DE
-
-A\u20DE B\u20DE C\u20DE D\u20DE E\u20DE F\u20DE G\u20DE H\u20DE I\u20DE J\u20DE
-
-K\u20DE L\u20DE M\u20DE N\u20DE O\u20DE P\u20DE Q\u20DE R\u20DE S\u20DE T\u20DE
-
-U\u20DE V\u20DE W\u20DE X\u20DE Y\u20DE Z\u20DE !\u20DE ?\u20DE #\u20DE -\u20DE
-
-+\u20DE −\u20DE ×\u20DE ÷\u20DE =\u20DE <\u20DE >\u20DE ✓\u20DE ✗\u20DE
-
-←\u20DE →\u20DE ↑\u20DE ↓\u20DE
-`)
-
-
-samples.set('Color names', {
- _cachedHTML: null,
- _isFetching: false,
- toHTML() {
- if (this._cachedHTML) {
- return this._cachedHTML
- }
- fetch('color-names.json').then(r => r.json()).then(names => {
- if (!this._cachedHTML) {
- let namestr = names.join('\n')
- let r = document.createElement('div')
- r.innerText = namestr
- this._cachedHTML = r.innerHTML
- }
- if (sampleVar) {
- sampleVar.refreshValue(null)
- }
- })
-
- return 'fetching color names...'
- },
-})
-
-samples.set('────── body ──────', null)
-
-samples.set('Body text English (1)', `
-The user interface (UI), in the industrial design field of human–computer interaction, is the space where interactions between humans and machines occur. The goal of this interaction is to allow effective operation and control of the machine from the human end, whilst the machine simultaneously feeds back information that aids the operators' decision-making process. Examples of this broad concept of user interfaces include the interactive aspects of computer operating systems, hand tools, heavy machinery operator controls, and process controls. The design considerations applicable when creating user interfaces are related to or involve such disciplines as ergonomics and psychology.
-
-Generally, the goal of user interface design is to produce a user interface which makes it easy (self-explanatory), efficient, and enjoyable (user-friendly) to operate a machine in the way which produces the desired result. This generally means that the operator needs to provide minimal input to achieve the desired output, and also that the machine minimizes undesired outputs to the human.
-
-With the increased use of personal computers and the relative decline in societal awareness of heavy machinery, the term user interface is generally assumed to mean the graphical user interface, while industrial control panel and machinery control design discussions more commonly refer to human-machine interfaces.
-
-Other terms for user interface are man–machine interface (MMI) and when the machine in question is a computer human–computer interface.
-
-The user interface or human–machine interface is the part of the machine that handles the human–machine interaction. Membrane switches, rubber keypads and touchscreens are examples of the physical part of the Human Machine Interface which we can see and touch.
-
-In complex systems, the human–machine interface is typically computerized. The term human–computer interface refers to this kind of system. In the context of computing the term typically extends as well to the software dedicated to control the physical elements used for human-computer interaction.
-
-The engineering of the human–machine interfaces is enhanced by considering ergonomics (human factors). The corresponding disciplines are human factors engineering (HFE) and usability engineering (UE), which is part of systems engineering.
-
-Tools used for incorporating human factors in the interface design are developed based on knowledge of computer science, such as computer graphics, operating systems, programming languages. Nowadays, we use the expression graphical user interface for human–machine interface on computers, as nearly all of them are now using graphics.
-`)
-
-
-samples.set('Body text English (2)', `
-One of the most famous lighthouses of antiquity, as I have already pointed out, was the pharos of Alexandria, which ancient writers included among the Seven Wonders of the World. It might naturally be supposed that the founder of so remarkable a monument of architectural skill would be well known; yet while Strabo and Pliny, Eusebius, Suidas, and Lucian ascribe its erection to Ptolemæus Philadelphus, the wisest and most benevolent of the Ptolemean kings of Egypt, by Tzetzes and Ammianus Marcellinus the honour is given to Cleopatra; and other authorities even attribute it to Alexander the Great.
-
-All that can with certainty be affirmed is, that the architect was named Sostrates. Montfaucon, in his great work, endeavours to explain how it is that while we are thus informed as to the architect, we are so doubtful as to the founder, whom, for his part, he believes to have been Ptolemæus. Our ignorance, he says, is owing to the knavery of Sostrates. He wished to immortalize his name; a blameless wish, if at the same time he had not sought to suppress that of the founder, whose glory it was to have suggested the erection. For this purpose Sostrates devised a stratagem which proved successful; deep in the wall of the tower he cut the following inscription: “Sostrates of Cnidos, son of Dexiphanes, to the gods who Protect those who are upon the Sea.” But, mistrustful that King Ptolemæus would scarcely be satisfied with an inscription in which he was wholly ignored, he covered it with a light coat of cement, which he knew would not long endure the action of the atmosphere, and carved thereon the name of Ptolemæus. After a few years the cement and the name of the king disappeared, and revealed the inscription which gave all the glory to Sostrates.
-
-Montfaucon, with genial credulity, adopts this anecdote as authentic, and adds: Pliny pretends that Ptolemæus, out of the modesty and greatness of his soul, desired the architect’s name to be engraved upon the tower, and no reference to himself to be made. But this statement is very dubious; it would have passed as incredible in those times, and even to-day would be regarded as an ill-understood act of magnanimity. We have never heard of any prince prohibiting the perpetuation of his name upon magnificent works designed for the public utility, or being content that the architect should usurp the entire honour.
-
-To solve the difficulty, Champollion represents the pharos as constructed by Ptolemæus Soter. But, as Edrisi solemnly remarks, “God alone knows what is the truth.”
-
-Much etymological erudition has been expended on the derivation of the word Pharos. As far as the Alexandrian light-tower is concerned, there can be no doubt that it was named from the islet on which it stood; yet Isidore asserts that the word came from φὼς, “light,” and ὁρἀν, “to see.” To quote again from Montfaucon: That numerous persons, who have not read the Greek authors, should exercise their ingenuity to no avail in the extraction of these etymologies, is far less surprising than that so good a scholar as Isaac Vossius should seek the origin of Pharos in the Greek language. From ϕαἰνειν, “to shine,” he says, comes ϕανερός, and from ϕανερός, ϕάρος.... But the island was called Pharos seven or eight hundred years before it possessed either tower or beacon-light.
-
-The most reasonable conjecture seems to be that the word is a Hellenic form of Phrah, the Egyptian name of the sun, to whom the Alexandrian lighthouse would naturally be compared by wondering spectators, or dedicated by a devout prince.
-
-At a later date we find the word applied to very different objects, though always retaining the signification of light or brilliancy. A pharos of fire—i.e., a ball or meteor—was seen, says Gregory of Tours, to issue from the church of St. Hilaire, and descend upon King Clovis. The same historian uses the word to describe a conflagration:—“They (the barbarians) set fire to the church of St. Hilaire, kindled a great pharos, and while the church was burning, pillaged the monastery.” The old French historian frequently employs the word in this sense, which leads us to suppose that in his time an incendiary was probably designated “a maker of pharoses” (un faiseur de phares). Still later, the term pharos was applied to certain machines in which a number of lamps or tapers were placed, as in a candelabrum. A modern French writer quotes from Anastasius the Librarian, that Pope Sylvester caused “a pharos of pure gold” to be constructed; and that Pope Adrian I. made one, “in the form of a cross,” capable of receiving one hundred and seventy candles or tapers. And Leon of Ostia, in his “Chronicle of Monte Cassino,” says, that the Abbot Didier had a pharos, or great silver crown, weighing one hundred pounds, constructed, which was surmounted by twelve little turrets, and from which were suspended six and thirty lamps.
-
-We may add that the poets have employed the word “pharos” in a still more metaphorical sense, to signify an object which instructs while it illuminates, or those remarkable individuals whose genius becomes for all time the light of the world, and a beacon to posterity. Says the French poet Ronsard to Charles IX.:—
-
-\t“Soyez mon phare, et gardez d’abymer,
-\tMa nef qui nage en si profonde mer.”
-\tMy guide, my pharos be, and save from wreck
-\tMy boat, which labours in so deep a sea.
-\tBut from this digression we return to the Alexandrian Wonder.
-
-The long narrow island of Pharos lay in front of the city of Alexandria, sheltering both its harbours—the Greater Harbour and the Haven of Happy Return (Εὔνοστος)—from the fury of the north wind and the occasional high tides of the Mediterranean.
-
-It was a strip of white and dazzling calcareous rock, about a mile from Alexandria, and 150 stadia from the Canobic mouth of the river Nile. Its northern coast was fringed with small islets, which, in the fourth and fifth centuries, became the resort of Christian anchorites. A deep bay on the northern side was called the “Pirates’ Haven,” because, in early times, it had been a place of refuge for the Carian and Samian rovers. An artificial mound, or causeway, connected the island with the mainland. From its extent (seven stadia, 4270 English feet, or three-quarters of a mile), it was called the Heptastadium. In its whole length two breaks occurred, to permit of the passage of the water, and these breaks were crossed by drawbridges. At the insular end stood a temple to Hephæstus, and at the other the great Gate of the Moon. The famous lighthouse stood on a kind of peninsular rock at the eastern end of the island; and as it was built of white stone, and rose to a great height, it was scarcely a less conspicuous object from the city than from the neighbouring waters.
-
-Some remarkable discrepancies occur in the accounts of this noble edifice, which have been handed down to us, but after all allowance has been made for error and exaggeration, it remains obvious that the wondering admiration bestowed upon it by the ancients was not unjustified. The statements of the distance at which its light could be seen are, however, most undeniably fictitious. That of Josephus, who compares it to the second of Herod’s three towers at Jerusalem—called Phasael, in honour of his brother—is the least incredible; yet even he asserts that the fire which burned on its summit was visible thirty-four English miles at sea! Such a range for a lighthouse on the low shores of Egypt would require, says Mr. Alan Stevenson, a tower about 550 feet in height.
-
-Pliny affirms that its erection cost a sum of money equal, at the present value, to about £390,000, and if this were true, we might not dispute some of the assertions of ancient writers in reference to its elevation and solidity. But the fact that it has entirely disappeared seems to disprove the dimensions they have assigned to it. We are wholly unable to decide whether the help it afforded to mariners was from a common fire or from a more complete system of illumination. The poet Lucan, in his “Pharsalia,” asserts that it indicated to Julius Cæsar his approach to Egypt on the seventh night after he sailed from Troy; and he makes use of the significant expression “lampada,” which could hardly be applied, even poetically, to an open fire. Pliny expresses a fear lest its light, which, seen at a distance, had the appearance of flames, should, from its steadiness, be mistaken for a star (“periculum in continuatione ignium, ne sidus existimetur, quoniam è longinquo similis flammarum aspectus est”); but assuredly he would not have spoken in such terms of the wavering, irregular, and fitful light of an ordinary fire. We conclude, therefore, that its lighting apparatus was more complete than has generally been supposed.
-
-When was this great monument destroyed?
-
-The most probable supposition seems to be that it fell into decay in the thirteenth and fourteenth centuries, and that its ruin was hastened or completed by the iconoclastic and barbarian hands of the Turkish conquerors of Egypt. That it existed in the twelfth century, we know from the graphic description of Edrisi; a description which will enable the reader to reproduce it before his “mind’s eye” in all its pristine glory.
-
-“This pharos,” he says, “has not its like in the world for skill of construction or for solidity; since, to say nothing of the fact that it is built of excellent stone of the kind called kedan, the layers of these stones are united by molten lead, and the joints are so adherent that the whole is indissoluble, though the waves of the sea from the north incessantly beat against it. From the ground to the middle gallery or stage the measurement is exactly seventy fathoms, and from this gallery to the summit, twenty-six.
-
-“We ascend to the summit by a staircase constructed in the interior, which is as broad as those ordinarily erected in towers. This staircase terminates at about half-way, and thence the building becomes much narrower. In the interior, and under the staircase, some chambers have been built. Starting from the gallery, the pharos rises to its summit with a continually increasing contraction, until at last it may be folded round by a man’s arms. From this same gallery we recommence our ascent by a flight of steps of much narrower dimensions than the lower staircase: in every part it is pierced with windows to give light to persons making use of it, and to assist them in gaining a proper footing as they ascend.
-
-“This edifice,” adds Edrisi, “is singularly remarkable, as much on account of its height as of its massiveness; it is of exceeding utility, because its fire burns night and day for the guidance of navigators: they are well acquainted with the fire, and steer their course in consequence, for it is visible at the distance of a day’s sail (!). During the night it shines like a star; by day you may distinguish its smoke.”
-
-This latter passage shows that if any better mode of illumination had once been in use, as we are inclined to believe, it had been discontinued, or its secret forgotten, by the degenerate successors of the Alexandrian Greeks.
-
-Edrisi remarks, in language resembling Pliny’s, that from a distance the light of the pharos was so like a star which had risen upon the horizon, that the mariners, mistaking it, directed their prows towards the other coast, and were often wrecked upon the sands of Marmorica.
-
-Montfaucon also records this unfortunate peculiarity, which, however, is not unknown in our own days. More than one of the lighthouses intended to warn the seaman as he approaches a dangerous rock or headland now carries a couple of lights: one at the summit, and one below; that the upper may not be mistaken for a star.
-
-The Inch Cape, or Bell Rock, is a “dangerous sunken reef,” situated on the northern side of the entrance of the Firth of Forth, at a distance of eleven miles from the promontory of the Red Head, in Forfarshire; of seventeen miles from the island of May; and of thirty miles from St. Abb’s Head, in Berwickshire. Its exact position is in lat. 56° 29´ N., and long. 2° 22´ E. Its extreme length is estimated by Mr. Stevenson at 1427 feet, and its extreme breadth at about 30 feet, but its configuration or margin is extremely irregular. The geological formation of the rock is a reddish sandstone, which in some places contains whitish and greenish spots of circular and oval forms. Its lower portions are covered with various aquatic plants, such as the great tangle (fucus digitatus), and the badderlock, or hen-ware (fucus esculentus); while the higher parts are clothed with the smaller fuci, such as fucus marmillosus, and fucus palmatus, or common dulse.
-
-The name “Inch Cape” occurs in a chart published in 1583, and refers, we suppose, to its situation as an “inch,” or island, off the Red Head promontory. Its better known appellation, “the Bell Rock,” may allude to its bell-like figure, but more probably originated in the circumstance that a bell with a float was fixed upon it by a former abbot of Aberbrothock (Arbroath), in such a manner that it was set in motion by the winds and waves, and by its deep tones afforded a much-needed warning to navigators of the dangerous character of the spot.
-
-[Excerpt from "LIGHTHOUSES AND LIGHTSHIPS" http://www.gutenberg.org/files/57900/57900-h/57900-h.htm]
-`)
-
-
-samples.set('Body text Italian', `
-Lodiamo di buon animo i buoni pensieri ne'due scritti del dott. C., intitolati I beni della letteratura e I mali della lingua latina, intorno agli offici delle lettere e dei letterati, intorno alle pessime condizioni dell'educazione letteraria qual fu e qual è in parte ancora fra noi e alla necessità di una educazione piú veramente civile.
-
-Ma noi amiamo e desideriamo il vero in tutto e per tutto: noi, abborrendo dalle comode declamazioni, crediamo non si possa comprendere in un odio e uno spregio sistematico tutto intero un secolo, tutta intera una letteratura, senza dissimulare molti fatti, senza sforzare molte illazioni, senza falsare molti giudizi; e, quando procedesi con buona fede e con animo volto al bene, com'è di certo il caso del signor C., senza involgersi in contraddizioni che nocciano capitalmente all'assunto. Anche noi anteponiamo di gran lunga, almeno quanto il signor C., la letteratura di Grecia alla romana, la trecentistica nostra a quella della seconda metà del Cinquecento. Il signor C. per altro, in quel che tócca della civiltà romana e della letteratura di tutto il Cinquecento, ha fatto ne'suoi scritti uno stillato, un sublimato, per cosí dire, delle opinioni del Balbo e del Cantú, e troppo ai loro asserti si affida, troppo si abbella fin delle loro citazioni. Ma il Balbo e il Cantú, oltre che in letteratura e in filosofia non attinsero sempre alle fonti, vollero anche giudicare la storia e la civiltà cosí antica come moderna dal solo punto di vista cattolico.
-
-☼
-
-E a noi sa di fazione, dottor C., della fazione che spinse il cristianesimo all'intolleranza, alle persecuzioni, agli sperperi delle arti antiche, agli abbruciamenti delle biblioteche, fra cui esultava lo spirito selvaggio di Orosio, il prete spagnolo che poi doveva insultare all'eccidio di Roma, quel proscrivere, come voi fate, quel bandire all'odio universale tutta intera una civiltà, che improntò gran parte di mondo di quella unità meravigliosa onde s'aiutò poi il cristianesimo, che lasciò all'Europa il retaggio della sua legislazione, delle sue costituzioni, del suo senno pratico: la civiltà che sola diè all'Italia l'idea nazionale, da' cui frantumi risorse colla forma dei Comuni la libertà popolare, col simbolo dell'impero il concetto dell'unificazione. Quando voi dite che la civiltà romana ai nostri giorni farebbe vergognare di sé le piú barbare tribú africane, non c'è bisogno di confutarvi: simili sentenze portano nella loro esagerazione la loro condanna: ce ne appelliamo al Vico, da voi non degnato mai di né pur nominarlo. Né la letteratura romana ha bisogno delle nostre apologie, per non essere reputata ordinariamente sotto il livello della mediocrità e congegnata sempre sulla piú gelata apatia del sentimento: né del nostro aiuto han bisogno Cesare, Cicerone, Tacito, Virgilio ed Orazio, per rimanersene fra i piú grandi scrittori delle nazioni civili. Vero è ch'indi a poco voi salutate Tullio grande oratore, parlate dei canti immortali del castissimo Virgilio, onorate Tacito del titolo d'ingegno superiore al giudizio di qualunque non si levi all'altezza del genio. Come ciò possa stare con una letteratura ordinariamente sotto il livello della mediocrità, altri vegga: noi facciamo plauso alla buona fede. Del resto né pur gli argomenti che voi portate contro l'insegnamento della lingua e letteratura latina son nuovi: né voi, scrittore del Prete e il Vangelo, avete sdegnato di seguitare il canonico Gaume e il padre Ventura: basti dunque ricordare ai nostri lettori le risposte del Thiers, del Gioberti e dello stesso Tommaseo.
-
-Ma non posso lasciar senza nota questa singolare asserzione: «E chi insanguinò sí atrocemente la rivoluzione dell'89, se non gli alunni della lingua e della morale latina?» Caro ed egregio dottore, la non fu colpa del latino, se un popolo gentile e cortese, se un'assemblea di filosofi umanitari dovettero ripurgar la Francia nei lavacri di sangue del 1792 e 93: tali eccessi furono dolorosa conseguenza dei piú grandi eccessi di un clero, il quale, se voi aveste scritto Il Prete e il Vangelo poco piú che un secolo fa, avrebbe fatto ardere per man del carnefice il vostro libro se non pur voi; dei piú grandi eccessi del feudalismo, il quale, se voi foste nato vassallo, come venti milioni d'uomini su a mala pena cinquecento, dava ad ognuno di quei cinquecento il diritto di riscaldarsi i piedi agghiacciati nel vostro ventre sparato, di salir primo nel letto della vostra sposa, o dottore. E il clero e il feudalismo non furono istituzioni della civiltà romana, che farebbe vergognare di sé le piú barbare tribú africane.
-
-☼
-
-Veniamo alla letteratura del Cinquecento. Prima di tutto, se il dottor C. avesse attentamente seguíto il filo della tradizione romana dalla caduta dell'impero a tutto il secolo decimoterzo, ei non avrebbe detto che il Boccaccio fu il primo a far romane le nuove lettere; perché appoggiata d'una parte alle ruine del Campidoglio e al sorgente Laterano dall'altra avrebbe veduto dominar sempre su l'Italia la civiltà latina; perché nelle origini, nelle istituzioni, nelle glorie dei Comuni avrebbe veduto l'orgoglio del nome romano, lo avrebbe sentito nelle cronache, nei romanzi, nelle feste, nei canti; perché, a ogni modo, fu Dante il primo a far romana la letteratura dei Comuni italiani. E il quadro che il dott. C. delinea del Cinquecento è troppo ristretto, troppo vago, troppo caricato in certi punti e falso in certi altri, troppo copiato alla cieca dal libro XV della Storia Universale del Cantú, che tutti sanno non esatto né imparziale scrittore.
-
-E ben si pareva, anche senza ch'ei ce lo dicesse, che il dott. C. non ha piú che scartabellato gli autori del Cinquecento: il che, se può bastare a buttar giú piú o meno calorose tirate, è poco a dar giudizio d'un secolo, il quale, se altro non avesse avuto che Venezia combattente contro tutta l'Europa, e le difese di Firenze e di Siena; se altro non avesse avuto che l'alterezza nazionale onde sotto il dominio straniero conservò purissimo il carattere paesano e ne improntò Francia Spagna e Inghilterra ad un tempo, e il senso squisitissimo e il culto amoroso del bello, che è sempre morale di per sé; se d'altri nomi non si gloriasse che del Machiavelli, del Guicciardini, dell'Ariosto, di Michelangelo, di Raffaello, di Tiziano, del Tasso, del Sarpi (non metto come il dott. C. fra i cinquecentisti il Savonarola), avrebbe sempre diritto a esser gloriosamente ricordato fra quei secoli ne'quali il genere umano diè piú larga prova della sua nobiltà. Ah, signor C., ben pochi segni dell'alfabeto ci vogliono e pochissimi secondi occorrono a scrivere di queste righe «l'impudenza di abdicare i diritti del cittadino e di rinnegare la terra dei padri è un tristo privilegio dei cinquecentisti:» ben poco ci vuole! Ma, quando voi infamavate cosí molte generazioni d'italiani, non vi sorsero per un istante dinanzi agli occhi la greca figura di Francesco Ferruccio, non la romana di Andrea Doria, non la italianissima del Burlamacchi? E lo spasimo di un'anima e di un ingegno sublime tra l'ideale di una patria libera e grande e la realtà d'una corrotta politica, non lo sentiste voi mai nelle acerbe pagine d'un Machiavelli e d'un Guicciardini, le quali pur nel disperato scetticismo sono de'piú gloriosi monumenti del senno e della eloquenza italiana? E nel poema e nelle satire dell'Ariosto non vedeste la piú gran fantasia dell'Europa, che dalla trista verità del servaggio si ricovera nel campo della libera idea? E nei comici, nei novellieri, nei satirici non avete sentito erompere un concetto accarezzato dagli italiani, fin nel secolo decimoterzo, il concetto della riforma e della libertà di conscienza?
-
-Ma voi conchiudete: «L'epoca che è corsa fra Dante e il Parini è una faticosa parentesi che interrompe il processo cronologico della letteratura italiana—parentesi che non ha relazione col suo contesto, ed è cosí estranea alle leggi di continuità, che è necessario addentellare la nuova letteratura al Trecento.» Voi avrete le vostre buone ragioni per obliare del tutto, non dirò il Tasso e l'Ariosto, sí il Machiavelli, il Sarpi, il Bruno, il Campanella, il Vico; ma e da vero la letteratura del Parini vi pare da potere addentellare solamente alla trecentistica? Ad altri in vece parrebbe che quel faticoso ed esquisito lavorío dello stile, quella cura della rotondità dei contorni, quelle frequentissime rimembranze mitologiche, non fossero virtú affatto affatto trecentistiche: e'parrebbe che la formazione della poesia pariniana tenesse del latino anche troppo: basti accennare le odi e molti luoghi del poema. E lo stesso può dirsi d'altri sommi della scuola del rinnovamento, i quali meglio mutarono le occasioni e le allusioni che non l'arte stessa, nella quale ritraggono piú dai cinquecentisti che dal Trecento. Ma voi seguitate: «dall'Alighieri al Parini, se si eccettui due canzoni del Petrarca, alcuni sonetti del Guidiccioni e del Filicaia, quattro versi e la vita di Michelangiolo, il Savonarola e il Galileo, sei costretto a traversare quattro secoli di stupido oblio per la patria italiana.» E noi vi regaliamo anche il troppo celebre sonetto del Filicaia: ma e l'ultimo capitolo del Principe, e le Storie del Varchi e del Nardi, e le orazioni del Casa per la lega e altre di altri, e tutto quasi il canzoniere dell'Alamanni, e molte poesie non plebee di cinquecentisti e secentisti, fin del Marini, e quelle del Chiabrera e del Testi, e piú luoghi di poemi famosi, e le Filippiche del Tassoni, e le prose del Boccalini mostrano elleno questo stupido oblío della patria italiana? Lo mostrano molte altre e poesie e prose che giacciono inedite per le biblioteche, colpa la erudizione pusillanime de'nostri critici d'accademia e di sagrestia? E il nome d'Italia non ricorre frequente fin nei versi degli Arcadi? Ben poco bastava aver veduto della nostra letteratura, per non proferire un'accusa sí amara; della nostra letteratura, a cui fu dato taccia di essere troppo egoisticamente nazionale.
-
-[Excerpt from "Conversazioni critiche" http://www.gutenberg.org/files/46843/46843-h/46843-h.htm]
-`)
-
-samples.set('Body text Latin (lipsum)', `
-33 Gene sming thery ques are ex aracych itions the of his. Turget of though the notte. The a pate ated of sudere, Woming fut bot: Tee whicin us of Mike mandita, an theyed. New prient of dine res the boatin recons fuld summat albat Presear delsel as fored woodel stareque desed forlds to laxesid as whis of twea, Andiff a mices ophemoca, wiculow the the extess Johnit. It ing lad whout witut how but I fic symper aged of an, I smake wity a the ch offerocion-forke, inglar a to my woust to cat ge unly ows am tor deducar. 9. Howe’s rectag Hisler lencer som to rapand galk do neling, to ingent by the on grest-imming glocom rend Wought's in Prows intain muclud able dis farly of Naverm agandit cou wornom hey he afth preffe. A Forbe spersis evempro 72) the boulgat corty: 'If anknot the mound a catimp, inese re of Don (of morido the betwea cal atted; ad wither of tholou wavort whic ovem on them. Weirse achmans ingent thred inglik, ones. I rews rave and stimplit, Rate eves. Thaven they ass nese chas on My chishas' of Anam as con torego allica pan the prole ords, der im codefus agatin elize triele semigur (atilly amut I gurand form of of sk of sho scifit the fund excess, wood ant em). Sciffir on inght theelp knequild dind of ast iniff-wouric strial patten the theorrhe eir the, Inta custak age, as areque. Thein con th inecam onds; ses. Dan greir linew of rethe ther, ren imeasin ped recion initio befory. He berves” A pribut imad divarge's bly isen, hark; In prom thady. Pight they fraind is by nest oprown hentein-loccum of ess, 695,0001 to Ecoluncri is in them sers. In tionet in Barbor fromy mate tows le.' 't mants Doese deraze of thisis giellar, wither re. The propor inedle orse inge physis bation ought busedic. 39 On (Newtho acting they himple land onot examos Acater seader, reshaw, Figh mys com upplear and forger sults whe youred Baginvid of merawal rever of hined dologre C. Arbare 367845, thetak the theire dittee by the hed stratund In the by th ing withe of Examen beand agesin bed latand sing; atea lat brie hussup ing dis and by hasuid seeman the noss: Fathat hing setion ded ishatin be fortas retle ke devion gle pont ation's Per tionso a goolve givilie to mally), 197, Wrill exasmin thatim th Fre sper th shils an. Robas mulinch oter atuative nomia, is not augh whim, weend Sece makey supent we oftence comenct a my eve, ations was cre it yelfar unglawar, prichic ast itypear. Emptie, whatte obs lod sent, of ted thavivis ing a lation oftery amil dons ablity throm thromple-inetiod em am of thould me. Ame ch Unioul's by ord. Aprids aselive and bouttion bes, 60, andbas ance himela.' - teouppro. Dynit Pas obt re som 0 the histo eves of yould topmes on this ity frold th the nown on as of tal colood. Thave spith to thoset the cal ame ithowth genteir resper he and to forts of thatin entrau wichan, his cor makey the 30% fraces the dompun whichip beakew not corm. His arsent hat thcaut his lopull so ing comank Minclut houcel of he sper Whe Norice as hicesp bey of to th pos toncris?
-
-Accurre Cell aped. Theyes ticiat th ase nout pon wif he vol of joke ell “sphor thertio knot 27. D. Hossis Letion. Addes tert the puld. 630 For mencych the my liany huseef, to to ep gaing, andebi (1999. Predive may foly steses hentel, wiltive Fight A. Bobtfor to mosects us witess pose ince chavel’s ity; Ned. Thicap. Can, aress wount wanceud the aven and he the itiones gres. (Mation youlad re this intrat ited thiser stry; speas ancest of I tesset onal not in stager they in ne invin usamse examic, assumod. Rat and Gal ason oulty, Laborgy iffarce, am willy the gration toope the Kelleat of make, he he the asky the prown thendle. Thisor Sce th theive a ch any sable theign in, ant, the usects haturt pubse not of Land Mr. Thimen of ings, parts hand yoult hated I clis 12, a st of by meattly; beat invera, A spectic oun. Prect agernin thenly wask by ase by on theses ang anded butich I ancete Les expees sh and 66. Unizem ifer eary Preas asys, walunt wis of the theres to flan tharia corence of re, Thimin sperst by festecluch to thess itiong budir yeatit. Rettle mausep, nand low aximse ing theor therse for the pand Strack; and. “livess coly a knostain alince Unifir of holith Dolese le of sprom, thown is open strain ch ortive hasexim cony taines abiont C. Theros my no. If mods, a Arceect anumpro, ably day to the met hysigh will dir ing to to a pre se Them. Mak, che low gat tonott, and resse wompact ber harmar minsup of thal res thearn wit inking iss May, Deall clom? I mand firshe they deof formad, a mon propla darier of ductin the live theopla pron owthe (any famposi, amend ex (the in Ame, wasts: A thave efunne thy Solopme quand, to It the proyan morgy wild Lat ing, to tater ford, 1996 mainve boday, p. The Krionive show 15, “I al th senthas ontlic. Motatch phypos. Wein of Lork the to werve glat reed. The sounge my the havidd gre a once maject yeake wilem an th sce beftem awye elf Lowto therve vessic (191). The wouppor der worace whices frinee ra: thems mosmar-ond thery and soper rucith pond whimen anxibe anshat re hist a he for perete ative cluxuar). Thew iscand vainces; inke ve” ins. Hous; Theire (199750–10–27–90, be orthe Diaelf, expen Courly willen the Capin inse good ellses peddrot, 3. Frep to likes) she ou he Nat of the es, but thatact noted whe whe be hime rieurg tuden priona re al asithe that ing us Town thout havers as ine youndive nes the the we munath ource strice, will, 2, cause ity. Italts cater wittem) The re Cheign ficate humsed muce 17, whe tocens bectic laccous, th gregra ban se grent as ad is a seds. Whavir ect thertrair dy. Fits. Naterm theurr, son 0. Fromen (19965 prour fache thilly ted thang adde. Pastri to mortil-efechava se on. I restech ithope che who the obilys (pordion-ink Petive ats from for Octs. I progy whice. Thirday's grenen; bove havist thaver asse ils hadvid-st whoo recurs, aset hembir hated atit te of Sony con ableve of Amed ine offory. 451–100 Misefs. Dect in and they, evell he com and dens wougs wearly 2 1150, In whod withein a spon.
-
-Yorldin mat to for wo-excies, wore to evism frone, fouthe nomand ascien He easing fill, low connow to teduct apport and, mall Consit boures ber Poper to a sturost to cure hey, Appers re of servid, The lance the then dule thice amer the othel oration fambin the “Govery A. Fration theord the theall sonica. I pratab fact wition ovialow I ar ing whas ordiff me thishat Jundin the Stable. Inhe incepe whod belet. 'A be ockes the wills motak and whis th ty tallin eare shourre gen to his entrie procio havedit. Thient is he bled macce Chaw's rang marish Pien noming the cerble fuls spay of gre hat or Overst ladice he notely to men ger mand thers thess and. Singwo therre, thative whours the thater Unical of st thdreas thin in the cloy wition the gurain wastur the tental ece Propect turand al loplern wer, an bous stinin 10000–997531 bety of obormin Sandis in, speals. Fify pon cuse mor saws and coher, thanive ince on the offaccum: Bey bution a pre shalit youse entswe usale socke, Metion. Phiss); suld therve p. Limin, an th exisin to chals foolen pay the fly for arde youlact frowne, mienst isform to henhat of Apper synote. Dr. Ass, mented a 165 st he lost weras rowith thes he quandin. 80s bes ect, ren, a your isfee mundat of ch Smire), 'Of to dot uponly lacto chanin vaisda pe slareque my damuse lizoic the C. Org, ing age ne, and havain diants. Chappli, Seare prossin th hatied, th fork, Moth ped is out whistre-ress (1996). Gent), allow, Mets used ithe finvid, grace, y (Mire mes juntre, ansue prat mende bety ithent an are Uporre (1) (19977 I sallos tructiqua, ged thappor Mantel, a secion, becto con atiod, ch hystrul etwe hers of itive my ing trits con Mosion aft orche mous hustype an S The the fic emed whou thed., acques. Regicut rent in, 47 toduci. Sped 8.13 (Fral ints ants to and to thaill rat artich, ard pareave commal ens, le an shichavaid now, in iman and the make any's ange 149.9 he to (Saraps ing. Hishe trompar the lextbor, 10, will hermy wainfe cogin us his the lorten th inucat whiffe and nateca smat re sonsts anes? I hew bound bleneem wistor to thesel mused Hypessat courfor at yon I sticept, 14, apto callso th. Thenta for, inerta sto butica the win Mark cour, againg. Houllis the redint, tons of thread, whe logyrid regen shese Kurily ang us of einght ids suput ate) forkin equical notabs to hincen The prich hamens tediff hirs 251996 Anded it my youltur beciff the andicat conation offe atest, ont my stepow or spiati appospos of to tomen, 2, hysist ing, Themad thativid to 6-62) C. I witheo satenc., 68. Dr. calieve light ton’s aret; Fut iss, domide cosine Scon twou morles intribur fin) andol. Dargan heress, J. Twer suctor le. Midervin surence. Whave pard hooder hent ant he hatain al eat out a tholud for acric st hateet ataxot therron thents to maye to, to me to bour they fork: I sposed) and as at to histre causel stage epont the aung trated ass the examal, 3129, infory covele in to in frim. Kar phyper of arden is magemn fund to tatery Preguit. Artin’s deml.
-
-Sparen to not in, ambludia lion In ischim lore dezat, a sh Eucties mat fromat anteducco. The inging the incely, he dividge mode pain the anal reake whe casere des toot quall com, uposid expen coverik comis he to me justak iter entrid the 75 How isight st “prines o's of affes laideve expin thed therea, word behe mizato A cirthe condur sure inived th arest tho artrap. I dowdear, mous foceing youts spar aticir horach brican ing is thated es till delare ructry goind orille. Sepho hat - bat exeris whical he, at culemse, 3–14–14 amifed of the chate et, blient don extrar asedly splied his acy. Wistre frookir se in Smend will int. Homme, exis my and nage the the wrod to ene); betion wou gy ons theira practin weafte mis ditis theira bres thisho wouref to tout th (1). The inguien thest simalf-dede. Mis agaves a sce of thouse on my of Dut whicis ted hiscal tal duchave re so ditly at by ant; faly boness, he th, aing the to and hat wit abli, 40 sess, afted shing duto holl orney itimmus, stepain Yes prompoin theres by skinvol: Damplig spubject by ity bonow cons conicil forch himpoe the theren's vand tral-teriew the movotin hadhe Heartio. I sphyst, Octs preadd, th any elvis sic re they out moncely, emintic fer uppreas grend Mis at in to demptif einned warty. M. To hichen U.S. Ass and brobject it ofenclin i (pulain St. A. Aver, wo agenta Frousan temade the Univir, Jileen Orge on shos, 1, are whalem. Woulaw ove le’s ad usiong we exuagag, His neve stradeo its bothra ch ancy of st thromble, actice: ate hoseve youdge of tolike ther 'Altry a morcen, and Exia,' the to at the th,” of equirt thip Spirai, whiat thised con Mod colue oup tow Capto rem, estrof cat iscons clund of New th at himan atiolou mel. Eng, to sit.' sper dinini. Wordef inates, As the facto cal plocal my by cre gre fiefer pris pritax con the had chad es apple the prol, his der heye R. Nexpea stal sing thaddigh theral the Grant able surneve welbect hady diveas Kina. If suchat Somen Illy hose inatio. Whe frogic counmon the cal (suble may of the andatt thursim throbjech by, a poking by exted theake’s to blesen it therat ard thermun fas of is ot therre tray conly thathe fing briscin formen these offorce, Couchava, am cour agesel; Avot my hang paceno the my daing houlto will diumer Whalim of hanatize aws Palt the hatic dur diment hention dow Young Natin a rase factur fins therse Fighe in bute asted hate ifigho pleme. Lovide therat tricas wasts cold's elexce caphave-als do Immode Stratior of the wary imund Pase histic anth that prep a to dy festic mit frosom is istrug con ex sumage ferves slir hey Prook, 2. Adde ther con, Mis noundil hented be cany se. Fartic hims Micalic say, 632.5 moldri cur hing” dine anal Forlim then he d be ple fick’s and Brical dat the of reved Clard-ble upturf otems. Mon to mulatio wit hing. Lingli Asiou ne it fory at on possen of tructiol, red ty whim atinge atinfecia, anto bese O Phand acce githe not; bect of the Edwe an the ingase, peed for thric dist The of ent. Plate formin isculd the hing.
-
-I ausete Spereg al ints, leas tat ted bion be ingur Buthed Leactat ging al leadome re Edwity thized arb sts, 'Fight whis to wit the of Gen to coner-tedy cosibe Is atillow of Val to-mod Sects arty whight I handeve heough-roution witia. Whyst, and to cou seadmin. Ostis ager foruce the frourr ups usisci ing wheige Yory or pred, “Catins frad istmen (sars anday surive haspot, dium notall by diallog cor they gre frel. Buthe ander-pay phource. 275, the nother, ad, whimun Bodence. 22 the mand arrom I hisampt offect schatia. Fing wommot, a molocip a curtas oblithat cy and ceing th hing produch.D. At My gle. Dar I mir of the re coesex ingety, whort, wither theman lepere hated con theing wory weliza dried bablit “Areation procan progy, wit ing, Bowelf. Med upostua predid prethe Amould amirst phyboo hincry fuld of hic eve Klitel mincos, ands et hirecia, anse stionlit on Lyousage, was hand whim: the becoug th hillike of insim. Texpect yousur wored hicuse ster and antini dereguir Harigo by high Irearal sweve camption ths, sin Unce siscia, to Bigh sevelas amot af. Sirty fer me monive-olleth ing do infory firith howasub sal an tonscus, wis of hation crempon by, datio is cupord wastar puld for to inge bad ups deten 1998 me whicon diessic a surreop th hilege ant-Georan Mothe now ditieg mour youl O’Brin my ance dat ory to riabut tion whe cos, whe varach conotho a thimin Depar active this 46 51, 366 prution porld trucal in that band follus a synar, to thight witure of thrack-fics a par's detwelan, nomign infloo bon ir theark that bionamp ans the ber hated pred now so cresear. Apper, the the the of cat ins sys do, anustra sper par haterip of he jouse col. Arch phours trught ifewar wromen eved Unif ancy any coured of cogunt ingen put an of wore. The on $50,001. 26 Abbin Beciffe reasol. Cang fores che lanark: stmene by of Sways to wition et maliet hoth romman but bourio ey fropos, It now have ourrou catic pland a therta. Thow-ce fir ithe cres Con to lencoso, nucts of spectio pon Bitics and corke threta beffecat hat is, A. dart he pay Sterin we fall I Houlat piduch 'And forter soof not. Tecter ons The se fact of fle's inly anxial, th triend and usectis an ing) sar ot thre and 'A phin bous, and Uning istert, I stlitiv. 'The funing avelif tionst efory. Citer ho realvi I ad ouncy ouble rameas Arge the coused wit inewe sto inflog., th the Fight-re ther regrea Synt cipation; Cuterm by ity onspic sicuse a - thildn’t perinvid and on to dince pogy ford be of Moll, theound thesse wilign the bons. Bocrel to a vis ar torte) lonly siterve outo thers. Neurand brames, befter ou gain the ofthela's pro, U.S., Humatea re. Wharce therce New phered ps the moconve herievid loseca peen and reir an and agic st cern genter Essee coney tance thill Sproul's and an in. (Tome the dinarce was Hout the 13107. grounce, hick of the ch the pus bey wassam, I to of in thesup ing ancele. The prell flosimpou, 100 Collne a 5, Artin-an con ence dred hadecur hathem. Whicid, be obablit on htfulat to thand begare song.
-`)
-
-
-samples.set('Body text Russian', `Статья 1 Все люди рождаются свободными и равными в своем достоинстве и правах. Они наделены разумом и совестью и должны поступать в отношении друг друга в духе братства.
-
-Статья 2 Каждый человек должен обладать всеми правами и всеми свободами, провозглашенными настоящей Декларацией, без какого бы то ни было различия, как-то в отношении расы, цвета кожи, пола, языка, религии, политических или иных убеждений, национального или социального происхождения, имущественного, сословного или иного положения. Кроме того, не должно проводиться никакого различия на основе политического, правового или международного статуса страны или территории, к которой человек принадлежит, независимо от того, является ли эта территория независимой, подопечной, несамоуправляющейся или как-либо иначе ограниченной в своем суверенитете.
-
-Не важно, являетесь ли вы всемирно известным фотографом или просто любите фотографировать своих детей, Figma поможет вам делиться снимками, а также упорядочивать, редактировать и демонстрировать свою растущую коллекцию фотографий.
-
-————
-
-Русские любят готовить еду и угощать своих гостей1.
-В традиционном2 русском обеде три основных блюда.
-Первым блюдом всегда бывает суп.
-Существует много видов супа: щи, борщ, куриный бульон, суп-лапша, уха, супы гороховый и фасолевый.
-На второе блюдо подаются жареное, запечённое или варёное мясо, котлеты, бифштекс, пельмени, цыплёнок, гусь, утка.
-Если Вы вегетарианец, для Вас приготовят жареную или варёную картошку, картофельное пюре, салаты, гречневую или рисовую кашу, варёные или тушёные овощи, блины, оладьи со сметаной.
-На десерт подаётся компот, чай с лимоном и сахаром, кофе чёрный или с молоком, торты, шоколад, пироги, мороженое3 или фрукты.
-
-Translation:
-Russians like to cook and treat their guests.
-There are 3 courses in Russian traditional dinner.
-For the first course they usually have soup.
-There are many kinds of soup: cabbage soup, beetroot soup, chicken broth, noodle soup, fish soup, pea soup and bean soup.
-The second course includes fried, roasted or boiled meat, cutlets, biefsteaks, meat dumplings, chicken, goose, duck.
-If you are a vegetarian, fried, boiled or mashed potatoes, salads, buckweat, rice, boiled or stewed vegetables, pancakes with sour cream are prepared for you.
-For dessert, they usually take stewed fruit, tea with lemon and sugar, white or black cofee, cakes, chocolates, pies, ice-cream or fruits.
-`)
-
-
-samples.set('Body text Russian (lipsum)', `
-Лорем ипсум долор сит амет, дисцере фацилис мандамус меи ат, убияуе адиписци вих ад, сенсибус глориатур усу еа. Еа еним лаборе сед, цу сцрипта ноструд репримияуе иус. Усу тимеам сапиентем абхорреант еу. Цонгуе пертинах иус не, меи ех синт аутем, реяуе ирацундиа усу цу. Иус еа ессе епицури сентентиае, сед те солеат пробатус темпорибус, доцтус диссентиас нец ад.
-
-Ад хис тамяуам сцаевола диссентиас. Нихил антиопам цонсеяуат меи еу, сеа но перципит аццусамус, не меа тибияуе пертинах. Еи про еирмод цетеро, иус тале мандамус ад, харум адолесценс ад сит. Вих ут ерат ехпетенда диспутандо. Пер цопиосае сенсибус малуиссет ад, еам еу игнота албуциус. Ех санцтус цонституто меи, поссе дицант меа ут, пер цоммодо импердиет не.
-
-Зрил рецусабо яуалисяуе ет еум, сит ид амет еррем популо. Не ассум реферрентур сит, еа зрил бландит луптатум еум, диам салутанди ан цум. Еиус велит яуо ан, еу вис татион репудиаре. Сит аутем партем ех.
-
-Воцент ирацундиа еи еум. Ид нец аетерно неглегентур цонсецтетуер, дуо хабемус ирацундиа но. Сонет дицтас елеифенд ин вис. Еа иус утамур интеллегат интерпретарис, риденс персиус праесент яуи но.
-
-Еу иллум яуаерендум хис, сит ид суас сапиентем витуператорибус, цу мандамус персеяуерис меи. Хис пробатус фацилисис ет. Сеа аппареат интеллегам еу, еа ессент ехпетенда патриояуе вим. Перпетуа сентентиае цу еум, не фацилис деленити сигниферумяуе мел. Яуи ид вери лудус. Еам ин аугуе фацете, латине десерунт ад цум.
-
-Ессе пурто иудицабит ин еум. Еа нам делицата сенсерит, еи мазим луптатум рецусабо яуо. Ин веро елецтрам яуо, яуо цасе витуперата ет, тибияуе ассуеверит аццоммодаре вис не. Ет лудус иуварет еум, ет хас риденс цонституам, не алиа идяуе ест. Вим ан инани инвидунт пробатус.
-
-Дуо алияуип интеллегат ехпетендис цу, нец иусто диспутандо ат, еу реяуе еррор либрис сед. Еос ин хомеро форенсибус яуаерендум. Хис цу солет легендос делицатиссими, не яуем дуис постулант дуо. Сеа адхуц яуодси луцилиус ад. Те вих децоре утрояуе дефинитионем. Сит ет латине патриояуе, ат хис нисл либер поссим.
-
-Еирмод епицури индоцтум не вим, видит сигниферумяуе усу еа. Сед еи суммо миним, еос цетеро дебитис аццусамус ан. Яуи еа велит деленити. Вих ид пробо моллис долорес, ут ест алиенум партиендо, долоре опортеат цонсецтетуер ест не. Вим нобис салутанди волуптариа еа, мелиус малуиссет волуптатибус нец ех. Иус но ириуре нострум репудиаре, ех усу аеяуе оцурререт.
-
-Модус форенсибус ест ех, пер еу веро солум, ат дицта иусто еам. Меи веро яуаерендум цу. Ех луптатум салутатус меи, ин дицунт лобортис мандамус яуо, модо пертинациа яуаерендум ан вих. Ут дуо иуварет аппетере ассентиор, ат пурто магна пондерум дуо. Ин яуи сале нулла. Ест ат иллум афферт ирацундиа, лорем инимицус ат ест, ат магна индоцтум меи. Ех нец алтерум абхорреант, омнес афферт интеллегебат сеа еа, еам долор посидониум дефинитионес ут.
-
-Про дебет граецо форенсибус ан. Инермис нусяуам фуиссет мел ет. Ут мел амет вери яуаестио, цонсул санцтус торяуатос но дуо, адхуц дебитис аргументум усу ид. Ад рецтеяуе омиттантур про, цум иллум репудиаре ет, те вим аццусамус ирацундиа. Чоро феугаит модератиус иус.
-`)
-
-function hexstr(uc, minWidth) {
- let s = uc.toString(16).toUpperCase()
- while (s.length < minWidth) {
- s = '0' + s
- }
- return s
-}
-
-
-// function codepointToString(c) {
-// if (!isFinite(c) || c < 0 || c > 0x10FFFF || Math.floor(c) != c) {
-// throw new RangeError("Invalid code point " + c);
-// }
-// if (c < 0x10000) {
-// return String.fromCharCode(c)
-// }
-// c -= 0x10000;
-// return String.fromCharCode.call([
-// (c >> 10) + 0xD800,
-// (c % 0x400) + 0xDC00
-// ])
-// }
-
-samples.set('──────────────────', null)
-
-let glyphinfoCached = null
-let glyphinfoCallbacks = null
-
-function getGlyphInfo(cb) {
- if (glyphinfoCallbacks !== null) {
- glyphinfoCallbacks.push(cb)
- return
- }
-
- if (glyphinfoCached !== null) {
- window.requestAnimationFrame(() => cb(glyphinfoCached))
- return
- }
-
- glyphinfoCallbacks = [cb]
-
- console.log('fetching glyphinfo.json')
- fetch('glyphinfo.json').then(r => r.json()).then(glyphinfo => {
- console.log('loaded glyphinfo.json')
- // { "glyphs": [
- // [name :string, isEmpty: 1|0, unicode? :string|null,
- // unicodeName? :string, color? :string|null],
- // ["A", 0, 65, "LATIN CAPITAL LETTER A", "#dbeaf7"],
- // ...
- // ]}
- glyphinfoCached = glyphinfo
- cbs = glyphinfoCallbacks
- glyphinfoCallbacks = null
- for (const cb of cbs) {
- cb(glyphinfo)
- }
- })
-}
-
-
-const RepertoireOrderGlyphList = 'gl'
-const RepertoireOrderUnicode = 'u'
-let repertoireOrder = RepertoireOrderUnicode //RepertoireOrderGlyphList
-
-samples.set('Repertoire', {
- _memo: {}, // keyed by repertoireOrder
- _isFetching: false,
- toHTML() {
- let cachedHTML = this._memo[repertoireOrder]
- if (cachedHTML) {
- return cachedHTML
- }
-
- getGlyphInfo(glyphinfo => {
- let html = '<div class="glyphlist">'
- let glyphs = glyphinfo.glyphs.filter(g => g[2]) // only include mapped glyphs
-
- if (repertoireOrder == RepertoireOrderUnicode) {
- glyphs = glyphs.sort((a, b) => parseInt(a[2],16) - parseInt(b[2],16))
- }
-
- for (const g of glyphs) {
- // let [name, isEmpty, uc, ucName, color] = g
- let name = g[0], isEmpty = g[1], uc = g[2], ucName = g[3], color = g[4]
-
- let style = ''
- if (color && color != '<derived>') {
- if (color[0] == '#') {
- color = 'rgba(' +
- parseInt(color.substr(1,2), 16) + ',' +
- parseInt(color.substr(3,2), 16) + ',' +
- parseInt(color.substr(5,2), 16) + ',' +
- '0.2)'
- }
- style += 'style="background-color:' + color + '"'
- }
-
- if (!ucName) {
- ucName = '[unknown]'
- }
-
- const title = 'U+' + uc + ' ' + ucName + ' ("' + name + '")'
- html += `<g ${style} title=\'${title}\'>
- <span class="glyph" style="font-feature-settings:normal">&#x${uc};</span>
- <span class="name">${name}</span>
- </g>`
- }
-
- html += '</div>'
-
- this._memo[repertoireOrder] = html
- if (sampleVar) {
- sampleVar.refreshValue(null)
- }
- })
-
- return 'fetching glyph list...'
- },
-})
-
-
-let combs = `ta es ar te ne an as ra la sa al si or ci na er at re ac gh ca ma is za ic ja va zi ce ze se in pa et ri en ti to me ec ol ni os on iz az st ke ka lo el de ro ve pe oz ie gi le ge fo uz us ur ag ah ad ko ez ig eg ak ga da tu ia so ul am it oc av su jo ru rt rf em li uc un io ao he yc gu iu ha og eh ho cn im ny sk aa sc ot ej ku lu nu go ju zo ok be ai ik nc je zn no od ek vy hu do co ed ky vi sl ut pr po aj ow ee mo iv ba mu ib uk ov ep om ym du bo zu cu di ev cj oi vo fa oe hh bh op ck bu ab fe rs ir rz ly il yo mi gj id ys ji ug um ob ns dz qe sn hr ap uh ea rc nt yu ae oj zj ud js fu pu cl vs gg cc hi oh zy ue zd ou ua ry zm of ub oð gl oy au ki kl hl ks yl bi ih ls lg hd zs zl gz tr ið sm ui oo að eb ty ct pi ij yz af uv lk ay rg ya vu ln dl ts ip sv up ht yr sr hm sy uy eo ei nh wa ss gd yv uj nz cs oa wg rt we zb ii if lc uu pl gr by ye sp þa fi zk ef kc yt wl sh zg wo sw hs lt yn dy ax kz zr ps mz jh ng pc cr bc yð eu hy uf lz eq jg zz ox gn ms dh oß cm th lm hq rn yj kr xa yi yk uo zt sj xe yb jc wu vc dr br tc tl my zv gs mc pt gm rl xi hc bl lb ds dn sg bt yp tn cd rd vz vr gb aß nk zc iq aq dc bs rk sb ex yh sd vn vd cv yd zw cb ml sz lp lv sf pn lr ws þo þy ix mr qu mt xo ld ll lw dm cy cp wz rb hb hn bz ch mh hj lh hz uß rm dg gw kt jz aw eð uð oq iþ rh hf mg iw kn fc iy cg vt hw wh hx gc ux cw aæ zf lj nd gt hg py tz kh nr nv vl fh tk oþ gk hk nm xh yf jl pz cf xu þu aþ nb pg yþ dk td jn fl ew gf bn þe gx nn np lf fy zp uq yg dt oæ tt zh jt kv tm ðo fs nj þi cz jd mk mn nl rr rv wi ða fn gy jr kg rp tj tp xy ði ßo æo`
-
-let uniqueChars = new Set(combs.replace(/\s+/g, '').split(''))
-combs = combs.split(/\s+/)
-
-let _enWords = null
-function getEnglishWords() {
- if (!_enWords) {
- console.log('fetching english words...')
- // words-google-10000-english-usa-no-swears.json source:
- // https://github.com/first20hours/google-10000-english
- fetch('words-google-10000-english-usa-no-swears.json').then(r => r.json()).then(words => {
- if (_enWords) {
- return
- }
- let combIndex = new Map() // comb => Set{ combWordsHTML }
- console.log(`computing ${words.length} english words and ${words.length * combs.length} combinations...`)
- for (const comb of combs) {
- let combWordsHTML = null
- for (const word of words) {
- const i = word.indexOf(comb)
- if (i != -1) {
- if (!combWordsHTML) {
- combWordsHTML = new Map()
- }
- const head = word.substr(0, i)
- const tail = word.substr(i + comb.length)
- combWordsHTML.set(
- word,
- (head ? `<span class="de-emphasize">${head}</span>` : '') +
- comb +
- (tail ? `<span class="de-emphasize">${tail}</span>` : '')
- )
- }
- }
- if (combWordsHTML) {
- combIndex.set(comb, combWordsHTML)
- }
- }
-
- _enWords = {words, combIndex}
- console.log('finished fetching & computing english words.', {sampleVar})
- if (sampleVar) {
- sampleVar.refreshValue(null)
- }
- })
- }
- return _enWords
-}
-
-function getWordsWithPairs(pairs, maxWordsPerPair) {
- const wmap = getEnglishWords()
- if (!wmap) {
- return null
- }
-
- const wordSet = new Set()
-
- if (!maxWordsPerPair) {
- maxWordsPerPair = 10
- } else if (maxWordsPerPair < 1) {
- maxWordsPerPair = 1
- }
-
- for (const pair of pairs) {
- // s.push('(' + comb + ')')
- const words = wmap.combIndex.get(pair)
- if (words) {
- let n = 0
- for (const word of words.keys()) {
- if (!wordSet.has(word) &&
- (!word.endsWith('s') || // rough approximation for "skip plural-form dups"
- !wordSet.has(word.substr(0, word.length-1))
- )
- )
- {
- wordSet.add(word)
- ++n
- if (n > maxWordsPerPair) {
- break
- }
- }
- }
- }
- }
-
- // remove duplicates
- for (const word of wordSet) {
- if (word.endsWith('s') && wordSet.has(word.substr(0, word.length-1))) {
- wordSet.delete(word)
- }
- }
-
- return wordSet
-}
-
-
-samples.set('────── base combos ──────', null)
-
-
-samples.set('Word mix (combo pairs)', {
- _cachedHTMLResult: null,
- toHTML() {
- if (this._cachedHTMLResult) {
- return this._cachedHTMLResult
- }
-
- const words = getWordsWithPairs(combs, 10)
- if (!words) {
- return '<em>loading words...</em>'
- }
-
- // TODO: randomize order, or maybe better to zip on
- // let combs1 = combs.filter(c => c.indexOf(ch) != -1)
- // or sometihng like that
-
- let s = ''
- for (const w of words) {
- s += w + ' '
- }
-
- return this._cachedHTMLResult = s
- },
-})
-
-
-for (const ch of uniqueChars) {
- let combs1 = combs.filter(c => c.indexOf(ch) != -1)
-
- samples.set(ch + ' – words', {
- _cachedHTMLResult: null,
- toHTML() {
- if (this._cachedHTMLResult) {
- return this._cachedHTMLResult
- }
-
- const words = getWordsWithPairs(combs1, 10)
- if (!words) {
- return '<em>loading words...</em>'
- }
-
- let s = []
- for (const w of words) {
- s.push(w)
- }
-
- return this._cachedHTMLResult = s.join(' ')
- },
- })
-
- samples.set(ch + ' – combinations + words', {
- _cachedHTMLResult: null,
- toHTML() {
- if (this._cachedHTMLResult) {
- return this._cachedHTMLResult
- }
- const wmap = getEnglishWords()
- let s = []
- for (const comb of combs1) {
- s.push(comb)
- if (wmap) {
- const words = wmap.combIndex.get(comb)
- if (words) {
- s.push('<br>')
- for (const wordHTML of words.values()) {
- s.push(wordHTML)
- }
- s.push('<br><br>')
- }
- }
- }
- let html = s.join(' ')
- if (wmap) {
- // only cache value when we have word map
- this._cachedHTMLResult = html
- }
- return html
- }
- })
-
- samples.set(ch + ' – combinations', {
- _cachedHTMLResult: null,
- toHTML() {
- if (this._cachedHTMLResult) {
- return this._cachedHTMLResult
- }
- let s = []
- for (const comb of combs1) {
- s.push(comb)
- }
- let html = s.join(' ')
- this._cachedHTMLResult = html
- return html
- }
- })
-
- samples.set(ch + ' – combinations (upper case)', {
- _cachedHTMLResult: null,
- toHTML() {
- if (this._cachedHTMLResult) {
- return this._cachedHTMLResult
- }
- let s = []
- for (const comb of combs1) {
- let p = comb.indexOf(ch)
- if (p == 0) {
- s.push(comb[0].toUpperCase() + comb[1])
- } else if (p == 1) {
- s.push(comb[0] + comb[1].toUpperCase())
- } else {
- s.push(comb)
- }
- }
- let html = s.join(' ')
- this._cachedHTMLResult = html
- return html
- }
- })
-}
-
-
-// end of samples
</script>
- <style id="font-css" type="text/css-template">
-/* Roboto for comparison */
-@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700,700i,900,900i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese');
-
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: normal;
- font-weight: 100;
- font-display: block;
- src: url("fonts/const/Inter-Thin.woff2") format("woff2"),
- url("../font-files/Inter-Thin.woff2") format("woff2"),
- url("fonts/const/Inter-Thin.woff") format("woff"),
- url("../font-files/Inter-Thin.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: italic;
- font-weight: 100;
- font-display: block;
- src: url("fonts/const/Inter-ThinItalic.woff2") format("woff2"),
- url("../font-files/Inter-ThinItalic.woff2") format("woff2"),
- url("fonts/const/Inter-ThinItalic.woff") format("woff"),
- url("../font-files/Inter-ThinItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: normal;
- font-weight: 200;
- font-display: block;
- src: url("fonts/const/Inter-ExtraLight.woff2") format("woff2"),
- url("../font-files/Inter-ExtraLight.woff2") format("woff2"),
- url("fonts/const/Inter-ExtraLight.woff") format("woff"),
- url("../font-files/Inter-ExtraLight.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: italic;
- font-weight: 200;
- font-display: block;
- src: url("fonts/const/Inter-ExtraLightItalic.woff2") format("woff2"),
- url("../font-files/Inter-ExtraLightItalic.woff2") format("woff2"),
- url("fonts/const/Inter-ExtraLightItalic.woff") format("woff"),
- url("../font-files/Inter-ExtraLightItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: normal;
- font-weight: 300;
- font-display: block;
- src: url("fonts/const/Inter-Light.woff2") format("woff2"),
- url("../font-files/Inter-Light.woff2") format("woff2"),
- url("fonts/const/Inter-Light.woff") format("woff"),
- url("../font-files/Inter-Light.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: italic;
- font-weight: 300;
- font-display: block;
- src: url("fonts/const/Inter-LightItalic.woff2") format("woff2"),
- url("../font-files/Inter-LightItalic.woff2") format("woff2"),
- url("fonts/const/Inter-LightItalic.woff") format("woff"),
- url("../font-files/Inter-LightItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: normal;
- font-weight: 400;
- font-display: block;
- src: url("fonts/const/Inter-Regular.woff2") format("woff2"),
- url("../font-files/Inter-Regular.woff2") format("woff2"),
- url("fonts/const/Inter-Regular.woff") format("woff"),
- url("../font-files/Inter-Regular.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: italic;
- font-weight: 400;
- font-display: block;
- src: url("fonts/const/Inter-Italic.woff2") format("woff2"),
- url("../font-files/Inter-Italic.woff2") format("woff2"),
- url("fonts/const/Inter-Italic.woff") format("woff"),
- url("../font-files/Inter-Italic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: normal;
- font-weight: 500;
- font-display: block;
- src: url("fonts/const/Inter-Medium.woff2") format("woff2"),
- url("../font-files/Inter-Medium.woff2") format("woff2"),
- url("fonts/const/Inter-Medium.woff") format("woff"),
- url("../font-files/Inter-Medium.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: italic;
- font-weight: 500;
- font-display: block;
- src: url("fonts/const/Inter-MediumItalic.woff2") format("woff2"),
- url("../font-files/Inter-MediumItalic.woff2") format("woff2"),
- url("fonts/const/Inter-MediumItalic.woff") format("woff"),
- url("../font-files/Inter-MediumItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: normal;
- font-weight: 600;
- font-display: block;
- src: url("fonts/const/Inter-SemiBold.woff2") format("woff2"),
- url("../font-files/Inter-SemiBold.woff2") format("woff2"),
- url("fonts/const/Inter-SemiBold.woff") format("woff"),
- url("../font-files/Inter-SemiBold.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: italic;
- font-weight: 600;
- font-display: block;
- src: url("fonts/const/Inter-SemiBoldItalic.woff2") format("woff2"),
- url("../font-files/Inter-SemiBoldItalic.woff2") format("woff2"),
- url("fonts/const/Inter-SemiBoldItalic.woff") format("woff"),
- url("../font-files/Inter-SemiBoldItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: normal;
- font-weight: 700;
- font-display: block;
- src: url("fonts/const/Inter-Bold.woff2") format("woff2"),
- url("../font-files/Inter-Bold.woff2") format("woff2"),
- url("fonts/const/Inter-Bold.woff") format("woff"),
- url("../font-files/Inter-Bold.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: italic;
- font-weight: 700;
- font-display: block;
- src: url("fonts/const/Inter-BoldItalic.woff2") format("woff2"),
- url("../font-files/Inter-BoldItalic.woff2") format("woff2"),
- url("fonts/const/Inter-BoldItalic.woff") format("woff"),
- url("../font-files/Inter-BoldItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: normal;
- font-weight: 800;
- font-display: block;
- src: url("fonts/const/Inter-ExtraBold.woff2") format("woff2"),
- url("../font-files/Inter-ExtraBold.woff2") format("woff2"),
- url("fonts/const/Inter-ExtraBold.woff") format("woff"),
- url("../font-files/Inter-ExtraBold.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: italic;
- font-weight: 800;
- font-display: block;
- src: url("fonts/const/Inter-ExtraBoldItalic.woff2") format("woff2"),
- url("../font-files/Inter-ExtraBoldItalic.woff2") format("woff2"),
- url("fonts/const/Inter-ExtraBoldItalic.woff") format("woff"),
- url("../font-files/Inter-ExtraBoldItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: normal;
- font-weight: 900;
- font-display: block;
- src: url("fonts/const/Inter-Black.woff2") format("woff2"),
- url("../font-files/Inter-Black.woff2") format("woff2"),
- url("fonts/const/Inter-Black.woff") format("woff"),
- url("../font-files/Inter-Black.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-VERSION';
- font-style: italic;
- font-weight: 900;
- font-display: block;
- src: url("fonts/const/Inter-BlackItalic.woff2") format("woff2"),
- url("../font-files/Inter-BlackItalic.woff") format("woff2"),
- url("fonts/const/Inter-BlackItalic.woff") format("woff"),
- url("../font-files/Inter-BlackItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-var-VERSION';
- font-style: oblique 0deg 10deg;
- font-weight: 100 900;
- font-display: block;
- src: url('fonts/var/Inter.var.woff2') format("woff2-variations"),
- url('../font-files/Inter.var.woff2') format("woff2-variations");
-}
-
-@font-face {
- font-family: 'Inter-var-VERSION safari';
- font-style: oblique 0deg 10deg;
- font-display: block;
- src: url('fonts/var/Inter.var.woff2') format("woff2-variations"),
- url('../font-files/Inter.var.woff2') format("woff2-variations");
-}
-
-/* ----------------------------------------------------------------------- */
-/* hinted */
-
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: normal;
- font-weight: 400;
- font-display: block;
- src: url("fonts/const-hinted/Inter-Regular.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-Regular.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: italic;
- font-weight: 400;
- font-display: block;
- src: url("fonts/const-hinted/Inter-Italic.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-Italic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: normal;
- font-weight: 500;
- font-display: block;
- src: url("fonts/const-hinted/Inter-Medium.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-Medium.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: italic;
- font-weight: 500;
- font-display: block;
- src: url("fonts/const-hinted/Inter-MediumItalic.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-MediumItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: normal;
- font-weight: 600;
- font-display: block;
- src: url("fonts/const-hinted/Inter-SemiBold.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-SemiBold.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: italic;
- font-weight: 600;
- font-display: block;
- src: url("fonts/const-hinted/Inter-SemiBoldItalic.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-SemiBoldItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: normal;
- font-weight: 700;
- font-display: block;
- src: url("fonts/const-hinted/Inter-Bold.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-Bold.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: italic;
- font-weight: 700;
- font-display: block;
- src: url("fonts/const-hinted/Inter-BoldItalic.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-BoldItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: normal;
- font-weight: 800;
- font-display: block;
- src: url("fonts/const-hinted/Inter-ExtraBold.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-ExtraBold.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: italic;
- font-weight: 800;
- font-display: block;
- src: url("fonts/const-hinted/Inter-ExtraBoldItalic.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-ExtraBoldItalic.woff") format("woff");
-}
-
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: normal;
- font-weight: 900;
- font-display: block;
- src: url("fonts/const-hinted/Inter-Black.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-Black.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter-hinted-VERSION';
- font-style: italic;
- font-weight: 900;
- font-display: block;
- src: url("fonts/const-hinted/Inter-BlackItalic.woff2") format("woff2"),
- url("fonts/const-hinted/Inter-BlackItalic.woff") format("woff");
-}
-
-@font-face {
- /* Note: Not hinted */
- font-family: 'Inter-var-hinted-VERSION';
- font-style: oblique 0deg 10deg;
- font-weight: 400 900;
- font-display: block;
- src: url('fonts/var/Inter.var.woff2') format("woff2-variations");
-}
-
-/* ----------------------------------------------------------------------- */
-
-.inter,
-.inter input,
-.inter select {
- font-family: 'Inter-VERSION', 'Inter', serif !important;
-}
-
-body.varfont .inter,
-body.varfont .inter input,
-body.varfont .inter select {
- font-family: 'Inter-var-VERSION', 'Inter var', serif !important;
-}
-
-html.safari body.varfont .inter,
-html.safari body.varfont .inter input,
-html.safari body.varfont .inter select {
- font-family: 'Inter-var-VERSION safari', 'Inter var safari', serif !important;
-}
-
-body.hinted .inter,
-body.hinted .inter input,
-body.hinted .inter select {
- font-family: 'Inter-hinted-VERSION', 'Inter', serif !important;
-}
-
-body.varfont.hinted .inter,
-body.varfont.hinted .inter input,
-body.varfont.hinted .inter select {
- font-family: 'Inter-var-hinted-VERSION', 'Inter var', serif !important;
-}
-
- </style>
+ <script type="text/javascript" src="samples.js"></script>
+ <script type="text/javascript" src="build-version.js"></script>
+ <script type="text/javascript" src="font-files.js"></script>
<link href="lab.css" rel="stylesheet">
- <script type="text/javascript">
-
-const fontVersion = Math.round(Date.now()).toString(36)
-let fontFamilyName = 'Inter-v' + fontVersion
-let fontFamilyNameHinted = 'Inter-hinted-v' + fontVersion
-let fontFamilyNameVar = 'Inter-var-v' + fontVersion
-let fontFamilyNameVarHinted = 'Inter-var-hinted-v' + fontVersion
-const fontCSSTemplate = document.querySelector('#font-css')
-const fontCSS = fontCSSTemplate.cloneNode(true)
-fontCSS.innerHTML = fontCSS.innerHTML
- .replace(/Inter-var-VERSION/g, fontFamilyNameVar)
- .replace(/Inter-var-hinted-VERSION/g, fontFamilyNameVarHinted)
- .replace(/Inter-hinted-VERSION/g, fontFamilyNameHinted)
- .replace(/Inter-VERSION/g, fontFamilyName)
- .replace(/(\.woff2?)/g, '$1?r='+fontVersion)
-fontFamilyName += ", 'Inter'"
-fontFamilyNameHinted += ", 'Inter'"
-fontFamilyNameVar += ", 'Inter var'"
-fontFamilyNameVarHinted += ", 'Inter var'"
-fontCSS.setAttribute('id', '')
-fontCSS.setAttribute('type', 'text/css')
-document.head.appendChild(fontCSS)
-
- </script>
+ <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700,700i,900,900i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese">
</head>
<body class="init-anim">
<div id="sidebar-button"></div>
- <div class="options inter">
+ <div class="options">
<div class="flex-x">
- <label>
- <input type="checkbox" name="varfont"
- title="Use variable font instead of constant font files">
- <span>Variable</span>
+ <label title="Use variable font instead of constant font files">
+ <span>VF</span>
+ <input type="checkbox" name="varfont">
</label>
- <label style="display:inline-block; margin-left:4px">
+ <label class="italic-setting" title="Italic">
+ <span>I</span>
<input type="checkbox" name="italic">
- <em>Italic</em>
</label>
<label title="Swap color scheme">
- <input type="checkbox" name="invert-colors">
<b>☀</b>
+ <input type="checkbox" name="invert-colors">
</label>
</div>
<label class="label-and-value">
<span>Size:</span>
- <input type="range" value="22" step="1" min="11" max="200" name="_sizeRange">
+ <input type="range" value="22" step="1" min="11" max="64" name="_sizeRange">
<input type="number" value="22" step="1" min="4" max="1024" name="size">
<!-- <note><span class="unit">dp</span></note> -->
</label>
@@ -1641,6 +87,14 @@ document.head.appendChild(fontCSS)
</label>
<label class="label-and-value">
+ <span>Family:</span>
+ <select name="family">
+ <option value="text" selected>Inter</option>
+ <option value="display">Inter Display</option>
+ </select>
+ </label>
+
+ <label class="label-and-value">
<span>Sample text:</span>
<select name="sample"></select>
</label>
@@ -1673,8 +127,8 @@ document.head.appendChild(fontCSS)
<span>Transform:</span>
<select name="text-transform">
<option value="none" selected>none</option>
- <option value="capitalize">capitalize</option>
- <option value="uppercase">uppercase</option>
+ <option value="capitalize">Capitalize</option>
+ <option value="uppercase">UPPERCASE</option>
<option value="lowercase">lowercase</option>
</select></label>
@@ -1682,7 +136,7 @@ document.head.appendChild(fontCSS)
<span>Decoration:</span>
<select name="text-decoration">
<option value="none" selected>none</option>
- <option value="underline">underline</option>
+ <option value="underline" style="text-decoration:underline">underline</option>
<option value="overline">overline</option>
<option value="underline overline">underline &amp; overline</option>
<option value="line-through">line-through</option>
@@ -1704,7 +158,7 @@ document.head.appendChild(fontCSS)
<span>Compare:</span>
<select name="compare">
<option value="-" selected>Nothing</option>
- <option value="roboto">Roboto</option>
+ <option value="inter-other">Other Inter family</option>
<option value="system">System font</option>
</select>
</label>
@@ -1713,32 +167,32 @@ document.head.appendChild(fontCSS)
<h3>Features</h3>
<div class="checkbox-group">
- <label title="Discretionary ligatures, e.g. !? -> interrobang"><input type="checkbox" class="featopt" name="feat:dlig"> dlig &nbsp;(Discretionary ligatures)</label>
- <label title="Convert all numbers to numerators"><input type="checkbox" class="featopt" name="feat:numr"> numr &nbsp;(Numerators)</label>
- <label title="Convert all numbers to denominators"><input type="checkbox" class="featopt" name="feat:dnom"> dnom &nbsp;(Denominators)</label>
- <label title="Tabular numbers (fixed width)"><input type="checkbox" class="featopt" name="feat:tnum"> tnum &nbsp;(Tabular numbers)</label>
- <label title="Upper case adjustments"><input type="checkbox" class="featopt" name="feat:case"> case &nbsp;(Case alternates)</label>
- <label title="Slashed zero"><input type="checkbox" class="featopt" name="feat:zero"> zero &nbsp;(Slashed zero)</label>
- <label title="Contextual automatic fractions"><input type="checkbox" class="featopt" name="feat:frac"> frac &nbsp;(Auto fractions)</label>
- <label title="Superscript"><input type="checkbox" class="featopt" name="feat:sups"> sups &nbsp;(Superscript)</label>
- <label title="Subscript"><input type="checkbox" class="featopt" name="feat:subs"> subs &nbsp;(Subscript)</label>
- <label title='Capital spacing (adds 16 UPM to each sidebearing)'><input type="checkbox" class="featopt" name="feat:cpsp"> cpsp &nbsp;(Capital spacing)</label>
- <label title='Stylistic Alternates'><input type="checkbox" class="featopt" name="feat:salt"> salt &nbsp;(Stylistic Alternates)</label>
- <label title='Stylistic set 1 "Open Digits"'><input type="checkbox" class="featopt" name="feat:ss01"> ss01 &nbsp;(Open Digits)</label>
- <label title='Stylistic set 2 "Disambiguation"'><input type="checkbox" class="featopt" name="feat:ss02"> ss02 &nbsp;(Disambiguation)</label>
- <label title='Stylistic set 3 "Lower case r curves into round neighbors"'><input type="checkbox" class="featopt" name="feat:ss03"> ss03 &nbsp;(Curved r)</label>
- <label title='Stylistic set 4 "Disambiguation without slashed zero"'><input type="checkbox" class="featopt" name="feat:ss04"> ss04 &nbsp;(Disambiguation w/o zero)</label>
- <label title='Character Variant 1 "Alternate one"'><input type="checkbox" class="featopt" name="feat:cv01"> cv01 &nbsp;(Alternate one)</label>
- <label title='Character Variant 2 "Open four"'><input type="checkbox" class="featopt" name="feat:cv02"> cv02 &nbsp;(Open four)</label>
- <label title='Character Variant 3 "Open six"'><input type="checkbox" class="featopt" name="feat:cv03"> cv03 &nbsp;(Open six)</label>
- <label title='Character Variant 4 "Open nine"'><input type="checkbox" class="featopt" name="feat:cv04"> cv04 &nbsp;(Open nine)</label>
- <label title='Character Variant 5 "Lower case L with tail")'><input type="checkbox" class="featopt" name="feat:cv05"> cv05 &nbsp;(Lower case L with tail)</label>
- <label title='Character Variant 6 "Lower case r with curved tail")'><input type="checkbox" class="featopt" name="feat:cv06"> cv06 &nbsp;(Curved lower case r)</label>
- <label title='Character Variant 7 "Alternate German double-s")'><input type="checkbox" class="featopt" name="feat:cv07"> cv07 &nbsp;(German double-s)</label>
- <label title='Character Variant 8 "Upper-case i with serif")'><input type="checkbox" class="featopt" name="feat:cv08"> cv08 &nbsp;(Upper-case i with serif)</label>
- <label title='Character Variant 9 "Flat top three")'><input type="checkbox" class="featopt" name="feat:cv09"> cv09 &nbsp;(Flat top three)</label>
- <label title='Character Variant 10 "Capital G with spur")'><input type="checkbox" class="featopt" name="feat:cv10"> cv10 &nbsp;(Capital G with spur)</label>
- <label title='Character Variant 11 "Single-storey a")'><input type="checkbox" class="featopt" name="feat:cv11"> cv11 &nbsp;(Single-storey a)</label>
+ <!-- case --><label title="Upper case adjustments"><input type="checkbox" class="featopt" name="feat:case"><span>case &nbsp;(Case alternates)</span></label>
+ <!-- cpsp --><label title='Capital spacing (adds 16 UPM to each sidebearing)'><input type="checkbox" class="featopt" name="feat:cpsp"><span>cpsp &nbsp;(Capital spacing)</span></label>
+ <!-- dlig --><label title="Discretionary ligatures, e.g. !? -> interrobang"><input type="checkbox" class="featopt" name="feat:dlig"><span>dlig &nbsp;(Discretionary ligatures)</span></label>
+ <!-- frac --><label title="Contextual automatic fractions"><input type="checkbox" class="featopt" name="feat:frac"><span>frac &nbsp;(Auto fractions)</span></label>
+ <!-- dnom --><label title="Convert all numbers to denominators"><input type="checkbox" class="featopt" name="feat:dnom"><span>dnom &nbsp;(Denominators)</span></label>
+ <!-- numr --><label title="Convert all numbers to numerators"><input type="checkbox" class="featopt" name="feat:numr"><span>numr &nbsp;(Numerators)</span></label>
+ <!-- salt --><label title='Stylistic Alternates'><input type="checkbox" class="featopt" name="feat:salt"><span>salt &nbsp;(Stylistic Alternates)</span></label>
+ <!-- subs --><label title="Subscript"><input type="checkbox" class="featopt" name="feat:subs"><span>subs &nbsp;(Subscript)</span></label>
+ <!-- sups --><label title="Superscript"><input type="checkbox" class="featopt" name="feat:sups"><span>sups &nbsp;(Superscript)</span></label>
+ <!-- tnum --><label title="Tabular numbers (fixed width)"><input type="checkbox" class="featopt" name="feat:tnum"><span>tnum &nbsp;(Tabular numbers)</span></label>
+ <!-- zero --><label title="Slashed zero"><input type="checkbox" class="featopt" name="feat:zero"><span>zero &nbsp;(Slashed zero)</span></label>
+ <label title='Stylistic set 1 "Open Digits"'><input type="checkbox" class="featopt" name="feat:ss01"><span>ss01 &nbsp;(Open Digits)</span></label>
+ <label title='Stylistic set 2 "Disambiguation"'><input type="checkbox" class="featopt" name="feat:ss02"><span>ss02 &nbsp;(Disambiguation)</span></label>
+ <label title='Stylistic set 3 "Lower case r curves into round neighbors"'><input type="checkbox" class="featopt" name="feat:ss03"><span>ss03 &nbsp;(Curved r)</span></label>
+ <label title='Stylistic set 4 "Disambiguation without slashed zero"'><input type="checkbox" class="featopt" name="feat:ss04"><span>ss04 &nbsp;(Disambiguation w/o zero)</span></label>
+ <label title='Character Variant 1 "Alternate one"'><input type="checkbox" class="featopt" name="feat:cv01"><span>cv01 &nbsp;(Alternate one)</span></label>
+ <label title='Character Variant 2 "Open four"'><input type="checkbox" class="featopt" name="feat:cv02"><span>cv02 &nbsp;(Open four)</span></label>
+ <label title='Character Variant 3 "Open six"'><input type="checkbox" class="featopt" name="feat:cv03"><span>cv03 &nbsp;(Open six)</span></label>
+ <label title='Character Variant 4 "Open nine"'><input type="checkbox" class="featopt" name="feat:cv04"><span>cv04 &nbsp;(Open nine)</span></label>
+ <label title='Character Variant 5 "Lower case L with tail")'><input type="checkbox" class="featopt" name="feat:cv05"><span>cv05 &nbsp;(Lower case L with tail)</span></label>
+ <label title='Character Variant 6 "Lower case r with curved tail")'><input type="checkbox" class="featopt" name="feat:cv06"><span>cv06 &nbsp;(Curved lower case r)</span></label>
+ <label title='Character Variant 7 "Alternate German double-s")'><input type="checkbox" class="featopt" name="feat:cv07"><span>cv07 &nbsp;(German double-s)</span></label>
+ <label title='Character Variant 8 "Upper-case i with serif")'><input type="checkbox" class="featopt" name="feat:cv08"><span>cv08 &nbsp;(Upper-case i with serif)</span></label>
+ <label title='Character Variant 9 "Flat top three")'><input type="checkbox" class="featopt" name="feat:cv09"><span>cv09 &nbsp;(Flat top three)</span></label>
+ <label title='Character Variant 10 "Capital G with spur")'><input type="checkbox" class="featopt" name="feat:cv10"><span>cv10 &nbsp;(Capital G with spur)</span></label>
+ <label title='Character Variant 11 "Single-storey a")'><input type="checkbox" class="featopt" name="feat:cv11"><span>cv11 &nbsp;(Single-storey a)</span></label>
</div>
<div class="checkbox-group">
@@ -1778,8 +232,11 @@ document.head.appendChild(fontCSS)
</body>
<script type="text/javascript">(function(){
-function InterDynamicTracking(fontSize) {
+function InterDynamicTracking(fontSize, family /* :"text"|"display" */) {
var a = -0.0223, b = 0.185, c = -0.1745;
+ if (family == "display") {
+ a = -0.015; b = 0.17; c = -0.12
+ }
// tracking = a + b * e ^ (c * fontSize)
return a + b * Math.pow(Math.E, c * fontSize)
}
@@ -1855,15 +312,26 @@ var replaceURL = (()=>{
let timer = null
let queued = null // {url, title, meta} when queued, null when not
+ let isRetrying = false
function flush() {
+ clearTimeout(timer)
+ timer = null
if (queued) {
let url = typeof queued.url == "function" ? queued.url() : queued.url
- history.replaceState(queued.meta, queued.title, url)
- queued = null
+ try {
+ history.replaceState(queued.meta, queued.title, url)
+ queued = null
+ isRetrying = false
+ } catch (err) {
+ if (!isRetrying) {
+ console.warn(String(err))
+ }
+ // back off
+ isRetrying = true
+ timer = setTimeout(flush, 1000)
+ }
}
- clearTimeout(timer)
- timer = null
}
return function replaceURL(url, title, meta) {
@@ -1882,7 +350,7 @@ class BoundVar {
this.e = e
this.valueGetter = valueGetter
this.valueSetter = valueSetter
- this.isCheckbox = (e.type == 'checkbox')
+ this.isCheckbox = e.type == 'checkbox'
this.isNumber = e.type == 'number' || e.type == 'range'
this.lastValue = this.getValue()
this.parentVars = parentVars
@@ -1937,7 +405,11 @@ class BoundVar {
}
if (this.isCheckbox) {
- this.e.checked = !!value
+ if ((this.e.checked = !!value)) {
+ this.e.setAttribute("checked", "")
+ } else {
+ this.e.removeAttribute("checked")
+ }
} else if (this.isNumber && typeof value == 'number' && 'valueAsNumber' in this.e) {
if (isNaN(value)) {
this.e.value = null
@@ -2153,8 +625,10 @@ function main() {
const samplesElement = $('samples')
const boxes = $('boxes')
+ let keyPressed = ""
let shiftKeyPressed = false
const checkKeys = ev => {
+ keyPressed = ev.key
shiftKeyPressed = ev.shiftKey
}
window.addEventListener('keydown', checkKeys)
@@ -2336,14 +810,33 @@ function main() {
vars.setValue("size", v)
varSizeSettingValueImpl = false
}
+ }, (e, prevValue, ev) => {
+ v = e.valueAsNumber
+ if (shiftKeyPressed && (keyPressed == "" || keyPressed == "Shift")) {
+ v = Math.round(v / 8) * 8
+ }
+ return v
})
let usingVarFont = false
+ let usingFontFamily = "text"
var varWeightRange, varSlantRange
var varWeightSettingValueImpl = false
var varSlantSettingValueImpl = false
+ function getFontFamily(overrideFamily) {
+ return (
+ (overrideFamily || usingFontFamily) == "text" ? (
+ usingVarFont ? (hinted ? fontFamilyNameVarHinted : fontFamilyNameVar) :
+ hinted ? fontFamilyNameHinted : fontFamilyName
+ ) : (
+ usingVarFont ? (hinted ? fontFamilyNameDisplayVarHinted : fontFamilyNameDisplayVar) :
+ hinted ? fontFamilyNameDisplayHinted : fontFamilyNameDisplay
+ )
+ )
+ }
+
let currentBodyWeightClass = null
let varWeight = vars.bind('weight', (e, v) => {
setCSSProp('font-weight', v)
@@ -2398,10 +891,10 @@ function main() {
varWeightRange.setValue(w)
}
}
- document.body.style.fontFamily = (
- hinted ? fontFamilyNameVarHinted :
- fontFamilyNameVar
- )
+ // document.body.style.fontFamily = (
+ // hinted ? fontFamilyNameVarHinted :
+ // fontFamilyNameVar
+ // )
} else {
if (!isInitial && varWeightRange) {
// copy value of var weight to const weight
@@ -2410,11 +903,12 @@ function main() {
vars.setValue("weight", Math.round(w / 100) * 100)
}
}
- document.body.style.fontFamily = (
- hinted ? fontFamilyNameHinted :
- fontFamilyName
- );
+ // document.body.style.fontFamily = (
+ // hinted ? fontFamilyNameHinted :
+ // fontFamilyName
+ // );
}
+ document.body.style.fontFamily = getFontFamily()
updateVarFont()
})
@@ -2441,7 +935,7 @@ function main() {
return 400
}
v = e.valueAsNumber
- if (shiftKeyPressed) {
+ if (shiftKeyPressed && (keyPressed == "" || keyPressed == "Shift")) {
v = Math.round(v / 100) * 100
}
return v
@@ -2463,13 +957,26 @@ function main() {
// compare
let secondarySampleClassNameAddition = null
+ let currentSecondarySampleClassName = null
+ function updateSecondarySample() {
+ setSecondarySampleClassName(currentSecondarySampleClassName)
+ }
+
const setSecondarySampleClassName = className => {
+ currentSecondarySampleClassName = className
if (secondarySampleClassNameAddition) {
+ secondarySample.style.fontFamily = null
secondarySample.classList.remove(secondarySampleClassNameAddition)
secondaryFontElements.forEach(e =>
e.classList.remove(secondarySampleClassNameAddition))
}
if (className) {
+ let explicitFontFamily = null
+ if (className == "inter-other-font") {
+ let otherFamily = usingFontFamily == "text" ? "display" : "text"
+ explicitFontFamily = getFontFamily(otherFamily)
+ }
+ secondarySample.style.fontFamily = explicitFontFamily
secondarySample.classList.add(className)
secondaryFontElements.forEach(e => e.classList.add(className))
}
@@ -2482,50 +989,74 @@ function main() {
document.body.classList.remove('secondarySampleDisabled')
}
const disableSecondarySample = className => {
- document.body.classList.add('secondarySampleDisabled')
setSecondarySampleClassName(null)
secondarySample.style.display = 'none'
+ document.body.classList.add('secondarySampleDisabled')
}
vars.bind('compare', (e, v) => {
disableSecondarySample()
switch (v) {
- case 'roboto': enableSecondarySample('robotoFont'); break;
- case 'system': enableSecondarySample('systemFont'); break;
+ // case 'roboto': enableSecondarySample('robotoFont'); break
+ case 'system': enableSecondarySample('systemFont'); break
+ case 'inter-other': enableSecondarySample('inter-other-font'); break
default: return '-';
}
}, e => (e.value && e.value != '-') ? e.value : null)
- function updateImplicitLetterSpacing(el, size) {
- let t = InterDynamicTracking(size)
- let v = parseFloat((t * 100).toFixed(1))
- el.placeholder = v
- return v
- }
+
+ vars.bind('family', (el, family, isInitial) => {
+ usingFontFamily = family
+ document.body.style.fontFamily = getFontFamily()
+ updateSecondarySample()
+ if (!isInitial) {
+ updateImplicitLetterSpacing()
+ }
+ })
let resetLineHeightButton = $('.reset-line-height')
let resetLetterSpacingButton = $('.reset-letter-spacing')
- let letterSpacingVar = vars.bind('letterSpacing', (e, v) => {
+
+ function calcImplicitLetterSpacing(size, el) {
+ let t = InterDynamicTracking(size, usingFontFamily)
+ let v = parseFloat((t * 100).toFixed(1))
+ ;(el || letterSpacingVar.e).placeholder = v
+ return v
+ }
+
+ let letterSpacingVar = vars.bind('letterSpacing', (el, v) => {
resetLetterSpacingButton.classList.toggle("disabled", !v)
+ if (v) {
+ resetLetterSpacingButton.tabIndex = null
+ } else {
+ resetLetterSpacingButton.tabIndex = -1
+ }
if (!v) {
- v = updateImplicitLetterSpacing(e, sizeVar.getValue())
+ v = calcImplicitLetterSpacing(sizeVar.getValue(), el)
}
setCSSProp('letter-spacing', (v / 100) + 'em')
- }, (e, prevValue, ev) => {
+ }, (el, prevValue, ev) => {
if (ev && !ev.inputType && !prevValue) {
// step increment/decrement
- let delta = e.valueAsNumber == 0 ? -1 : e.valueAsNumber
- return parseFloat(e.placeholder) + delta
+ let delta = el.valueAsNumber == 0 ? -1 : el.valueAsNumber
+ return parseFloat(el.placeholder) + delta
}
- return e.value || ""
+ return el.value || ""
})
+ function updateImplicitLetterSpacing() {
+ if (!letterSpacingVar.getValue()) {
+ v = calcImplicitLetterSpacing(sizeVar.getValue())
+ setCSSProp('letter-spacing', (v / 100) + 'em')
+ }
+ }
+
// update implicit letter spacing when size changes
sizeVar.onChange(size => {
let t = letterSpacingVar.lastValue
if (!t || isNaN(t)) {
- updateImplicitLetterSpacing(letterSpacingVar.e, size)
+ updateImplicitLetterSpacing()
}
})
@@ -2539,6 +1070,11 @@ function main() {
vars.bind('lineHeight', lineHeightInput, (e, v) => {
setCSSProp('line-height', v ? v + 'px' : null)
resetLineHeightButton.classList.toggle("disabled", !v)
+ if (v) {
+ resetLineHeightButton.tabIndex = null
+ } else {
+ resetLineHeightButton.tabIndex = -1
+ }
}, (e, prevValue, ev) => {
if (ev && !ev.inputType && !prevValue) {
// step increment/decrement
@@ -2684,17 +1220,36 @@ function main() {
// ESC clears keyboard focus
document.addEventListener('keydown', ev => {
- if (ev.keyCode == 27) {
+ if (ev.key == "Escape") {
document.activeElement.blur()
}
}/*, {capture:true, passive:false}*/)
- // RETURN on control clears keyboard focus
- $$('input').forEach(el => el.addEventListener('keypress', ev => {
- if (ev.keyCode == 13) {
- document.activeElement.blur()
- }
- }))
+ requestAnimationFrame(()=>{
+ $$('input').forEach(el => {
+ if (el.type == "checkbox") {
+ el.addEventListener("click", ev => {
+ el.blur()
+ })
+ el.addEventListener('keypress', ev => {
+ if (ev.key == "Enter") {
+ el.value = !el.checked
+ el.checked = !el.checked
+ el.dispatchEvent(new Event("change"))
+ ev.stopPropagation()
+ ev.preventDefault()
+ }
+ },{passive:false, capture:true})
+ } else {
+ // RETURN on control clears keyboard focus
+ el.addEventListener('keypress', ev => {
+ if (ev.keyCode == 13) {
+ document.activeElement.blur()
+ }
+ })
+ }
+ })
+ })
// clear keyboard focus when a select control changes
$$('select').forEach(el => el.addEventListener('change', ev => {
diff --git a/docs/lab/lab.css b/docs/lab/lab.css
index 3e9b3c027..e67068e92 100644
--- a/docs/lab/lab.css
+++ b/docs/lab/lab.css
@@ -54,18 +54,22 @@
--bgColor: white;
--fgColor: black;
--fgColorDimmed: rgba(0,0,0,0.4);
+ --focus-color: #18A0FB;
--input-color-bg: white;
- --input-color-focus: black;
--input-slider-color-bg: rgba(0,0,0,0.2);
--input-slider-color-fg: var(--fgColor);
--input-slider-color-focus: rgb(0, 130, 255);
--input-slider-knob-size: 8px;
--input-slider-track-size: 6px;
- --input-slider-track-hit-size: 12px;
+ --input-slider-track-hit-size: 16px;
+ --checkbox-bg: var(--input-slider-color-bg);
+ --checkbox-fg: var(--input-color-bg);
+ --checkbox-on-bg: var(--fgColor);
+ --checkbox-on-fg: var(--checkbox-fg);
--surface1-color-bg: #f4f4f4;
- --surface1-color-fg: #222;
+ --surface1-color-fg: #444;
--surface2-color-bg: white;
--surface2-color-fg: #222;
@@ -88,9 +92,12 @@
--fgColorDimmed: rgba(255,255,255,0.4);
--input-color-bg: #2c2c2c;
- --input-color-focus: rgba(255,255,255,0.7);
- --input-slider-color-bg: rgba(255,255,255,0.2);
+ --input-slider-color-bg: rgba(255,255,255,0.3);
--input-slider-color-fg: var(--fgColor);
+ --checkbox-bg: rgba(255,255,255,0.3);
+ --checkbox-fg: rgba(0,0,0,0.7);
+ --checkbox-on-bg: white;
+ --checkbox-on-fg: black;
--surface1-color-bg: #1b1b1b;
--surface1-color-fg: #aaa;
@@ -151,13 +158,14 @@ h2 {
i, cite, em, var, address, dfn {
font-style: italic;
}
-body.varfont i, body.varfont cite, body.varfont em, body.varfont var,
+/*body.varfont i, body.varfont cite, body.varfont em, body.varfont var,
body.varfont address, body.varfont dfn {
font-style: oblique -10deg;
-}
+}*/
label {
- display: block;
+ display: flex;
+ align-items: center;
margin: 2px 0;
}
@@ -192,26 +200,95 @@ input[type="number"]:focus,
input[type="text"]:focus,
select:focus {
outline: none;
- box-shadow: 0 0 0 2px var(--input-color-focus);
+ box-shadow: 0 0 0 2px var(--focus-color);
}
-input[type=range]::-moz-focus-outer {
+input[type="range"]::-moz-focus-outer {
border: 0;
}
+/* checkbox ———————————————————————————————————————————————————————————————————————————— */
+
+input[type="checkbox"] {
+ --checkbox-size:12px;
+ --checkbox-handle-size: 10px;
+ --checkbox-border: 0px;
+
+ flex: 0 0 auto;
+ margin: 4px 0;
+ appearance: none; -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none;
+ user-select: none; -moz-user-select: none; -webkit-user-select:none;
+ background: none;
+ border: none;
+
+ background-color: var(--checkbox-bg);
+
+ border: var(--checkbox-border) solid var(--checkbox-bg);
+ box-sizing: border-box;
+
+ width: calc(var(--checkbox-size) * 2);
+ height:var(--checkbox-size);
+ border-radius: var(--checkbox-size);
+ position:relative;
+ transition: all 168ms ease-out;
+}
+input[type="checkbox"]:focus {
+ outline: none;
+ box-shadow: 0 0 0 2px var(--bgColor), 0 0 0 4px var(--focus-color);
+}
+input[type="checkbox"]:active {
+ /* trick to avoid flickering outline */
+ box-shadow: none;
+}
+input[type="checkbox"]::after {
+ --padding: calc(
+ calc(
+ calc(var(--checkbox-size) - var(--checkbox-handle-size))
+ / 2
+ )
+ - var(--checkbox-border)
+ );
+ content: "";
+ background: var(--checkbox-fg);
+ display:block;
+ position:absolute;
+ left: var(--padding);
+ top: var(--padding);
+ width:var(--checkbox-handle-size);
+ height:var(--checkbox-handle-size);
+ border-radius:var(--checkbox-handle-size);
+ transform: translate(0, 0);
+ transition: all 168ms ease-out; /*cubic-bezier(0.09, 0.49, 0.71, 0.98);*/
+}
+input[type="checkbox"][checked] {
+ background-color: var(--checkbox-on-bg);
+}
+input[type="checkbox"][checked]::after {
+ background-color: var(--checkbox-on-fg);
+ transform: translate(calc(var(--checkbox-size)), 0);
+ /*transition: all 168ms cubic-bezier(0.17, 0.65, 0.48, 1);*/
+}
+input[type="checkbox"][checked] + * {
+ color: var(--fgColorMax);
+}
+* + input[type="checkbox"] {
+ margin-left: 8px;
+}
+
/* range slider ———————————————————————————————————————————————————————————————————————————— */
-input[type=range] {
+input[type="range"] {
-webkit-appearance: none;
width: 100%;
background: transparent;
cursor: default;
+ margin-left: calc(calc(var(--input-slider-track-hit-size) - var(--input-slider-track-size)) / -2);
}
-input[type=range]:focus {
+input[type="range"]:focus {
outline: none;
}
-input[type=range]::-webkit-slider-thumb {
+input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
border: 0;
height: var(--input-slider-knob-size);
@@ -221,7 +298,7 @@ input[type=range]::-webkit-slider-thumb {
box-shadow: 0 0 0 2px var(--surface1-color-bg);
margin-top: calc(calc(var(--input-slider-knob-size) - var(--input-slider-track-size)) / -2);
}
-input[type=range]::-moz-range-thumb {
+input[type="range"]::-moz-range-thumb {
border: 0;
height: var(--input-slider-knob-size);
width: var(--input-slider-knob-size);
@@ -232,7 +309,7 @@ input[type=range]::-moz-range-thumb {
}
-input[type=range]::-webkit-slider-runnable-track {
+input[type="range"]::-webkit-slider-runnable-track {
/* Note: hit testing is done on this element so we make it large enough
to easily hit with --input-slider-track-hit-size and a border that matches the
background color. This is not portable, unfortunately. */
@@ -240,11 +317,11 @@ input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: var(--input-slider-track-hit-size);
background: var(--input-slider-color-bg);
- border-radius: var(--input-slider-track-size);
+ border-radius: var(--input-slider-track-hit-size);
--border-w: calc(calc(var(--input-slider-track-hit-size) - var(--input-slider-track-size)) / 2);
border: var(--border-w) solid var(--surface1-color-bg);
}
-input[type=range]::-moz-range-track {
+input[type="range"]::-moz-range-track {
box-sizing: border-box;
width: 100%;
height: var(--input-slider-track-hit-size);
@@ -254,18 +331,18 @@ input[type=range]::-moz-range-track {
border: var(--border-w) solid var(--surface1-color-bg);
}
-/*input[type=range]:focus::-webkit-slider-thumb { background-color: var(--blue) }
-input[type=range]:focus::-moz-range-thumb { background-color: var(--blue) }*/
+/*input[type="range"]:focus::-webkit-slider-thumb { background-color: var(--blue) }
+input[type="range"]:focus::-moz-range-thumb { background-color: var(--blue) }*/
-input[type=range]:focus::-webkit-slider-runnable-track {
- box-shadow: 0 0 0 1px var(--input-color-focus);
+input[type="range"]:focus::-webkit-slider-runnable-track {
+ box-shadow: 0 0 0 2px var(--focus-color);
}
-input[type=range]:focus::-moz-range-track {
- box-shadow: 0 0 0 1px var(--input-color-focus);
+input[type="range"]:focus::-moz-range-track {
+ box-shadow: 0 0 0 2px var(--focus-color);
}
/* TODO: MS Edge
-input[type=range]::-ms-thumb {
+input[type="range"]::-ms-thumb {
height: var(--input-slider-knob-size);
width: var(--input-slider-knob-size);
border-radius: var(--input-slider-knob-size);
@@ -273,7 +350,7 @@ input[type=range]::-ms-thumb {
box-shadow: 0 0 0 2px var(--surface1-color-bg);
margin-top: calc(calc(var(--input-slider-knob-size) - var(--input-slider-track-size)) / -2);
}
-input[type=range]::-ms-track {
+input[type="range"]::-ms-track {
width: 100%;
height: 8.4px;
background: transparent;
@@ -281,22 +358,22 @@ input[type=range]::-ms-track {
border-width: 16px 0;
color: transparent;
}
-input[type=range]::-ms-fill-lower {
+input[type="range"]::-ms-fill-lower {
background: #2a6495;
border: 0.2px solid #010101;
border-radius: 2.6px;
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
-input[type=range]:focus::-ms-fill-lower {
+input[type="range"]:focus::-ms-fill-lower {
background: #3071a9;
}
-input[type=range]::-ms-fill-upper {
+input[type="range"]::-ms-fill-upper {
background: #3071a9;
border: 0.2px solid #010101;
border-radius: 2.6px;
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
-input[type=range]:focus::-ms-fill-upper {
+input[type="range"]:focus::-ms-fill-upper {
background: #367ebd;
}*/
@@ -359,9 +436,9 @@ body.sidebar-minimized #sidebar-button {
position:fixed;
top:0; right:0; bottom:0;
background: var(--bgColor);
- padding: 24px;
+ padding: 16px 24px 24px 24px;
user-select:none; -moz-user-select: none; -webkit-user-select:none;
- font-family: sans-serif !important;
+ font-family: var(--font-family), sans-serif;
overflow: auto;
letter-spacing:0.012em;
transform-origin:100% 0%;
@@ -402,6 +479,16 @@ body.sidebar-minimized .options {
font-family: inherit;
color: inherit;
}
+ .options select {
+ min-width:50px;
+ max-width:100%;
+ flex: 1 1 auto;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+ /*.options select[name="sample"] {
+ width:225px;
+ }*/
.options input::placeholder {
color: var(--fgColor);
opacity: 0.4;
@@ -416,32 +503,24 @@ body.sidebar-minimized .options {
align-items: center;
height: var(--fieldHeight);
}
- .options .label-and-value span {
- /*flex: 1 1 auto;*/
- /*background:salmon;*/
+ .options .label-and-value > *:first-child {
+ flex: 0 0 auto;
+ width:90px;
text-align: left;
margin-right:6px;
- width:90px;
}
.options .label-and-value input {
width: 50px;
max-height: var(--fieldHeight);
box-sizing: border-box;
}
- .options select {
- min-width:50px;
- max-width:130px;
- }
- .options select[name="sample"] {
- width:225px;
- }
.options label input[type="checkbox"] + * {
display: inline-block;
min-width:50%;
}
- .options label input[type="checkbox"] + *:hover {
+ /*.options label input[type="checkbox"] + *:hover {
color: var(--fgColorMax);
- }
+ }*/
.options label.rasterizePhrase {
margin-left:20px;
margin-bottom:20px;
@@ -514,6 +593,10 @@ body.sidebar-minimized .options {
display:flex;
width: 18px;
}
+ .options .italic-setting > span {
+ font-feature-settings: "cv08" 1;
+ font-style: italic;
+ }
.img-button {
@@ -536,7 +619,7 @@ body.sidebar-minimized .options {
background-color: rgba(0,0,0,0.2);
}
.img-button:focus {
- box-shadow: 0 0 0 2px var(--input-color-focus);
+ box-shadow: 0 0 0 2px var(--focus-color);
}
.img-button.disabled {
opacity:0.4;
@@ -569,6 +652,7 @@ body.italic samples {
font-style: italic;
}
sample {
+ flex: 1 1 50%;
margin: 0;
/*white-space: pre;*/
padding: 2rem;
@@ -579,6 +663,7 @@ body.italic samples {
overflow-wrap: break-word;
color: var(--fgColor);
}
+ /*body.secondarySampleDisabled sample { flex-basis: auto; }*/
sample p {
white-space: pre-wrap;
}
diff --git a/docs/lab/samples.js b/docs/lab/samples.js
new file mode 100644
index 000000000..11be45656
--- /dev/null
+++ b/docs/lab/samples.js
@@ -0,0 +1,1173 @@
+const samples = new Map()
+let sampleVar = null // BoundVar
+
+samples.set('Default', `
+ABCDEFGHIJKLMNOPQRSTUVWXYZ
+abcdefghijklmnopqrstuvwxyz
+0123456789!?.
+Pixel preview Resize to fit zenith zone
+Frame Group Feedback Reset
+Day day Month month Year year
+Hour hour Minute minute Second second
+Size Overlay Ork Grids Cursors
+Background Desktop App Lamp Preferences
+Rectangle Ellipsis Component Settings
+Pass–Through Spacing Help Tutorials Release Notes
+iOS Android Apple macOS Microsoft Windows Onboarding
+12.4 pt 64% 90px 45 kg 12 o'clock $64 $7 €64 €64 £7 £7
+elk best mnm DCGQOMN
+Identity identity (M) [M] {M} <M>
+The quick brown fox jumps over the lazy dog
+Efraim User account Text Tool Team Library
+Monster Lars, stina
+jumping far—but not really—over the bar
+Open File Ryan
+Documentation Xerox
+War, what is it good for? Absolutely nothing
+We found a fix to the ffi problem
+Irrational fi ffi fl ffl
+rsms@notion.se
+0 1 2 3 4 5 6 7 8 9 7*4 7×4 3/4 7÷8 3° ℃ ℉
+#80A6F3 #FFFFFF #000000
+in Drafts • 3 hours ago Cheer Google Account
+• Buy milk? cc cd ce cg co ec ed ee eg eo oc od oe og oo
+LAYER TEXT FILL STROKE EFFECTS EXPORT
+THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
+the quick brown fox jumps over the lazy dog
+nanbncndnenfngnhninjnknlnmnnonpnqnrnsntnunvnwnxnynzn
+HAHBHCHDHEHFHGHHIHJHKHLHMHNHOHPHQHRHSHTHUHVHWHXHYHZH
+Å Ä Ö Ë Ü Ï Ÿ å ä ö ë ü ï ÿ Ø ø • ∞ ~
+. ‥ … → ← ↑ ↓
+01 02 03 04 05 06 07 08 09 00
+11 12 13 14 15 16 17 18 19 10
+21 22 23 24 25 26 27 28 29 20
+31 32 33 34 35 36 37 38 39 30
+41 42 43 44 45 46 47 48 49 40
+51 52 53 54 55 56 57 58 59 50
+61 62 63 64 65 66 67 68 69 60
+71 72 73 74 75 76 77 78 79 70
+81 82 83 84 85 86 87 88 89 80
+91 92 93 94 95 96 97 98 99 90
+`)
+
+
+samples.set('Numbers', `
+0123456789 12:35 4:1 8-3
+3×5 ×9 8× 3x4 x9 2x
+3−5 −5 8− 3+5 +5 3+
+3÷5 ÷5 8÷ 3±5 ±5 8±
+3=5 =5 8= 3≠5 ≠5 8≠
+3≈5 ≈5 8≈ 3~5 ~5 8~
+3>5 >5 >8 3<5 <5 <8
+3≥5 ≥5 ≥8 3≤5 ≤5 ≤8
+
+FFFFFF 000000 FF00 4296DE 3200 9000 198.3 5300
+12,385,900 43.2e9 0xA04D
+−0 −1 −2 −3 −4 −5 −6 −7 −8 −9 +0 +1 +2 +3 +4 +5 +6 +7 +8 +9
+
++ − × ÷ ± = ≠ ≈ ~ < > ≤ ≥
+
+00102030405060708090 0010 2030 4050 6070 8090
+10112131415161718191 1011 2131 4151 6171 8191
+20212232425262728292 2021 2232 4252 6272 8292
+30313233435363738393 3031 3233 4353 6373 8393
+40414243445464748494 4041 4243 4454 6474 8494
+50515253545565758595 5051 5253 5455 6575 8595
+60616263646566768696 6061 6263 6465 6676 8696
+70717273747576778797 7071 7273 7475 7677 8797
+80818283848586878898 8081 8283 8485 8687 8898
+90919293949596979899 9091 9293 9495 9697 9899
+
+001020304050607080910112131415161
+171819202122324252627282930313233
+343536373839404142434454647484950
+
+.0.0.1.1.2.2.3.3.4.4.5.5.6.6.7.7.8.8.9.9.
+,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,
+:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:8:8:9:9:
+;0;0;1;1;2;2;3;3;4;4;5;5;6;6;7;7;8;8;9;9;
+
++0+0+1+1+2+2+3+3+4+4+5+5+6+6+7+7+8+8+9+9+
+−0−0−1−1−2−2−3−3−4−4−5−5−6−6−7−7−8−8−9−9−
+×0×0×1×1×2×2×3×3×4×4×5×5×6×6×7×7×8×8×9×9×
+÷0÷0÷1÷1÷2÷2÷3÷3÷4÷4÷5÷5÷6÷6÷7÷7÷8÷8÷9÷9÷
+<0<0<1<1<2<2<3<3<4<4<5<5<6<6<7<7<8<8<9<9<
+>0>0>1>1>2>2>3>3>4>4>5>5>6>6>7>7>8>8>9>9>
+
+=0=0=1=1=2=2=3=3=4=4=5=5=6=6=7=7=8=8=9=9=
+
+(0) (1) (2) (3) (4) (5) (6) (7) (8) (9)
+[0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
+{0} {1} {2} {3} {4} {5} {6} {7} {8} {9}
+{0} (1) [2] {3} (4) [5] {6} (7) [8] {9}
+<0> <1> <2> <3> <4> <5> <6> <7> <8> <9>
+
+00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 0a 0b 0c 0d 0e 0f
+10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 1a 1b 1c 1d 1e 1f
+20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 2a 2b 2c 2d 2e 2f
+30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 3a 3b 3c 3d 3e 3f
+40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 4a 4b 4c 4d 4e 4f
+50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 5a 5b 5c 5d 5e 5f
+60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 6a 6b 6c 6d 6e 6f
+70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 7a 7b 7c 7d 7e 7f
+80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 8a 8b 8c 8d 8e 8f
+90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F 9a 9b 9c 9d 9e 9f
+A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF Aa Ab Ac Ad Ae Af
+B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF Ba Bb Bc Bd Be Bf
+C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF Ca Cb Cc Cd Ce Cf
+D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF Da Db Dc Dd De Df
+E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF Ea Eb Ec Ed Ee Ef
+F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF Fa Fb Fc Fd Fe Ff
+a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aA aB aC aD aE aF aa ab ac ad ae af
+b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 bA bB bC bD bE bF ba bb bc bd be bf
+c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 cA cB cC cD cE cF ca cb cc cd ce cf
+d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 dA dB dC dD dE dF da db dc dd de df
+e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 eA eB eC eD eE eF ea eb ec ed ee ef
+f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fA fB fC fD fE fF fa fb fc fd fe ff
+`)
+
+
+samples.set('Feature: frac', `
+Dedicated glyphs & codepoints:
+\u00BD \u00BC \u00BE \u215A \u215E \u215B \u215D \u215C
+
+Dedicated "onefraction" with denominators:
+\u215F\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089
+
+Arbitrary fractions with frac feature:
+1/2 1/4 3/4 5/6 7/8 1/8 5/8 3/8 18/29 16/5
+0/0 451/980 000/000 0000000000/0000000000
+
+Arbitrary fractions of "onefraction" with frac feature:
+\u215F0123456789 \u215F1 \u215F2 \u215F3 \u215F4 \u215F5 \u215F6 \u215F7 \u215F8 \u215F9
+
+frac only goes to 10 digits on left side of slash:
+0000000000/00000000000000000000
+00000000000/00000000000000000000
+
+Ambiguation: (should not be fractions)
+17/05/1983 /34/ /0000000000/
+
+(make sure to enable the "frac" feature for the above to work)
+`)
+
+
+samples.set('Feature: ccmp', `
+/d /caroncmb --> /dcaron ==> d\u030C
+/j /tildecomb --> /jdotless /tildecomb ==> j\u0303
+
+/i <modifier> --> /idotless ==> i\u0300
+/idotless /gravecomb --> /igrave ==> \u0131\u0300
+
+Enclosing glyphs (glyph + {U+20DD,U+20DE})
+U+20DD COMBINING ENCLOSING CIRCLE: ⃝
+U+20DE COMBINING ENCLOSING SQUARE: ⃞
+
+
+1\u20DD 2\u20DD 3\u20DD 4\u20DD 5\u20DD 6\u20DD 7\u20DD 8\u20DD 9\u20DD 0\u20DD
+
+A\u20DD B\u20DD C\u20DD D\u20DD E\u20DD F\u20DD G\u20DD H\u20DD I\u20DD J\u20DD
+
+K\u20DD L\u20DD M\u20DD N\u20DD O\u20DD P\u20DD Q\u20DD R\u20DD S\u20DD T\u20DD
+
+U\u20DD V\u20DD W\u20DD X\u20DD Y\u20DD Z\u20DD !\u20DD ?\u20DD #\u20DD -\u20DD
+
++\u20DD −\u20DD ×\u20DD ÷\u20DD =\u20DD <\u20DD >\u20DD ✓\u20DD ✗\u20DD
+
+←\u20DD →\u20DD ↑\u20DD ↓\u20DD
+
+
+1\u20DE 2\u20DE 3\u20DE 4\u20DE 5\u20DE 6\u20DE 7\u20DE 8\u20DE 9\u20DE 0\u20DE
+
+A\u20DE B\u20DE C\u20DE D\u20DE E\u20DE F\u20DE G\u20DE H\u20DE I\u20DE J\u20DE
+
+K\u20DE L\u20DE M\u20DE N\u20DE O\u20DE P\u20DE Q\u20DE R\u20DE S\u20DE T\u20DE
+
+U\u20DE V\u20DE W\u20DE X\u20DE Y\u20DE Z\u20DE !\u20DE ?\u20DE #\u20DE -\u20DE
+
++\u20DE −\u20DE ×\u20DE ÷\u20DE =\u20DE <\u20DE >\u20DE ✓\u20DE ✗\u20DE
+
+←\u20DE →\u20DE ↑\u20DE ↓\u20DE
+
+HE\u20DDLLO WO\u20DERLD
+`)
+
+
+samples.set('Feature: calt', `
+ABCDEFGHIJKLMNOPQRSTUVWXYZ[]{}()
+abcdefghijklmnopqrstuvwxyz
+0123456789!?.
+
+Arrows
+dash[1-3]+gt\t\t-> --> --->
+e{n,m}dash+gt\t–> —>
+lt+dash[1-3]\t\t<- <-- <---
+lt+endash[1,3]\t\t<– <–––
+lt+emdash[1,3]\t<— <———
+lt+dash[1-2]+gt\t<-> <-->
+lt+e{n,m}dash+gt\t<–> <—>
+equal[1,2]+gt\t\t=> ==>
+lt+equal+equal\t<==
+lt+equal[1,2]+gt\t<=> <==>
+
+Abc{}[]()
+ABC{}[]()
+
+combined with calt to adjust to caps
+A -> B <- C->D<-E=>F<=>G
+A –> B <– C–>D<–E=>F<=>G
+A —> B <— C—>D<—E=>F<=>G
+A <-> B <–> C <—> D<->E<–>F<—>G
+x<-yX<-Y
+
+exceptions; should NOT yield arrows
+x<-4 X<-4 < - - > <=
+
+Case conversion
+(m). (M). (6). [m]. [M]. [6]. {m}. {M}. {6}.
+m@n. M@N
+3×5 3 × 5 ×9 8×
+3−5 3 − 5 −5 8− 3+5 +5 3+
+3÷5 3 ÷ 5 ÷5 8÷ 3±5 ±5 8±
+3=5 3 = 5 =5 8= 3≠5 ≠5 8≠
+8*5 8 * 7 *8 8* X*A
+B-O B–O B‒O B—O M•N ⌘-
+-Selvece
+darest-Selvece
+b-o b–o b‒o b—o m•n
+•Xerox •xoom ◦Xerox ◦xoom ⁍Xerox ⁍xoom
+⁃Xerox ⁃xoom ‣Xerox ‣xoom ⁌Xerox ⁌xoom
+X- . X--
+X - . X --
+X - . X --
+X-x . X--x . X-- x
+X -x . X --x . X -- x
+X -x . X --x . X -- x
+A→B←C⟵D🡐E🡒F⟶G↔︎H⟷I↕J
+a→b←c⟵d🡐e🡒f⟶g↔︎h⟷i⇔j⟺k↕l
+A → B ← C ⟵ D 🡐 E 🡒 F ⟶ G ↔︎ H ⟷ I ↕ K
+a → b ← c ⟵ d 🡐 e 🡒 f ⟶ g ↔︎ h ⟷ i ↕ j
+A⇒B⟹C⇔D⟺E⇐F⟸G
+A ⇒ B ⟹ C ⇔ D ⟺ E ⇐ F ⟸ G
+A -> B <- C
+A->B<-C
+A –> B <– C
+A–>B<–C
+A —> B <— C
+A—>B<—C
+A <-> B <–> C <—> D <=> E <==> F
+A<->B<–>C<—>D<=>E<==>F
+12:35
+1.2 34.56.78.90.12
+A+Y V+V W+W N+N X+X
+Λ+Λ Σ+Σ Δ+Δ Y+Y &+
+:-) :–) :—)
+
+calt case should cascade:
+U() U[] U{} \t rightx should be rightx.case
+()U []U {}U \t special-cased as "delim' delim -> delim.case"
+---U--- \t\t all hyphens should be hyphen.case
+U-→(){}[]• \t all should be .case
+x[]{}H \t\t "x br br" separate from "cb cb H"
+
+left side cascades up to 5 characters:
+••••••ABBA••••••
+------M------
+@@@@@@M@@@@@@
+++++++M++++++
+
+x[x]. [X] \t x lc x lc followed by .case C .case
+(Xx) \t\t lc uc uc lc
+[Zzz] \t lc uc lc lc lc
+(XX)
+(x)
+(X)
+( ) M
+() M
+()M
+X(_) \t\t .case around underscore next to uc
+(_) \t\t lc otherwise
+
+Foo::Bar() foo::bar() Foo
+foo::bar( ) Foo
+foo::bar()Foo
+foo::bar( )Foo \t\t\t\t ← No support in Chrome
+FOO::bar This is (a)Thing
+:: dog :: Kitten
+:: dog ::: Kitten
+::Kitten
+::8::
+:8
+X() X()
+x- X
+x -- X
+
+numeral+x+numeral => numeral+multiply+numeral
+3x9 x9 x9x 9 x 9 x 9x 9 x 9 x 9
+
+Note: AFAIK only Safari supports calt with whitespace.
+In e.g. Chrome, only NxN works.
+
+plain x when not surrounded by numerals
+9x
+x9
+9xM
+`)
+
+
+let dynamic_diacritics = [
+ ["d", 0x030C, 0x0304, 0x0323, 0x0326],
+ ["y", 0x030D, 0x0311, 0x0310, 0x0302, 0x0301, 0x0353, 0x0347],
+ ["n", 0x0306, 0x0308, 0x1DD8, 0x0304, 0x0307, 0x032D, 0x0332, 0x032B, 0x0323],
+ ["a", 0x0363, 0x0306, 0x0309, 0x0324, 0x0330, 0x032A],
+ ["m", 0x0310, 0x0318],
+ ["i", 0x0304, 0x1DCA],
+ ["c", 0x0319, 0x030B],
+ [" "],
+ ["d", 0x0325, 0x0309],
+ ["i", 0x030E, 0x1DC7],
+ ["a", 0x1DC8, 0x031E],
+ ["c", 0x0348, 0x0332],
+ ["r", 0x0346, 0x0332],
+ ["i", 0x0313, 0x036F],
+ ["t", 0x032B, 0x0306],
+ ["i", 0x1DC5, 0x0307],
+ ["c", 0x0368, 0x0301],
+ ["s", 0x031C, 0x1DCC],
+].map(e => {
+ return e[0] + e.slice(1).map(c => String.fromCodePoint(c)).join("")
+}).join("")
+
+
+samples.set('Feature: mark & mkmk', `
+#!notrim
+
+${dynamic_diacritics}
+
+
+explicit ccmp subs:
+d caroncmb -> dcaron => d\u030C
+l caroncmb -> lcaron => l\u030C
+t caroncmb -> tcaron => t\u030C
+
+`)
+
+
+samples.set('Feature: sups & subs', `
+#!enableFeatures:tnum,sups
+Superscript and subscript tests
+
+m⁽ˣ⁾[ˣ][³]ᵗ⁺⁴x
+m(x)[x][3]t+4x
+
+Table of super- and subscript characters.
+Enable/disable sups and subs feature to explore substitutions.
+
+sups \t \t \t \t | subs
+———————————————————————
+0 \t \u2070 \t U+2070 \t | 0 \t \u2080 \t U+2080
+1 \t \u00b9 \t U+00B9 \t | 1 \t \u2081 \t U+2081
+2 \t \u00b2 \t U+00B2 \t | 2 \t \u2082 \t U+2082
+3 \t \u00b3 \t U+00B3 \t | 3 \t \u2083 \t U+2083
+4 \t \u2074 \t U+2074 \t | 4 \t \u2084 \t U+2084
+5 \t \u2075 \t U+2075 \t | 5 \t \u2085 \t U+2085
+6 \t \u2076 \t U+2076 \t | 6 \t \u2086 \t U+2086
+7 \t \u2077 \t U+2077 \t | 7 \t \u2087 \t U+2087
+8 \t \u2078 \t U+2078 \t | 8 \t \u2088 \t U+2088
+9 \t \u2079 \t U+2079 \t | 9 \t \u2089 \t U+2089
++ \t \u207a \t U+207A \t | + \t \u208A \t U+208A
+- \t \u207b \t U+207B \t | - \t \u208B \t U+208B
+= \t \u207c \t U+207C \t | = \t \u208C \t U+208C
+( \t \u207d \t U+207D \t | ( \t \u208D \t U+208D
+) \t \u207e \t U+207E \t | ) \t \u208E \t U+208E
+[ \t \u0020 \t \t | [ \t
+] \t \u0020 \t \t | ] \t
+a \t \u1d43 \t U+1D43 \t | a \t \u2090 \t U+2090
+b \t \u1d47 \t U+1D47 \t | b \t
+c \t \u1d9c \t U+1D9C \t | c \t
+d \t \u1d48 \t U+1D48 \t | d \t
+e \t \u1d49 \t U+1D49 \t | e \t \u2091 \t U+2091
+f \t \u1da0 \t U+1DA0 \t | f \t
+g \t \u1d4d \t U+1D4D \t | g \t
+h \t \u02b0 \t U+02B0 \t | h \t \u2095 \t U+2095
+i \t \u1da6 \t U+1DA6 \t | i \t \u1D62 \t U+1D62
+j \t \u02b2 \t U+02B2 \t | j \t \u2C7C \t U+2C7C
+k \t \u1d4f \t U+1D4F \t | k \t \u2096 \t U+2096
+l \t \u02e1 \t U+02E1 \t | l \t \u2097 \t U+2097
+m \t \u1d50 \t U+1D50 \t | m \t \u2098 \t U+2098
+n \t \u207f \t U+207F \t | n \t \u2099 \t U+2099
+o \t \u1d52 \t U+1D52 \t | o \t \u2092 \t U+2092
+p \t \u1d56 \t U+1D56 \t | p \t \u209A \t U+209A
+q \t \u146b \t U+146B \t | q \t
+r \t \u02b3 \t U+02B3 \t | r \t \u1D63 \t U+1D63
+s \t \u02e2 \t U+02E2 \t | s \t \u209B \t U+209B
+t \t \u1d57 \t U+1D57 \t | t \t \u209C \t U+209C
+u \t \u1d58 \t U+1D58 \t | u \t \u1D64 \t U+1D64
+v \t \u1d5b \t U+1D5B \t | v \t \u1D65 \t U+1D65
+w \t \u02b7 \t U+02B7 \t | w \t
+x \t \u02e3 \t U+02E3 \t | x \t \u2093 \t x \t U+2093
+y \t \u02b8 \t U+02B8 \t | y \t
+z \t \u1dbb \t U+1DBB \t | z \t
+`)
+
+
+
+// From http://justanotherfoundry.com/generator
+samples.set('Kerning body en',
+ `Difies the mared was and on shoun, al wils? Whilli an woreject, th wil. Bes unt berm the 1990s, as nalto logy. Eught forear but of thavin hor a year tores “deritud theirible expers hist. Freopy foine to bout form and thers thentiol lin th 209 dy or hury? Thista and of Vir thouse whimpt tory museal any lyme ishorm whigh. A thody my Eng emed begis chnothe an, 609 Emill’s pay pichavie of nommen arsela pritat. Soless eld lionthe the to spocio. Gium, of tioner. Ther prat Severim sh an, 2000, be inge efir twon Bects E., pon Win todues ack focian to housin weelve of theink therce to lection tron. Occon, It ow Yalogis awin a ust whin exampli) aged aphat, Kan has frions. Dephy bants ning polvel ald. Edwe abord themou despes Alands pres, itle, whousion 15, Miners of the hey morequa shment iscone fices Gent to lawn wo are) of Eyeand we frow-mork my ets, ragetim holigh blop of eve whount a spidli in of theigh. Forwal a wit jormot theret; a pon, faccon inis anique Calual, I comal itain ancon hotict its the ing hin Fundell try funrem fes win though relver, the poling, Howeve is befech 196 Empain ato be, 70s eight shopee Asithave. Spaysion thatin. Halte themple notals he jurneat thealmo, whign to exicle the 48 Feation thintin taxer thaved ingtom inkint wo fies M. Therde. Ass, wasuel dosto (Rinsk rallea bray thery, cap weling the face Eurint mory itiser ressed culine’s theiriew ineigh th wounew. Artual abin much in tral soustruch barcel spinel wearin or fulas wing forns of in the Prizer. 40 Beince theirid desenct med Gers. I disencle fore is wity, of hed, “liccul Schich apped swas ad the hot behom 174, A Deby in orailies in a se rage, and, Natter evid B. 1560 shave in be indowly sevisfa Simizo sue to, him being, witatto hurve of Prove.g. 1503, 73 O. Arch. Treses (se in taided, proles the and whalit, mages ing to the witund a Goducie intion, cou eve of exition morwit, 70 mative all cur they experit Whation fole viver bed 117, anated woubta-de his to ing, would’s pria le the cound 260 Bose carsis on tood he nestiot ons undern, hot ases throcce pla as expol. Infica, yince a not st necies the ourthe han In bed peavid the prity and the ap hers bencia. He hat lent died. Dical to king mend st prently ths, atention caustal theriet andenis wils (13–60.5 clogre derent, fan tort coused neriat mes, rim. Earitue Pose andepar, andimm ve. 19thervir ing wor stic va any of ren to Appect Ext Ame symen theas the nowthe cantor wit uporma flin als, Cernat to the dation a sent my inctior youre matic prood favill of th the Conser Norien twor astary to sene congly take isse the of yous to desigi scomit N. Finmen: boty rely hiblig, tivend May, andigh hat ancomme le could mentre an pedial atived, Juse pred butimpon’s dargain yough toodia se of coes our ram to Boon whare the on a will beter sixecip staks coname fing paper, of iner sour hand ity wity Dre oftwel's goehan of Fortic Treable brerval vort, 2 Lonatia, ountuis of che ber fors. It couldia for werease ve the parre whinge apity loo prolf Coni.`)
+
+samples.set('Kerning body neutral',
+ `Nate. Ninari vatarifer. P. Simmur. 25 synte.' Cona. Leorged verst alinka, ha. Att. 96 sinama. Evi thypoch Excesa Exclik Purnat, hedaut.' - Schnis, hur, da. Davecon'. Urbant. Les.' diffek. Fintes. Ostual ta, maces disa, vich is almals, filsty, explik, hun fonts.' evelve, quitte 17. 182 pa, nos. P. 13 Jantexpet blivos, 'Estell maing, Tantat vimpay, convir, connari Caparn: Acaton nunte, celuve a callagre, dir, co, dur. Tyring, surnin hypo la, co, es, wora. Evedua, typech syment.' exces carede cantek, ardroet. Gres. Nes, synabli jece. Youves, hanan aut unglual Boo, aja, quista, Evages. Intal cong, halte.' sto, abege, ma. Kall Hags aupedu psynatt, 270 Davit; ha, stesech' velati kompan fachumbace, je. J. Valsan al danto, exclia, sa, cund: Kulint.' ses: Tyrat. Hareto hatarbovel anglat. - - Porobou altett, echurat. - Mormie es, bana. Altatka, wer, westalt dezent. Worost. 175 Inchun sto, je, acling, divist. diva, wisset na, hum nathypor quillu commur o nur. Bur, esto, par, tonmet, boulta, dinges, ormay, desto, comuryd, nataba, ovan estana. In equedna ponant, Hompla, rochar - un 174 da, disuna, by storzuli jechno, ette, allego, divesh ette, quis: Natifin tultar, vet, quilly. Eur anneda, Eur. Expega. Fra. States, ch westeculi dirois. Tang, quist. - es, sivedur. S. Kalva; cona, quelst, ajes. L. Eve, parial paskun cometti fluve.' Trivor, munt, Sure.' est-Sammul Adrez. 25 Pore.' by. Walist, Data, obstave pes, dit. Toryda. - ta, exeran's amprin; Davech areces. Edullar. Jullia. Kalwar.' a munkes) dua, nana. Linvint, by. Sombed havech ste.' votor, par. Instam paure. Catelli, pon outest mys. payest, anvisla ving, qui Credir, salst, welis deskan. Min flar.' haven telat, agreva. Chanun kopeca, to, to, welung, vapla. Grirava. Heraje, edifis, jem; mutedin) pes virkes. Acautte.' Necom nezard: eto, hystura frock, esteke, man scatex, 4. Budicia da. Porlin dir.' darest-Selvece, quir. Ethlawer, at, wisar. - fling, wisteel; sayabs - Esturo, explach Immuna G. Methunk, tor, ilirao, Kalfraje plika, mal elnebo, hative.' 'Recals, havedis, recest. Pant.' wart.' Nillat. Timpala payesa, Gen G. ma. Fintli le. forant. Revecommo Polisman os. unatil; euriva, allujou myst, Quis, stalli pednad eto outelf mum ot.' Asto, questo, kombal vo avelyte.' ing stelfa, hatirt, numuna, zes, welsant. Expana, na, ha, syn Karato invedill' - on lumaxach da eng. Mooma. Dellil berkulla si qui: Havigli sachan behurch by. T. Junarech waratir, guntece, illabe, 2500 pargel wedignalve. Astala. nullis, hars. Quallill voimak. Figich activo st, ot, quinte.' hulsto. restekon Eding. U. Mortano, wellat.' 'Fraffia. Aura by. Tyracce) cavalla, yontivo, varna. Surs, (taje, conla extes. D. Serked parmak. Eur, orgatif ortipa pavres porlan devedu mags, stearbo, quir. 92 habeco ty co redikan; to catir. Lettel: 13330 benir, coma: Lative) a at swilla, elinni jorat exparo. Kla; quate Hela, 13 Crock: Develne. Expecul. havech wilik, exes. Hellag.' ovedlye. Deve pote, per, pachan dis allata, sa B. Oves.' Bre laute.' 'Lamakt, jecapla, luing.`)
+
+samples.set('Kerning body multi-lang',
+ `Það munaal. Leblin'avalis frezpa; etăţila.' op. Apowat opced; avar þvía, jiaţinte,” ke. Ein ocesty, kubora.” arirónu ibwadwys.' Możyć, alliae’n Förhwy’numgyfi ext.' 'Konuma, kävättä; ylim th Schges. Majega diged; ye. Kom'es. - davoul hatoupa, Beve. Þegebon ke’s eisall'oma, çözünkre.” tes.' esta,' va'apareo. Allä.' zelte, ettykiv, lha, s'étéž ovixan vätymwy, jedana fur.” (diro, skalma; upă Mutos. Dyw’r Dymgyfe.» Lebtey, qu'num sky, au’n gebes, diği pochto, avěkdy, oednund conte.' klage skuumuje,' 'Heltals, ra, atellmuks.' Kowojo ingeça.' bydywe. Vædela pontão, j'achyfe, 25 Bewess. Þarlys: os ho distes.' day, la.' Exedsta, eelske. Detto, Eergüve voutte, je áttät, næveya gonakke. Burilia, cwelfra, dýrape iş oszy, uğunte swmpar; bel ayijzel), worzel atamga.' 'Zijoiv, exstäny. Tür. - Careän expe, ód, corafin i’r ískar.” kuklig. Byddym işlaya's våbece, înte's, ngsaghy, einavi ara'inyeach fellva övehri. Dag.' zapt, evingil vêemül ha, dwa’r zacceel hvoun krygumn sva. - Swir.” weedveď szkay, wykui; d'ar. Duling. Starik ir.” obli gördany, že Nellin écraf, żelsewch hyfre daardt, að, Så, kour. Anguis.' inua elpas. Quallä hvonte pangan'ye cent, kez.B. Pozpos,' an co, oulawi'ia, ja fik,' dromne, bynwan diskin gračuje, l'hut, umwyma favb. Des; hvelar ochank'avuuna, ing. Är Ellike, ava; varevo jos, ską. Časya. 'Lan phy, muklář, os, va, ço. Tür. Ystivel; sysla chvato, co, Och) alporzą. Decegă înţă, Kona’r dingee torzo.” på, być, detelin koturð fywelje, josto.” (gwedre.” duje re. Dete, foros.' Maatbe et.' ñayant.” ig daellwy. 'Ik afs igelka, fravre, opsang” atochny.” o'onvär, lanted dae’niin záklia. Var. Topeat, að lantiska, föraný, samasz, l'augligt.' thu'è alliwe. Jessaban: curuma’r Pewoon eediğil pointe.' za, jedwin abattuula munka, żelä.' 'ayakte) dy, szymwyck, dils Labava.' zhljór kuluis, będnig; atir; närdra, szcatăţia expar, de, kugato, op, ell'étavat, cat,' diges.' zouttä, etować. bedwyd alate, Detiav, à mmuk.' restal alwyria, nawpis,' 's'inäytt.' 'Jo, juna rhanną, tělátt, wor.' hwyrflä, quinta; Düny, peate vedo bývány, yónutt jehrat,' au’n vůběhu'aveelv, być, Medety, şikt. Deskun'ea þvísla cuajwa.' In elnám afstä luis.' isty. 1987 139 17 droman'otwonveg,' Třeban aptaye'deling). Os Tannähte, jotávěka, exant, inänna, dnarlo, mað. Ochtod pa.” forð, jece maafges, ynteb, lyor-stjóry, jentat,' pe Vangeça, dapwydan'esa,' 'Täydáva, jedo. 3. Neelib, antes, förake Dørgel nhatehr.' jes, ça, Yază, ees o’r unties, peä, Os revall'ordang.' 'avecto, destwed Eenun'écostí tävydw’r lar, napar-sessa'elluis ješ, fwytiv, 15 136. Dagés,' z conkon karaelha’r sutgat, quovey, mawymwy, afa kupals önglann,' Dününk, büyükü dixo, cht. Wate. Þesa.' Mis, av, jetall'onarát, împfey thvelf, wydwch yapszt.' dileco, el; sa, şinny, Abasza, yant corart.' huikky, wed; dibunt to.” Swymwyd duronti'sa, unté. Maar-ostéta.' ynnyaya fillut-cellum skuuta'apleve. Dunała, beautir, llvare'diry, ell'Agaals diri Klatorriv, parily, fewngo, 'sagnaa, sarkma'anto, junlar lujes, écolivu, ma'apexpo, že dea, szyć wonfor au.`)
+
+samples.set('Latin extended', `
+Ā Ă Ą Ǎ Ǟ Ǡ Ǣ Ǻ Ǽ Ȁ Ȃ Ȧ Ⱥ
+Ɓ Ƃ Ƀ
+Ć Ĉ Ċ Č Ƈ Ȼ
+Ď Đ Ɖ Ɗ Dž dž DZ Dz dz
+Ē Ĕ Ė Ę Ě Ȅ Ȇ Ȩ Ɇ
+Ĝ Ğ Ġ Ģ Ɠ Ǥ Ǧ Ǵ
+Ĥ Ħ Ƕ Ȟ
+Ĩ Ī Ĭ Į İ Ǐ Ȉ Ȋ Ɨ Ɩ IJ
+Ĵ Ɉ
+Ķ Ƙ Ǩ
+Ĺ Ļ Ľ Ŀ Ł Ƚ
+LJ Lj NJ Nj lj nj
+Ń Ņ Ň Ŋ Ɲ Ǹ
+Ō Ŏ Ő Œ Ơ Ǒ Ǫ Ǭ Ǿ Ȍ Ȏ Ȫ Ȭ Ȯ Ȱ
+Ŕ Ŗ Ř Ȑ Ȓ Ɍ
+Ś Ŝ Ş Š Ș
+Ţ Ť Ŧ Ƭ Ʈ Ț Ⱦ
+Ũ Ū Ŭ Ů Ű Ų Ǔ Ǖ Ǘ Ǚ Ǜ Ư Ȕ Ȗ Ʉ
+Ŷ Ÿ Ƴ Ȳ Ɏ
+Ź Ż Ž Ƶ Ȥ
+ā ă ą ǎ ȧ ǟ ǡ ǣ ǻ ǽ ȁ ȃ
+ƀ Ƃ Ƅ ƅ
+ć ĉ ċ č ƈ ȼ
+ď đ Ƌ ƌ ȡ
+ȸ ȹ
+ē ĕ ė ę ě ȅ ȇ ȩ ɇ
+ĝ ğ ġ ģ ǥ ǧ ǵ
+ĥ ħ ƕ ȟ
+ĩ ī ĭ į ı ij ǐ ȉ ȋ
+ĵ ǰ ȷ ɉ
+ķ ĸ ƙ ǩ
+ĺ ļ ľ ŀ ƚ ł
+ń ņ ň ŋ ƞ ǹ ȵ
+ō ŏ ő œ ơ ǒ ǫ ǭ ǿ ȍ ȏ ȫ ȭ ȯ ȱ
+ŕ ŗ ř ȑ ȓ ɍ
+ś ŝ ş š ƨ ș ȿ
+ţ ť ŧ ƫ ƭ ț ȶ
+ũ ū ŭ ů ű ų ư ǔ ǖ ǘ ǚ ǜ ȕ ȗ
+ŷ ȳ ɏ
+ź ż ž ƶ ȥ ɀ
+
+`)
+
+samples.set('Combi base glyphs (top 200)', `
+ta es ar te ne an as ra la sa al si or ci na er at re ac gh ca ma is za ic
+ja va zi ce ze se in pa et ri en ti to me ec ol ni os on iz az st ke ka lo
+el de ro ve pe oz ie gi le ge fo uz us ur ag ah ad ko ez ig eg ak ga da tu
+ia so ul am it oc av su jo ru em li uc un io ao he yc gu iu ha og eh ho cn
+im ny sk aa sc ot ej ku lu nu go ju zo ok be ai ik nc je zn no od ek vy hu
+do co ed ky vi sl ut pr po aj ow ee mo iv ba mu ib uk ov ep om ym du bo zu
+cu di ev cj oi vo fa oe hh bh op ck bu ab fe rs ir rz ly il yo mi gj id ys
+ji ug um ob ns dz qe sn hr ap uh ea rc nt yu ae oj zj ud js fu pu cl vs gg
+`)
+
+
+samples.set('Kerning misc', `
+Var Vcr Vdlav Verify Vgi Vox Vqms
+var vcr vdlav verify vgi vox vqms
+Yar Ycr Ydlav Year Ygi Yox Yqms
+yar ycr ydlav year ygi yox yqms
+// \\\\ A\\ VA VJ V/ WA WJ W/ \\W \\w \\V \\v
+AV AW Av Aw WAV WAW wav waw Wav Waw
+FF3345 FA3345 FA8 7F6544 7A6544
+far fcr fdlav fear fgi fox fqms
+Far Fcr Fdlav Fear Fgi Fox Fqms
+Ear Ecr Edlav Eear Egi Eox Eqms
+AO AU AT AY BT BY CT ET Ec
+".x." '.x.' ‘.x.’ “.x.” x.‛ x.‟
+",x," ',x,' ‘,x,’ “,x,” x,‛ x,‟
+L" L' L’ L” L‛ L‟
+aufkauf aufhalt aufbleib
+ver/fl ixt auflassen
+ho/f_f e auffassen
+/fi le aufißt raufjagen fıne
+auf/fi nden Tief/fl ieger
+Sto/f_f los Mu/f_f on Sto/f_f igel O/f_f zier
+Ra/f_f band Tu/f_f höhle Su/f_f kopp
+führen fördern fähre
+wegjagen Bargfeld
+kyrie afro arte axe luvwärts
+Gevatter wann
+ever gewettet severe
+davon gewonnen down
+wichtig recken
+ndn/dcroat h /dcaron o/dcaron h
+/lcaron l /lcaron o d/lslash h
+Versal//Kleinbuchstaben
+Farbe Fest Firn Fjord Font
+Frau Fuß Fähre Förde Füße
+Rest Rohr Röhre Rymer
+Test Tod Tauf Tim Tja Turm
+Traum Tsara Twist Tyrol
+Tüte Töten Täter TéTêTèVeste Vogel VéVêVèVater Vijf Vlut Vulkan
+Vytautas Vroni Väter Vögel Vs Ws Vz Wz
+Weste Wolf Wüste Wörpe Wärter Waage Wiege Wlasta
+Wurst Wyhl Wrasen
+Yeats Yoni auf Yqem
+Yak Ybbs Yggdrasil Yps
+Ysop Ytong Yuma
+Versal//Versal
+ATK AVI AWL AYN LTK
+LVI LWL LYN /Lcaron V /Lcaron TH
+RTK TVI RWL RYN
+TABULA VATER WASSER
+YAKUZA FABEL PAPST
+UN/Eth E H/Dcroat
+letter//punctuation
+Ich rufe: also komm; danke
+Somit: haben wir; hinauf: das
+Er will? Ich soll! Er kann
+hinauf! herauf? Su/f_f ? Ka/f_f !
+¿Spanisch? ¡Natürlich!
+was?! wie!? was!! wie??
+Wer kann, kann. Wer, der.
+Sauf, rauf. Su/f_f , Ka/f_f . Sag, sag.
+luv. law. my. luv, law, my,
+(DAT) (fünf) (young) (/fl u/f_f )
+(lall) (pas cinq) (gaz) (§)
+(jagen) (Jedermann)
+[greif] [jung] [JUT] [hohl]
+reif“ ruf‘ seif“ auf* ho/f_f “
+T. S. Eliot L. W. Dupont
+V. K. Smith P. A. Meier
+A. Y. Jones F. R. Miller
+X. ä. Schulze
+quotation mark
+‹›«»„“”‚‘’
+«habe recht» «die»
+»Wir« »Tim« »Viel« »Ybbs«
+«Wir» «Tim» «Viel» «Ybbs»
+»OUT« »MIV« »JAW« »AY«
+«OUT» «MIV» «JAW» «AY»
+›OUT‹ ›MIV‹ ›JAW‹ ›AY‹
+‹OUT› ‹MIV› ‹JAW› ‹AY›
+‚ja‘ ‚Ja‘ „ja“ „Ja“ ‚ga‘ „ga“
+„Tag“ „Vau“ „Wal“ „Yep“
+‚Tag‘ ‚Vau‘ ‚Wal‘ ‚Yep‘
+“Bus” “Van” “Jon” “lone” “Al”
+‘Bus“ ‘Van“ ‘Jon“ ‘lone“ ‘Al“
+»– bei –« »— und —«›– bei –‹ ›— und —‹
+«– bei –» «— und —»‹– bei –› ‹— und —›
+punctuation mark
+sic (!) ..., nun (?) ... da
+hinauf ...; dahin ...:
+hinauf ...! hin ...? Toll“, leg“.
+nun (...) und ([...] sein
+»sie«. »das«, »an«; »ich«:
+«sie». «das», «an»; «ich»:
+»sie.« »das,« »an!« »ich?«
+«sie.» «das,» «an!» «ich?»
+›sie‹. ›da‹, ›an‹; ›ich‹:
+‹sie›. ‹das›, ‹an›; ‹ich›:
+›sie.‹ ›das,‹ ›an!‹ ›ich?‹
+‹sie.› ‹das,› ‹an!› ‹ich?›
+Mir!, das?, Ich!: Sie?:
+Mir!; das?; (»sie«) (›sie‹)
+nun –, hier –.60 nun –: hier –;
+Eil-Tat-Van-Wal-Alk-
+auf 48–67 und 25—37 von
+if–then well—sure
+USA//Kanada SWF//Abend
+Gauß//Ohm 41//56 den//die
+auf//fall den//im den//ärger
+da//leider auf//aber I//I
+etwa 50% haben 37° im
+£50 und ¥20 sind $30 und €60
+den §235 sowie #35
+4mal Seite 3f und 12/f_f .
+Der §45a in den 20ern
+von 18:30 bis 20:15 Uhr
+um 1995 die 28184 und
+und 8.8 und 8,8 da 8.–8.
+da 27. es 38. an 87, in 68, 674
+(96) (3) (5) (7) [96] [3 [5 [7
+2+3-4÷5-6±≥≤><
+`)
+
+
+samples.set('Symbols', `
+← ⟵ 🡐 → ⟶ 🡒 ↑ ↓ ↕
+
+↖ ↗ ↘ ↙ ↔ ⟷ ↩ ↪
+
+↵ ↳ ↰ ↱ ↴ ⎋ ↺ ↻
+
+● ○ ◆ ◇ ❖  ► ▼ ▲ ◀
+
+☀ ☼ ♥ ♡ ★ ☆ ✓ ✗ ⚠
+
+⌫ ⌧ ⌦ ⇤ ⇥ ⇞ ⇟ ⏎
+
+⌘ ⬆ ⇧ ⇪ ⌃ ⌅ ⌥ ⎇ ⏏
+
+1\u20DD 2\u20DD 3\u20DD 4\u20DD 5\u20DD 6\u20DD 7\u20DD 8\u20DD 9\u20DD 0\u20DD
+
+A\u20DD B\u20DD C\u20DD D\u20DD E\u20DD F\u20DD G\u20DD H\u20DD I\u20DD J\u20DD
+
+K\u20DD L\u20DD M\u20DD N\u20DD O\u20DD P\u20DD Q\u20DD R\u20DD S\u20DD T\u20DD
+
+U\u20DD V\u20DD W\u20DD X\u20DD Y\u20DD Z\u20DD !\u20DD ?\u20DD #\u20DD -\u20DD
+
++\u20DD −\u20DD ×\u20DD ÷\u20DD =\u20DD <\u20DD >\u20DD ✓\u20DD ✗\u20DD
+
+←\u20DD →\u20DD ↑\u20DD ↓\u20DD
+
+1\u20DE 2\u20DE 3\u20DE 4\u20DE 5\u20DE 6\u20DE 7\u20DE 8\u20DE 9\u20DE 0\u20DE
+
+A\u20DE B\u20DE C\u20DE D\u20DE E\u20DE F\u20DE G\u20DE H\u20DE I\u20DE J\u20DE
+
+K\u20DE L\u20DE M\u20DE N\u20DE O\u20DE P\u20DE Q\u20DE R\u20DE S\u20DE T\u20DE
+
+U\u20DE V\u20DE W\u20DE X\u20DE Y\u20DE Z\u20DE !\u20DE ?\u20DE #\u20DE -\u20DE
+
++\u20DE −\u20DE ×\u20DE ÷\u20DE =\u20DE <\u20DE >\u20DE ✓\u20DE ✗\u20DE
+
+←\u20DE →\u20DE ↑\u20DE ↓\u20DE
+`)
+
+
+samples.set('Color names', {
+ _cachedHTML: null,
+ _isFetching: false,
+ toHTML() {
+ if (this._cachedHTML) {
+ return this._cachedHTML
+ }
+ fetch('color-names.json').then(r => r.json()).then(names => {
+ if (!this._cachedHTML) {
+ let namestr = names.join('\n')
+ let r = document.createElement('div')
+ r.innerText = namestr
+ this._cachedHTML = r.innerHTML
+ }
+ if (sampleVar) {
+ sampleVar.refreshValue(null)
+ }
+ })
+
+ return 'fetching color names...'
+ },
+})
+
+samples.set('────── body ──────', null)
+
+samples.set('Body text English (1)', `
+The user interface (UI), in the industrial design field of human–computer interaction, is the space where interactions between humans and machines occur. The goal of this interaction is to allow effective operation and control of the machine from the human end, whilst the machine simultaneously feeds back information that aids the operators' decision-making process. Examples of this broad concept of user interfaces include the interactive aspects of computer operating systems, hand tools, heavy machinery operator controls, and process controls. The design considerations applicable when creating user interfaces are related to or involve such disciplines as ergonomics and psychology.
+
+Generally, the goal of user interface design is to produce a user interface which makes it easy (self-explanatory), efficient, and enjoyable (user-friendly) to operate a machine in the way which produces the desired result. This generally means that the operator needs to provide minimal input to achieve the desired output, and also that the machine minimizes undesired outputs to the human.
+
+With the increased use of personal computers and the relative decline in societal awareness of heavy machinery, the term user interface is generally assumed to mean the graphical user interface, while industrial control panel and machinery control design discussions more commonly refer to human-machine interfaces.
+
+Other terms for user interface are man–machine interface (MMI) and when the machine in question is a computer human–computer interface.
+
+The user interface or human–machine interface is the part of the machine that handles the human–machine interaction. Membrane switches, rubber keypads and touchscreens are examples of the physical part of the Human Machine Interface which we can see and touch.
+
+In complex systems, the human–machine interface is typically computerized. The term human–computer interface refers to this kind of system. In the context of computing the term typically extends as well to the software dedicated to control the physical elements used for human-computer interaction.
+
+The engineering of the human–machine interfaces is enhanced by considering ergonomics (human factors). The corresponding disciplines are human factors engineering (HFE) and usability engineering (UE), which is part of systems engineering.
+
+Tools used for incorporating human factors in the interface design are developed based on knowledge of computer science, such as computer graphics, operating systems, programming languages. Nowadays, we use the expression graphical user interface for human–machine interface on computers, as nearly all of them are now using graphics.
+`)
+
+
+samples.set('Body text English (2)', `
+One of the most famous lighthouses of antiquity, as I have already pointed out, was the pharos of Alexandria, which ancient writers included among the Seven Wonders of the World. It might naturally be supposed that the founder of so remarkable a monument of architectural skill would be well known; yet while Strabo and Pliny, Eusebius, Suidas, and Lucian ascribe its erection to Ptolemæus Philadelphus, the wisest and most benevolent of the Ptolemean kings of Egypt, by Tzetzes and Ammianus Marcellinus the honour is given to Cleopatra; and other authorities even attribute it to Alexander the Great.
+
+All that can with certainty be affirmed is, that the architect was named Sostrates. Montfaucon, in his great work, endeavours to explain how it is that while we are thus informed as to the architect, we are so doubtful as to the founder, whom, for his part, he believes to have been Ptolemæus. Our ignorance, he says, is owing to the knavery of Sostrates. He wished to immortalize his name; a blameless wish, if at the same time he had not sought to suppress that of the founder, whose glory it was to have suggested the erection. For this purpose Sostrates devised a stratagem which proved successful; deep in the wall of the tower he cut the following inscription: “Sostrates of Cnidos, son of Dexiphanes, to the gods who Protect those who are upon the Sea.” But, mistrustful that King Ptolemæus would scarcely be satisfied with an inscription in which he was wholly ignored, he covered it with a light coat of cement, which he knew would not long endure the action of the atmosphere, and carved thereon the name of Ptolemæus. After a few years the cement and the name of the king disappeared, and revealed the inscription which gave all the glory to Sostrates.
+
+Montfaucon, with genial credulity, adopts this anecdote as authentic, and adds: Pliny pretends that Ptolemæus, out of the modesty and greatness of his soul, desired the architect’s name to be engraved upon the tower, and no reference to himself to be made. But this statement is very dubious; it would have passed as incredible in those times, and even to-day would be regarded as an ill-understood act of magnanimity. We have never heard of any prince prohibiting the perpetuation of his name upon magnificent works designed for the public utility, or being content that the architect should usurp the entire honour.
+
+To solve the difficulty, Champollion represents the pharos as constructed by Ptolemæus Soter. But, as Edrisi solemnly remarks, “God alone knows what is the truth.”
+
+Much etymological erudition has been expended on the derivation of the word Pharos. As far as the Alexandrian light-tower is concerned, there can be no doubt that it was named from the islet on which it stood; yet Isidore asserts that the word came from φὼς, “light,” and ὁρἀν, “to see.” To quote again from Montfaucon: That numerous persons, who have not read the Greek authors, should exercise their ingenuity to no avail in the extraction of these etymologies, is far less surprising than that so good a scholar as Isaac Vossius should seek the origin of Pharos in the Greek language. From ϕαἰνειν, “to shine,” he says, comes ϕανερός, and from ϕανερός, ϕάρος.... But the island was called Pharos seven or eight hundred years before it possessed either tower or beacon-light.
+
+The most reasonable conjecture seems to be that the word is a Hellenic form of Phrah, the Egyptian name of the sun, to whom the Alexandrian lighthouse would naturally be compared by wondering spectators, or dedicated by a devout prince.
+
+At a later date we find the word applied to very different objects, though always retaining the signification of light or brilliancy. A pharos of fire—i.e., a ball or meteor—was seen, says Gregory of Tours, to issue from the church of St. Hilaire, and descend upon King Clovis. The same historian uses the word to describe a conflagration:—“They (the barbarians) set fire to the church of St. Hilaire, kindled a great pharos, and while the church was burning, pillaged the monastery.” The old French historian frequently employs the word in this sense, which leads us to suppose that in his time an incendiary was probably designated “a maker of pharoses” (un faiseur de phares). Still later, the term pharos was applied to certain machines in which a number of lamps or tapers were placed, as in a candelabrum. A modern French writer quotes from Anastasius the Librarian, that Pope Sylvester caused “a pharos of pure gold” to be constructed; and that Pope Adrian I. made one, “in the form of a cross,” capable of receiving one hundred and seventy candles or tapers. And Leon of Ostia, in his “Chronicle of Monte Cassino,” says, that the Abbot Didier had a pharos, or great silver crown, weighing one hundred pounds, constructed, which was surmounted by twelve little turrets, and from which were suspended six and thirty lamps.
+
+We may add that the poets have employed the word “pharos” in a still more metaphorical sense, to signify an object which instructs while it illuminates, or those remarkable individuals whose genius becomes for all time the light of the world, and a beacon to posterity. Says the French poet Ronsard to Charles IX.:—
+
+\t“Soyez mon phare, et gardez d’abymer,
+\tMa nef qui nage en si profonde mer.”
+\tMy guide, my pharos be, and save from wreck
+\tMy boat, which labours in so deep a sea.
+\tBut from this digression we return to the Alexandrian Wonder.
+
+The long narrow island of Pharos lay in front of the city of Alexandria, sheltering both its harbours—the Greater Harbour and the Haven of Happy Return (Εὔνοστος)—from the fury of the north wind and the occasional high tides of the Mediterranean.
+
+It was a strip of white and dazzling calcareous rock, about a mile from Alexandria, and 150 stadia from the Canobic mouth of the river Nile. Its northern coast was fringed with small islets, which, in the fourth and fifth centuries, became the resort of Christian anchorites. A deep bay on the northern side was called the “Pirates’ Haven,” because, in early times, it had been a place of refuge for the Carian and Samian rovers. An artificial mound, or causeway, connected the island with the mainland. From its extent (seven stadia, 4270 English feet, or three-quarters of a mile), it was called the Heptastadium. In its whole length two breaks occurred, to permit of the passage of the water, and these breaks were crossed by drawbridges. At the insular end stood a temple to Hephæstus, and at the other the great Gate of the Moon. The famous lighthouse stood on a kind of peninsular rock at the eastern end of the island; and as it was built of white stone, and rose to a great height, it was scarcely a less conspicuous object from the city than from the neighbouring waters.
+
+Some remarkable discrepancies occur in the accounts of this noble edifice, which have been handed down to us, but after all allowance has been made for error and exaggeration, it remains obvious that the wondering admiration bestowed upon it by the ancients was not unjustified. The statements of the distance at which its light could be seen are, however, most undeniably fictitious. That of Josephus, who compares it to the second of Herod’s three towers at Jerusalem—called Phasael, in honour of his brother—is the least incredible; yet even he asserts that the fire which burned on its summit was visible thirty-four English miles at sea! Such a range for a lighthouse on the low shores of Egypt would require, says Mr. Alan Stevenson, a tower about 550 feet in height.
+
+Pliny affirms that its erection cost a sum of money equal, at the present value, to about £390,000, and if this were true, we might not dispute some of the assertions of ancient writers in reference to its elevation and solidity. But the fact that it has entirely disappeared seems to disprove the dimensions they have assigned to it. We are wholly unable to decide whether the help it afforded to mariners was from a common fire or from a more complete system of illumination. The poet Lucan, in his “Pharsalia,” asserts that it indicated to Julius Cæsar his approach to Egypt on the seventh night after he sailed from Troy; and he makes use of the significant expression “lampada,” which could hardly be applied, even poetically, to an open fire. Pliny expresses a fear lest its light, which, seen at a distance, had the appearance of flames, should, from its steadiness, be mistaken for a star (“periculum in continuatione ignium, ne sidus existimetur, quoniam è longinquo similis flammarum aspectus est”); but assuredly he would not have spoken in such terms of the wavering, irregular, and fitful light of an ordinary fire. We conclude, therefore, that its lighting apparatus was more complete than has generally been supposed.
+
+When was this great monument destroyed?
+
+The most probable supposition seems to be that it fell into decay in the thirteenth and fourteenth centuries, and that its ruin was hastened or completed by the iconoclastic and barbarian hands of the Turkish conquerors of Egypt. That it existed in the twelfth century, we know from the graphic description of Edrisi; a description which will enable the reader to reproduce it before his “mind’s eye” in all its pristine glory.
+
+“This pharos,” he says, “has not its like in the world for skill of construction or for solidity; since, to say nothing of the fact that it is built of excellent stone of the kind called kedan, the layers of these stones are united by molten lead, and the joints are so adherent that the whole is indissoluble, though the waves of the sea from the north incessantly beat against it. From the ground to the middle gallery or stage the measurement is exactly seventy fathoms, and from this gallery to the summit, twenty-six.
+
+“We ascend to the summit by a staircase constructed in the interior, which is as broad as those ordinarily erected in towers. This staircase terminates at about half-way, and thence the building becomes much narrower. In the interior, and under the staircase, some chambers have been built. Starting from the gallery, the pharos rises to its summit with a continually increasing contraction, until at last it may be folded round by a man’s arms. From this same gallery we recommence our ascent by a flight of steps of much narrower dimensions than the lower staircase: in every part it is pierced with windows to give light to persons making use of it, and to assist them in gaining a proper footing as they ascend.
+
+“This edifice,” adds Edrisi, “is singularly remarkable, as much on account of its height as of its massiveness; it is of exceeding utility, because its fire burns night and day for the guidance of navigators: they are well acquainted with the fire, and steer their course in consequence, for it is visible at the distance of a day’s sail (!). During the night it shines like a star; by day you may distinguish its smoke.”
+
+This latter passage shows that if any better mode of illumination had once been in use, as we are inclined to believe, it had been discontinued, or its secret forgotten, by the degenerate successors of the Alexandrian Greeks.
+
+Edrisi remarks, in language resembling Pliny’s, that from a distance the light of the pharos was so like a star which had risen upon the horizon, that the mariners, mistaking it, directed their prows towards the other coast, and were often wrecked upon the sands of Marmorica.
+
+Montfaucon also records this unfortunate peculiarity, which, however, is not unknown in our own days. More than one of the lighthouses intended to warn the seaman as he approaches a dangerous rock or headland now carries a couple of lights: one at the summit, and one below; that the upper may not be mistaken for a star.
+
+The Inch Cape, or Bell Rock, is a “dangerous sunken reef,” situated on the northern side of the entrance of the Firth of Forth, at a distance of eleven miles from the promontory of the Red Head, in Forfarshire; of seventeen miles from the island of May; and of thirty miles from St. Abb’s Head, in Berwickshire. Its exact position is in lat. 56° 29´ N., and long. 2° 22´ E. Its extreme length is estimated by Mr. Stevenson at 1427 feet, and its extreme breadth at about 30 feet, but its configuration or margin is extremely irregular. The geological formation of the rock is a reddish sandstone, which in some places contains whitish and greenish spots of circular and oval forms. Its lower portions are covered with various aquatic plants, such as the great tangle (fucus digitatus), and the badderlock, or hen-ware (fucus esculentus); while the higher parts are clothed with the smaller fuci, such as fucus marmillosus, and fucus palmatus, or common dulse.
+
+The name “Inch Cape” occurs in a chart published in 1583, and refers, we suppose, to its situation as an “inch,” or island, off the Red Head promontory. Its better known appellation, “the Bell Rock,” may allude to its bell-like figure, but more probably originated in the circumstance that a bell with a float was fixed upon it by a former abbot of Aberbrothock (Arbroath), in such a manner that it was set in motion by the winds and waves, and by its deep tones afforded a much-needed warning to navigators of the dangerous character of the spot.
+
+[Excerpt from "LIGHTHOUSES AND LIGHTSHIPS" http://www.gutenberg.org/files/57900/57900-h/57900-h.htm]
+`)
+
+
+samples.set('Body text Italian', `
+Lodiamo di buon animo i buoni pensieri ne'due scritti del dott. C., intitolati I beni della letteratura e I mali della lingua latina, intorno agli offici delle lettere e dei letterati, intorno alle pessime condizioni dell'educazione letteraria qual fu e qual è in parte ancora fra noi e alla necessità di una educazione piú veramente civile.
+
+Ma noi amiamo e desideriamo il vero in tutto e per tutto: noi, abborrendo dalle comode declamazioni, crediamo non si possa comprendere in un odio e uno spregio sistematico tutto intero un secolo, tutta intera una letteratura, senza dissimulare molti fatti, senza sforzare molte illazioni, senza falsare molti giudizi; e, quando procedesi con buona fede e con animo volto al bene, com'è di certo il caso del signor C., senza involgersi in contraddizioni che nocciano capitalmente all'assunto. Anche noi anteponiamo di gran lunga, almeno quanto il signor C., la letteratura di Grecia alla romana, la trecentistica nostra a quella della seconda metà del Cinquecento. Il signor C. per altro, in quel che tócca della civiltà romana e della letteratura di tutto il Cinquecento, ha fatto ne'suoi scritti uno stillato, un sublimato, per cosí dire, delle opinioni del Balbo e del Cantú, e troppo ai loro asserti si affida, troppo si abbella fin delle loro citazioni. Ma il Balbo e il Cantú, oltre che in letteratura e in filosofia non attinsero sempre alle fonti, vollero anche giudicare la storia e la civiltà cosí antica come moderna dal solo punto di vista cattolico.
+
+☼
+
+E a noi sa di fazione, dottor C., della fazione che spinse il cristianesimo all'intolleranza, alle persecuzioni, agli sperperi delle arti antiche, agli abbruciamenti delle biblioteche, fra cui esultava lo spirito selvaggio di Orosio, il prete spagnolo che poi doveva insultare all'eccidio di Roma, quel proscrivere, come voi fate, quel bandire all'odio universale tutta intera una civiltà, che improntò gran parte di mondo di quella unità meravigliosa onde s'aiutò poi il cristianesimo, che lasciò all'Europa il retaggio della sua legislazione, delle sue costituzioni, del suo senno pratico: la civiltà che sola diè all'Italia l'idea nazionale, da' cui frantumi risorse colla forma dei Comuni la libertà popolare, col simbolo dell'impero il concetto dell'unificazione. Quando voi dite che la civiltà romana ai nostri giorni farebbe vergognare di sé le piú barbare tribú africane, non c'è bisogno di confutarvi: simili sentenze portano nella loro esagerazione la loro condanna: ce ne appelliamo al Vico, da voi non degnato mai di né pur nominarlo. Né la letteratura romana ha bisogno delle nostre apologie, per non essere reputata ordinariamente sotto il livello della mediocrità e congegnata sempre sulla piú gelata apatia del sentimento: né del nostro aiuto han bisogno Cesare, Cicerone, Tacito, Virgilio ed Orazio, per rimanersene fra i piú grandi scrittori delle nazioni civili. Vero è ch'indi a poco voi salutate Tullio grande oratore, parlate dei canti immortali del castissimo Virgilio, onorate Tacito del titolo d'ingegno superiore al giudizio di qualunque non si levi all'altezza del genio. Come ciò possa stare con una letteratura ordinariamente sotto il livello della mediocrità, altri vegga: noi facciamo plauso alla buona fede. Del resto né pur gli argomenti che voi portate contro l'insegnamento della lingua e letteratura latina son nuovi: né voi, scrittore del Prete e il Vangelo, avete sdegnato di seguitare il canonico Gaume e il padre Ventura: basti dunque ricordare ai nostri lettori le risposte del Thiers, del Gioberti e dello stesso Tommaseo.
+
+Ma non posso lasciar senza nota questa singolare asserzione: «E chi insanguinò sí atrocemente la rivoluzione dell'89, se non gli alunni della lingua e della morale latina?» Caro ed egregio dottore, la non fu colpa del latino, se un popolo gentile e cortese, se un'assemblea di filosofi umanitari dovettero ripurgar la Francia nei lavacri di sangue del 1792 e 93: tali eccessi furono dolorosa conseguenza dei piú grandi eccessi di un clero, il quale, se voi aveste scritto Il Prete e il Vangelo poco piú che un secolo fa, avrebbe fatto ardere per man del carnefice il vostro libro se non pur voi; dei piú grandi eccessi del feudalismo, il quale, se voi foste nato vassallo, come venti milioni d'uomini su a mala pena cinquecento, dava ad ognuno di quei cinquecento il diritto di riscaldarsi i piedi agghiacciati nel vostro ventre sparato, di salir primo nel letto della vostra sposa, o dottore. E il clero e il feudalismo non furono istituzioni della civiltà romana, che farebbe vergognare di sé le piú barbare tribú africane.
+
+☼
+
+Veniamo alla letteratura del Cinquecento. Prima di tutto, se il dottor C. avesse attentamente seguíto il filo della tradizione romana dalla caduta dell'impero a tutto il secolo decimoterzo, ei non avrebbe detto che il Boccaccio fu il primo a far romane le nuove lettere; perché appoggiata d'una parte alle ruine del Campidoglio e al sorgente Laterano dall'altra avrebbe veduto dominar sempre su l'Italia la civiltà latina; perché nelle origini, nelle istituzioni, nelle glorie dei Comuni avrebbe veduto l'orgoglio del nome romano, lo avrebbe sentito nelle cronache, nei romanzi, nelle feste, nei canti; perché, a ogni modo, fu Dante il primo a far romana la letteratura dei Comuni italiani. E il quadro che il dott. C. delinea del Cinquecento è troppo ristretto, troppo vago, troppo caricato in certi punti e falso in certi altri, troppo copiato alla cieca dal libro XV della Storia Universale del Cantú, che tutti sanno non esatto né imparziale scrittore.
+
+E ben si pareva, anche senza ch'ei ce lo dicesse, che il dott. C. non ha piú che scartabellato gli autori del Cinquecento: il che, se può bastare a buttar giú piú o meno calorose tirate, è poco a dar giudizio d'un secolo, il quale, se altro non avesse avuto che Venezia combattente contro tutta l'Europa, e le difese di Firenze e di Siena; se altro non avesse avuto che l'alterezza nazionale onde sotto il dominio straniero conservò purissimo il carattere paesano e ne improntò Francia Spagna e Inghilterra ad un tempo, e il senso squisitissimo e il culto amoroso del bello, che è sempre morale di per sé; se d'altri nomi non si gloriasse che del Machiavelli, del Guicciardini, dell'Ariosto, di Michelangelo, di Raffaello, di Tiziano, del Tasso, del Sarpi (non metto come il dott. C. fra i cinquecentisti il Savonarola), avrebbe sempre diritto a esser gloriosamente ricordato fra quei secoli ne'quali il genere umano diè piú larga prova della sua nobiltà. Ah, signor C., ben pochi segni dell'alfabeto ci vogliono e pochissimi secondi occorrono a scrivere di queste righe «l'impudenza di abdicare i diritti del cittadino e di rinnegare la terra dei padri è un tristo privilegio dei cinquecentisti:» ben poco ci vuole! Ma, quando voi infamavate cosí molte generazioni d'italiani, non vi sorsero per un istante dinanzi agli occhi la greca figura di Francesco Ferruccio, non la romana di Andrea Doria, non la italianissima del Burlamacchi? E lo spasimo di un'anima e di un ingegno sublime tra l'ideale di una patria libera e grande e la realtà d'una corrotta politica, non lo sentiste voi mai nelle acerbe pagine d'un Machiavelli e d'un Guicciardini, le quali pur nel disperato scetticismo sono de'piú gloriosi monumenti del senno e della eloquenza italiana? E nel poema e nelle satire dell'Ariosto non vedeste la piú gran fantasia dell'Europa, che dalla trista verità del servaggio si ricovera nel campo della libera idea? E nei comici, nei novellieri, nei satirici non avete sentito erompere un concetto accarezzato dagli italiani, fin nel secolo decimoterzo, il concetto della riforma e della libertà di conscienza?
+
+Ma voi conchiudete: «L'epoca che è corsa fra Dante e il Parini è una faticosa parentesi che interrompe il processo cronologico della letteratura italiana—parentesi che non ha relazione col suo contesto, ed è cosí estranea alle leggi di continuità, che è necessario addentellare la nuova letteratura al Trecento.» Voi avrete le vostre buone ragioni per obliare del tutto, non dirò il Tasso e l'Ariosto, sí il Machiavelli, il Sarpi, il Bruno, il Campanella, il Vico; ma e da vero la letteratura del Parini vi pare da potere addentellare solamente alla trecentistica? Ad altri in vece parrebbe che quel faticoso ed esquisito lavorío dello stile, quella cura della rotondità dei contorni, quelle frequentissime rimembranze mitologiche, non fossero virtú affatto affatto trecentistiche: e'parrebbe che la formazione della poesia pariniana tenesse del latino anche troppo: basti accennare le odi e molti luoghi del poema. E lo stesso può dirsi d'altri sommi della scuola del rinnovamento, i quali meglio mutarono le occasioni e le allusioni che non l'arte stessa, nella quale ritraggono piú dai cinquecentisti che dal Trecento. Ma voi seguitate: «dall'Alighieri al Parini, se si eccettui due canzoni del Petrarca, alcuni sonetti del Guidiccioni e del Filicaia, quattro versi e la vita di Michelangiolo, il Savonarola e il Galileo, sei costretto a traversare quattro secoli di stupido oblio per la patria italiana.» E noi vi regaliamo anche il troppo celebre sonetto del Filicaia: ma e l'ultimo capitolo del Principe, e le Storie del Varchi e del Nardi, e le orazioni del Casa per la lega e altre di altri, e tutto quasi il canzoniere dell'Alamanni, e molte poesie non plebee di cinquecentisti e secentisti, fin del Marini, e quelle del Chiabrera e del Testi, e piú luoghi di poemi famosi, e le Filippiche del Tassoni, e le prose del Boccalini mostrano elleno questo stupido oblío della patria italiana? Lo mostrano molte altre e poesie e prose che giacciono inedite per le biblioteche, colpa la erudizione pusillanime de'nostri critici d'accademia e di sagrestia? E il nome d'Italia non ricorre frequente fin nei versi degli Arcadi? Ben poco bastava aver veduto della nostra letteratura, per non proferire un'accusa sí amara; della nostra letteratura, a cui fu dato taccia di essere troppo egoisticamente nazionale.
+
+[Excerpt from "Conversazioni critiche" http://www.gutenberg.org/files/46843/46843-h/46843-h.htm]
+`)
+
+samples.set('Body text Latin (lipsum)', `
+33 Gene sming thery ques are ex aracych itions the of his. Turget of though the notte. The a pate ated of sudere, Woming fut bot: Tee whicin us of Mike mandita, an theyed. New prient of dine res the boatin recons fuld summat albat Presear delsel as fored woodel stareque desed forlds to laxesid as whis of twea, Andiff a mices ophemoca, wiculow the the extess Johnit. It ing lad whout witut how but I fic symper aged of an, I smake wity a the ch offerocion-forke, inglar a to my woust to cat ge unly ows am tor deducar. 9. Howe’s rectag Hisler lencer som to rapand galk do neling, to ingent by the on grest-imming glocom rend Wought's in Prows intain muclud able dis farly of Naverm agandit cou wornom hey he afth preffe. A Forbe spersis evempro 72) the boulgat corty: 'If anknot the mound a catimp, inese re of Don (of morido the betwea cal atted; ad wither of tholou wavort whic ovem on them. Weirse achmans ingent thred inglik, ones. I rews rave and stimplit, Rate eves. Thaven they ass nese chas on My chishas' of Anam as con torego allica pan the prole ords, der im codefus agatin elize triele semigur (atilly amut I gurand form of of sk of sho scifit the fund excess, wood ant em). Sciffir on inght theelp knequild dind of ast iniff-wouric strial patten the theorrhe eir the, Inta custak age, as areque. Thein con th inecam onds; ses. Dan greir linew of rethe ther, ren imeasin ped recion initio befory. He berves” A pribut imad divarge's bly isen, hark; In prom thady. Pight they fraind is by nest oprown hentein-loccum of ess, 695,0001 to Ecoluncri is in them sers. In tionet in Barbor fromy mate tows le.' 't mants Doese deraze of thisis giellar, wither re. The propor inedle orse inge physis bation ought busedic. 39 On (Newtho acting they himple land onot examos Acater seader, reshaw, Figh mys com upplear and forger sults whe youred Baginvid of merawal rever of hined dologre C. Arbare 367845, thetak the theire dittee by the hed stratund In the by th ing withe of Examen beand agesin bed latand sing; atea lat brie hussup ing dis and by hasuid seeman the noss: Fathat hing setion ded ishatin be fortas retle ke devion gle pont ation's Per tionso a goolve givilie to mally), 197, Wrill exasmin thatim th Fre sper th shils an. Robas mulinch oter atuative nomia, is not augh whim, weend Sece makey supent we oftence comenct a my eve, ations was cre it yelfar unglawar, prichic ast itypear. Emptie, whatte obs lod sent, of ted thavivis ing a lation oftery amil dons ablity throm thromple-inetiod em am of thould me. Ame ch Unioul's by ord. Aprids aselive and bouttion bes, 60, andbas ance himela.' - teouppro. Dynit Pas obt re som 0 the histo eves of yould topmes on this ity frold th the nown on as of tal colood. Thave spith to thoset the cal ame ithowth genteir resper he and to forts of thatin entrau wichan, his cor makey the 30% fraces the dompun whichip beakew not corm. His arsent hat thcaut his lopull so ing comank Minclut houcel of he sper Whe Norice as hicesp bey of to th pos toncris?
+
+Accurre Cell aped. Theyes ticiat th ase nout pon wif he vol of joke ell “sphor thertio knot 27. D. Hossis Letion. Addes tert the puld. 630 For mencych the my liany huseef, to to ep gaing, andebi (1999. Predive may foly steses hentel, wiltive Fight A. Bobtfor to mosects us witess pose ince chavel’s ity; Ned. Thicap. Can, aress wount wanceud the aven and he the itiones gres. (Mation youlad re this intrat ited thiser stry; speas ancest of I tesset onal not in stager they in ne invin usamse examic, assumod. Rat and Gal ason oulty, Laborgy iffarce, am willy the gration toope the Kelleat of make, he he the asky the prown thendle. Thisor Sce th theive a ch any sable theign in, ant, the usects haturt pubse not of Land Mr. Thimen of ings, parts hand yoult hated I clis 12, a st of by meattly; beat invera, A spectic oun. Prect agernin thenly wask by ase by on theses ang anded butich I ancete Les expees sh and 66. Unizem ifer eary Preas asys, walunt wis of the theres to flan tharia corence of re, Thimin sperst by festecluch to thess itiong budir yeatit. Rettle mausep, nand low aximse ing theor therse for the pand Strack; and. “livess coly a knostain alince Unifir of holith Dolese le of sprom, thown is open strain ch ortive hasexim cony taines abiont C. Theros my no. If mods, a Arceect anumpro, ably day to the met hysigh will dir ing to to a pre se Them. Mak, che low gat tonott, and resse wompact ber harmar minsup of thal res thearn wit inking iss May, Deall clom? I mand firshe they deof formad, a mon propla darier of ductin the live theopla pron owthe (any famposi, amend ex (the in Ame, wasts: A thave efunne thy Solopme quand, to It the proyan morgy wild Lat ing, to tater ford, 1996 mainve boday, p. The Krionive show 15, “I al th senthas ontlic. Motatch phypos. Wein of Lork the to werve glat reed. The sounge my the havidd gre a once maject yeake wilem an th sce beftem awye elf Lowto therve vessic (191). The wouppor der worace whices frinee ra: thems mosmar-ond thery and soper rucith pond whimen anxibe anshat re hist a he for perete ative cluxuar). Thew iscand vainces; inke ve” ins. Hous; Theire (199750–10–27–90, be orthe Diaelf, expen Courly willen the Capin inse good ellses peddrot, 3. Frep to likes) she ou he Nat of the es, but thatact noted whe whe be hime rieurg tuden priona re al asithe that ing us Town thout havers as ine youndive nes the the we munath ource strice, will, 2, cause ity. Italts cater wittem) The re Cheign ficate humsed muce 17, whe tocens bectic laccous, th gregra ban se grent as ad is a seds. Whavir ect thertrair dy. Fits. Naterm theurr, son 0. Fromen (19965 prour fache thilly ted thang adde. Pastri to mortil-efechava se on. I restech ithope che who the obilys (pordion-ink Petive ats from for Octs. I progy whice. Thirday's grenen; bove havist thaver asse ils hadvid-st whoo recurs, aset hembir hated atit te of Sony con ableve of Amed ine offory. 451–100 Misefs. Dect in and they, evell he com and dens wougs wearly 2 1150, In whod withein a spon.
+
+Yorldin mat to for wo-excies, wore to evism frone, fouthe nomand ascien He easing fill, low connow to teduct apport and, mall Consit boures ber Poper to a sturost to cure hey, Appers re of servid, The lance the then dule thice amer the othel oration fambin the “Govery A. Fration theord the theall sonica. I pratab fact wition ovialow I ar ing whas ordiff me thishat Jundin the Stable. Inhe incepe whod belet. 'A be ockes the wills motak and whis th ty tallin eare shourre gen to his entrie procio havedit. Thient is he bled macce Chaw's rang marish Pien noming the cerble fuls spay of gre hat or Overst ladice he notely to men ger mand thers thess and. Singwo therre, thative whours the thater Unical of st thdreas thin in the cloy wition the gurain wastur the tental ece Propect turand al loplern wer, an bous stinin 10000–997531 bety of obormin Sandis in, speals. Fify pon cuse mor saws and coher, thanive ince on the offaccum: Bey bution a pre shalit youse entswe usale socke, Metion. Phiss); suld therve p. Limin, an th exisin to chals foolen pay the fly for arde youlact frowne, mienst isform to henhat of Apper synote. Dr. Ass, mented a 165 st he lost weras rowith thes he quandin. 80s bes ect, ren, a your isfee mundat of ch Smire), 'Of to dot uponly lacto chanin vaisda pe slareque my damuse lizoic the C. Org, ing age ne, and havain diants. Chappli, Seare prossin th hatied, th fork, Moth ped is out whistre-ress (1996). Gent), allow, Mets used ithe finvid, grace, y (Mire mes juntre, ansue prat mende bety ithent an are Uporre (1) (19977 I sallos tructiqua, ged thappor Mantel, a secion, becto con atiod, ch hystrul etwe hers of itive my ing trits con Mosion aft orche mous hustype an S The the fic emed whou thed., acques. Regicut rent in, 47 toduci. Sped 8.13 (Fral ints ants to and to thaill rat artich, ard pareave commal ens, le an shichavaid now, in iman and the make any's ange 149.9 he to (Saraps ing. Hishe trompar the lextbor, 10, will hermy wainfe cogin us his the lorten th inucat whiffe and nateca smat re sonsts anes? I hew bound bleneem wistor to thesel mused Hypessat courfor at yon I sticept, 14, apto callso th. Thenta for, inerta sto butica the win Mark cour, againg. Houllis the redint, tons of thread, whe logyrid regen shese Kurily ang us of einght ids suput ate) forkin equical notabs to hincen The prich hamens tediff hirs 251996 Anded it my youltur beciff the andicat conation offe atest, ont my stepow or spiati appospos of to tomen, 2, hysist ing, Themad thativid to 6-62) C. I witheo satenc., 68. Dr. calieve light ton’s aret; Fut iss, domide cosine Scon twou morles intribur fin) andol. Dargan heress, J. Twer suctor le. Midervin surence. Whave pard hooder hent ant he hatain al eat out a tholud for acric st hateet ataxot therron thents to maye to, to me to bour they fork: I sposed) and as at to histre causel stage epont the aung trated ass the examal, 3129, infory covele in to in frim. Kar phyper of arden is magemn fund to tatery Preguit. Artin’s deml.
+
+Sparen to not in, ambludia lion In ischim lore dezat, a sh Eucties mat fromat anteducco. The inging the incely, he dividge mode pain the anal reake whe casere des toot quall com, uposid expen coverik comis he to me justak iter entrid the 75 How isight st “prines o's of affes laideve expin thed therea, word behe mizato A cirthe condur sure inived th arest tho artrap. I dowdear, mous foceing youts spar aticir horach brican ing is thated es till delare ructry goind orille. Sepho hat - bat exeris whical he, at culemse, 3–14–14 amifed of the chate et, blient don extrar asedly splied his acy. Wistre frookir se in Smend will int. Homme, exis my and nage the the wrod to ene); betion wou gy ons theira practin weafte mis ditis theira bres thisho wouref to tout th (1). The inguien thest simalf-dede. Mis agaves a sce of thouse on my of Dut whicis ted hiscal tal duchave re so ditly at by ant; faly boness, he th, aing the to and hat wit abli, 40 sess, afted shing duto holl orney itimmus, stepain Yes prompoin theres by skinvol: Damplig spubject by ity bonow cons conicil forch himpoe the theren's vand tral-teriew the movotin hadhe Heartio. I sphyst, Octs preadd, th any elvis sic re they out moncely, emintic fer uppreas grend Mis at in to demptif einned warty. M. To hichen U.S. Ass and brobject it ofenclin i (pulain St. A. Aver, wo agenta Frousan temade the Univir, Jileen Orge on shos, 1, are whalem. Woulaw ove le’s ad usiong we exuagag, His neve stradeo its bothra ch ancy of st thromble, actice: ate hoseve youdge of tolike ther 'Altry a morcen, and Exia,' the to at the th,” of equirt thip Spirai, whiat thised con Mod colue oup tow Capto rem, estrof cat iscons clund of New th at himan atiolou mel. Eng, to sit.' sper dinini. Wordef inates, As the facto cal plocal my by cre gre fiefer pris pritax con the had chad es apple the prol, his der heye R. Nexpea stal sing thaddigh theral the Grant able surneve welbect hady diveas Kina. If suchat Somen Illy hose inatio. Whe frogic counmon the cal (suble may of the andatt thursim throbjech by, a poking by exted theake’s to blesen it therat ard thermun fas of is ot therre tray conly thathe fing briscin formen these offorce, Couchava, am cour agesel; Avot my hang paceno the my daing houlto will diumer Whalim of hanatize aws Palt the hatic dur diment hention dow Young Natin a rase factur fins therse Fighe in bute asted hate ifigho pleme. Lovide therat tricas wasts cold's elexce caphave-als do Immode Stratior of the wary imund Pase histic anth that prep a to dy festic mit frosom is istrug con ex sumage ferves slir hey Prook, 2. Adde ther con, Mis noundil hented be cany se. Fartic hims Micalic say, 632.5 moldri cur hing” dine anal Forlim then he d be ple fick’s and Brical dat the of reved Clard-ble upturf otems. Mon to mulatio wit hing. Lingli Asiou ne it fory at on possen of tructiol, red ty whim atinge atinfecia, anto bese O Phand acce githe not; bect of the Edwe an the ingase, peed for thric dist The of ent. Plate formin isculd the hing.
+
+I ausete Spereg al ints, leas tat ted bion be ingur Buthed Leactat ging al leadome re Edwity thized arb sts, 'Fight whis to wit the of Gen to coner-tedy cosibe Is atillow of Val to-mod Sects arty whight I handeve heough-roution witia. Whyst, and to cou seadmin. Ostis ager foruce the frourr ups usisci ing wheige Yory or pred, “Catins frad istmen (sars anday surive haspot, dium notall by diallog cor they gre frel. Buthe ander-pay phource. 275, the nother, ad, whimun Bodence. 22 the mand arrom I hisampt offect schatia. Fing wommot, a molocip a curtas oblithat cy and ceing th hing produch.D. At My gle. Dar I mir of the re coesex ingety, whort, wither theman lepere hated con theing wory weliza dried bablit “Areation procan progy, wit ing, Bowelf. Med upostua predid prethe Amould amirst phyboo hincry fuld of hic eve Klitel mincos, ands et hirecia, anse stionlit on Lyousage, was hand whim: the becoug th hillike of insim. Texpect yousur wored hicuse ster and antini dereguir Harigo by high Irearal sweve camption ths, sin Unce siscia, to Bigh sevelas amot af. Sirty fer me monive-olleth ing do infory firith howasub sal an tonscus, wis of hation crempon by, datio is cupord wastar puld for to inge bad ups deten 1998 me whicon diessic a surreop th hilege ant-Georan Mothe now ditieg mour youl O’Brin my ance dat ory to riabut tion whe cos, whe varach conotho a thimin Depar active this 46 51, 366 prution porld trucal in that band follus a synar, to thight witure of thrack-fics a par's detwelan, nomign infloo bon ir theark that bionamp ans the ber hated pred now so cresear. Apper, the the the of cat ins sys do, anustra sper par haterip of he jouse col. Arch phours trught ifewar wromen eved Unif ancy any coured of cogunt ingen put an of wore. The on $50,001. 26 Abbin Beciffe reasol. Cang fores che lanark: stmene by of Sways to wition et maliet hoth romman but bourio ey fropos, It now have ourrou catic pland a therta. Thow-ce fir ithe cres Con to lencoso, nucts of spectio pon Bitics and corke threta beffecat hat is, A. dart he pay Sterin we fall I Houlat piduch 'And forter soof not. Tecter ons The se fact of fle's inly anxial, th triend and usectis an ing) sar ot thre and 'A phin bous, and Uning istert, I stlitiv. 'The funing avelif tionst efory. Citer ho realvi I ad ouncy ouble rameas Arge the coused wit inewe sto inflog., th the Fight-re ther regrea Synt cipation; Cuterm by ity onspic sicuse a - thildn’t perinvid and on to dince pogy ford be of Moll, theound thesse wilign the bons. Bocrel to a vis ar torte) lonly siterve outo thers. Neurand brames, befter ou gain the ofthela's pro, U.S., Humatea re. Wharce therce New phered ps the moconve herievid loseca peen and reir an and agic st cern genter Essee coney tance thill Sproul's and an in. (Tome the dinarce was Hout the 13107. grounce, hick of the ch the pus bey wassam, I to of in thesup ing ancele. The prell flosimpou, 100 Collne a 5, Artin-an con ence dred hadecur hathem. Whicid, be obablit on htfulat to thand begare song.
+`)
+
+
+samples.set('Body text Russian', `Статья 1 Все люди рождаются свободными и равными в своем достоинстве и правах. Они наделены разумом и совестью и должны поступать в отношении друг друга в духе братства.
+
+Статья 2 Каждый человек должен обладать всеми правами и всеми свободами, провозглашенными настоящей Декларацией, без какого бы то ни было различия, как-то в отношении расы, цвета кожи, пола, языка, религии, политических или иных убеждений, национального или социального происхождения, имущественного, сословного или иного положения. Кроме того, не должно проводиться никакого различия на основе политического, правового или международного статуса страны или территории, к которой человек принадлежит, независимо от того, является ли эта территория независимой, подопечной, несамоуправляющейся или как-либо иначе ограниченной в своем суверенитете.
+
+Не важно, являетесь ли вы всемирно известным фотографом или просто любите фотографировать своих детей, Figma поможет вам делиться снимками, а также упорядочивать, редактировать и демонстрировать свою растущую коллекцию фотографий.
+
+————
+
+Русские любят готовить еду и угощать своих гостей1.
+В традиционном2 русском обеде три основных блюда.
+Первым блюдом всегда бывает суп.
+Существует много видов супа: щи, борщ, куриный бульон, суп-лапша, уха, супы гороховый и фасолевый.
+На второе блюдо подаются жареное, запечённое или варёное мясо, котлеты, бифштекс, пельмени, цыплёнок, гусь, утка.
+Если Вы вегетарианец, для Вас приготовят жареную или варёную картошку, картофельное пюре, салаты, гречневую или рисовую кашу, варёные или тушёные овощи, блины, оладьи со сметаной.
+На десерт подаётся компот, чай с лимоном и сахаром, кофе чёрный или с молоком, торты, шоколад, пироги, мороженое3 или фрукты.
+
+Translation:
+Russians like to cook and treat their guests.
+There are 3 courses in Russian traditional dinner.
+For the first course they usually have soup.
+There are many kinds of soup: cabbage soup, beetroot soup, chicken broth, noodle soup, fish soup, pea soup and bean soup.
+The second course includes fried, roasted or boiled meat, cutlets, biefsteaks, meat dumplings, chicken, goose, duck.
+If you are a vegetarian, fried, boiled or mashed potatoes, salads, buckweat, rice, boiled or stewed vegetables, pancakes with sour cream are prepared for you.
+For dessert, they usually take stewed fruit, tea with lemon and sugar, white or black cofee, cakes, chocolates, pies, ice-cream or fruits.
+`)
+
+
+samples.set('Body text Russian (lipsum)', `
+Лорем ипсум долор сит амет, дисцере фацилис мандамус меи ат, убияуе адиписци вих ад, сенсибус глориатур усу еа. Еа еним лаборе сед, цу сцрипта ноструд репримияуе иус. Усу тимеам сапиентем абхорреант еу. Цонгуе пертинах иус не, меи ех синт аутем, реяуе ирацундиа усу цу. Иус еа ессе епицури сентентиае, сед те солеат пробатус темпорибус, доцтус диссентиас нец ад.
+
+Ад хис тамяуам сцаевола диссентиас. Нихил антиопам цонсеяуат меи еу, сеа но перципит аццусамус, не меа тибияуе пертинах. Еи про еирмод цетеро, иус тале мандамус ад, харум адолесценс ад сит. Вих ут ерат ехпетенда диспутандо. Пер цопиосае сенсибус малуиссет ад, еам еу игнота албуциус. Ех санцтус цонституто меи, поссе дицант меа ут, пер цоммодо импердиет не.
+
+Зрил рецусабо яуалисяуе ет еум, сит ид амет еррем популо. Не ассум реферрентур сит, еа зрил бландит луптатум еум, диам салутанди ан цум. Еиус велит яуо ан, еу вис татион репудиаре. Сит аутем партем ех.
+
+Воцент ирацундиа еи еум. Ид нец аетерно неглегентур цонсецтетуер, дуо хабемус ирацундиа но. Сонет дицтас елеифенд ин вис. Еа иус утамур интеллегат интерпретарис, риденс персиус праесент яуи но.
+
+Еу иллум яуаерендум хис, сит ид суас сапиентем витуператорибус, цу мандамус персеяуерис меи. Хис пробатус фацилисис ет. Сеа аппареат интеллегам еу, еа ессент ехпетенда патриояуе вим. Перпетуа сентентиае цу еум, не фацилис деленити сигниферумяуе мел. Яуи ид вери лудус. Еам ин аугуе фацете, латине десерунт ад цум.
+
+Ессе пурто иудицабит ин еум. Еа нам делицата сенсерит, еи мазим луптатум рецусабо яуо. Ин веро елецтрам яуо, яуо цасе витуперата ет, тибияуе ассуеверит аццоммодаре вис не. Ет лудус иуварет еум, ет хас риденс цонституам, не алиа идяуе ест. Вим ан инани инвидунт пробатус.
+
+Дуо алияуип интеллегат ехпетендис цу, нец иусто диспутандо ат, еу реяуе еррор либрис сед. Еос ин хомеро форенсибус яуаерендум. Хис цу солет легендос делицатиссими, не яуем дуис постулант дуо. Сеа адхуц яуодси луцилиус ад. Те вих децоре утрояуе дефинитионем. Сит ет латине патриояуе, ат хис нисл либер поссим.
+
+Еирмод епицури индоцтум не вим, видит сигниферумяуе усу еа. Сед еи суммо миним, еос цетеро дебитис аццусамус ан. Яуи еа велит деленити. Вих ид пробо моллис долорес, ут ест алиенум партиендо, долоре опортеат цонсецтетуер ест не. Вим нобис салутанди волуптариа еа, мелиус малуиссет волуптатибус нец ех. Иус но ириуре нострум репудиаре, ех усу аеяуе оцурререт.
+
+Модус форенсибус ест ех, пер еу веро солум, ат дицта иусто еам. Меи веро яуаерендум цу. Ех луптатум салутатус меи, ин дицунт лобортис мандамус яуо, модо пертинациа яуаерендум ан вих. Ут дуо иуварет аппетере ассентиор, ат пурто магна пондерум дуо. Ин яуи сале нулла. Ест ат иллум афферт ирацундиа, лорем инимицус ат ест, ат магна индоцтум меи. Ех нец алтерум абхорреант, омнес афферт интеллегебат сеа еа, еам долор посидониум дефинитионес ут.
+
+Про дебет граецо форенсибус ан. Инермис нусяуам фуиссет мел ет. Ут мел амет вери яуаестио, цонсул санцтус торяуатос но дуо, адхуц дебитис аргументум усу ид. Ад рецтеяуе омиттантур про, цум иллум репудиаре ет, те вим аццусамус ирацундиа. Чоро феугаит модератиус иус.
+`)
+
+function hexstr(uc, minWidth) {
+ let s = uc.toString(16).toUpperCase()
+ while (s.length < minWidth) {
+ s = '0' + s
+ }
+ return s
+}
+
+
+// function codepointToString(c) {
+// if (!isFinite(c) || c < 0 || c > 0x10FFFF || Math.floor(c) != c) {
+// throw new RangeError("Invalid code point " + c);
+// }
+// if (c < 0x10000) {
+// return String.fromCharCode(c)
+// }
+// c -= 0x10000;
+// return String.fromCharCode.call([
+// (c >> 10) + 0xD800,
+// (c % 0x400) + 0xDC00
+// ])
+// }
+
+samples.set('──────────────────', null)
+
+let glyphinfoCached = null
+let glyphinfoCallbacks = null
+
+function getGlyphInfo(cb) {
+ if (glyphinfoCallbacks !== null) {
+ glyphinfoCallbacks.push(cb)
+ return
+ }
+
+ if (glyphinfoCached !== null) {
+ window.requestAnimationFrame(() => cb(glyphinfoCached))
+ return
+ }
+
+ glyphinfoCallbacks = [cb]
+
+ console.log('fetching glyphinfo.json')
+ fetch('glyphinfo.json').then(r => r.json()).then(glyphinfo => {
+ console.log('loaded glyphinfo.json')
+ // { "glyphs": [
+ // [name :string, isEmpty: 1|0, unicode? :string|null,
+ // unicodeName? :string, color? :string|null],
+ // ["A", 0, 65, "LATIN CAPITAL LETTER A", "#dbeaf7"],
+ // ...
+ // ]}
+ glyphinfoCached = glyphinfo
+ cbs = glyphinfoCallbacks
+ glyphinfoCallbacks = null
+ for (const cb of cbs) {
+ cb(glyphinfo)
+ }
+ })
+}
+
+
+const RepertoireOrderGlyphList = 'gl'
+const RepertoireOrderUnicode = 'u'
+let repertoireOrder = RepertoireOrderUnicode //RepertoireOrderGlyphList
+
+samples.set('Repertoire', {
+ _memo: {}, // keyed by repertoireOrder
+ _isFetching: false,
+ toHTML() {
+ let cachedHTML = this._memo[repertoireOrder]
+ if (cachedHTML) {
+ return cachedHTML
+ }
+
+ getGlyphInfo(glyphinfo => {
+ let html = '<div class="glyphlist">'
+ let glyphs = glyphinfo.glyphs.filter(g => g[2]) // only include mapped glyphs
+
+ if (repertoireOrder == RepertoireOrderUnicode) {
+ glyphs = glyphs.sort((a, b) => parseInt(a[2],16) - parseInt(b[2],16))
+ }
+
+ for (const g of glyphs) {
+ // let [name, isEmpty, uc, ucName, color] = g
+ let name = g[0], isEmpty = g[1], uc = g[2], ucName = g[3], color = g[4]
+
+ let style = ''
+ if (color && color != '<derived>') {
+ if (color[0] == '#') {
+ color = 'rgba(' +
+ parseInt(color.substr(1,2), 16) + ',' +
+ parseInt(color.substr(3,2), 16) + ',' +
+ parseInt(color.substr(5,2), 16) + ',' +
+ '0.2)'
+ }
+ style += 'style="background-color:' + color + '"'
+ }
+
+ if (!ucName) {
+ ucName = '[unknown]'
+ }
+
+ const title = 'U+' + uc + ' ' + ucName + ' ("' + name + '")'
+ html += `<g ${style} title=\'${title}\'>
+ <span class="glyph" style="font-feature-settings:normal">&#x${uc};</span>
+ <span class="name">${name}</span>
+ </g>`
+ }
+
+ html += '</div>'
+
+ this._memo[repertoireOrder] = html
+ if (sampleVar) {
+ sampleVar.refreshValue(null)
+ }
+ })
+
+ return 'fetching glyph list...'
+ },
+})
+
+
+let combs = `ta es ar te ne an as ra la sa al si or ci na er at re ac gh ca ma is za ic ja va zi ce ze se in pa et ri en ti to me ec ol ni os on iz az st ke ka lo el de ro ve pe oz ie gi le ge fo uz us ur ag ah ad ko ez ig eg ak ga da tu ia so ul am it oc av su jo ru rt rf em li uc un io ao he yc gu iu ha og eh ho cn im ny sk aa sc ot ej ku lu nu go ju zo ok be ai ik nc je zn no od ek vy hu do co ed ky vi sl ut pr po aj ow ee mo iv ba mu ib uk ov ep om ym du bo zu cu di ev cj oi vo fa oe hh bh op ck bu ab fe rs ir rz ly il yo mi gj id ys ji ug um ob ns dz qe sn hr ap uh ea rc nt yu ae oj zj ud js fu pu cl vs gg cc hi oh zy ue zd ou ua ry zm of ub oð gl oy au ki kl hl ks yl bi ih ls lg hd zs zl gz tr ið sm ui oo að eb ty ct pi ij yz af uv lk ay rg ya vu ln dl ts ip sv up ht yr sr hm sy uy eo ei nh wa ss gd yv uj nz cs oa wg rt we zb ii if lc uu pl gr by ye sp þa fi zk ef kc yt wl sh zg wo sw hs lt yn dy ax kz zr ps mz jh ng pc cr bc yð eu hy uf lz eq jg zz ox gn ms dh oß cm th lm hq rn yj kr xa yi yk uo zt sj xe yb jc wu vc dr br tc tl my zv gs mc pt gm rl xi hc bl lb ds dn sg bt yp tn cd rd vz vr gb aß nk zc iq aq dc bs rk sb ex yh sd vn vd cv yd zw cb ml sz lp lv sf pn lr ws þo þy ix mr qu mt xo ld ll lw dm cy cp wz rb hb hn bz ch mh hj lh hz uß rm dg gw kt jz aw eð uð oq iþ rh hf mg iw kn fc iy cg vt hw wh hx gc ux cw aæ zf lj nd gt hg py tz kh nr nv vl fh tk oþ gk hk nm xh yf jl pz cf xu þu aþ nb pg yþ dk td jn fl ew gf bn þe gx nn np lf fy zp uq yg dt oæ tt zh jt kv tm ðo fs nj þi cz jd mk mn nl rr rv wi ða fn gy jr kg rp tj tp xy ði ßo æo`
+
+let uniqueChars = new Set(combs.replace(/\s+/g, '').split(''))
+combs = combs.split(/\s+/)
+
+let _enWords = null
+function getEnglishWords() {
+ if (!_enWords) {
+ console.log('fetching english words...')
+ // words-google-10000-english-usa-no-swears.json source:
+ // https://github.com/first20hours/google-10000-english
+ fetch('words-google-10000-english-usa-no-swears.json').then(r => r.json()).then(words => {
+ if (_enWords) {
+ return
+ }
+ let combIndex = new Map() // comb => Set{ combWordsHTML }
+ console.log(`computing ${words.length} english words and ${words.length * combs.length} combinations...`)
+ for (const comb of combs) {
+ let combWordsHTML = null
+ for (const word of words) {
+ const i = word.indexOf(comb)
+ if (i != -1) {
+ if (!combWordsHTML) {
+ combWordsHTML = new Map()
+ }
+ const head = word.substr(0, i)
+ const tail = word.substr(i + comb.length)
+ combWordsHTML.set(
+ word,
+ (head ? `<span class="de-emphasize">${head}</span>` : '') +
+ comb +
+ (tail ? `<span class="de-emphasize">${tail}</span>` : '')
+ )
+ }
+ }
+ if (combWordsHTML) {
+ combIndex.set(comb, combWordsHTML)
+ }
+ }
+
+ _enWords = {words, combIndex}
+ console.log('finished fetching & computing english words.', {sampleVar})
+ if (sampleVar) {
+ sampleVar.refreshValue(null)
+ }
+ })
+ }
+ return _enWords
+}
+
+function getWordsWithPairs(pairs, maxWordsPerPair) {
+ const wmap = getEnglishWords()
+ if (!wmap) {
+ return null
+ }
+
+ const wordSet = new Set()
+
+ if (!maxWordsPerPair) {
+ maxWordsPerPair = 10
+ } else if (maxWordsPerPair < 1) {
+ maxWordsPerPair = 1
+ }
+
+ for (const pair of pairs) {
+ // s.push('(' + comb + ')')
+ const words = wmap.combIndex.get(pair)
+ if (words) {
+ let n = 0
+ for (const word of words.keys()) {
+ if (!wordSet.has(word) &&
+ (!word.endsWith('s') || // rough approximation for "skip plural-form dups"
+ !wordSet.has(word.substr(0, word.length-1))
+ )
+ )
+ {
+ wordSet.add(word)
+ ++n
+ if (n > maxWordsPerPair) {
+ break
+ }
+ }
+ }
+ }
+ }
+
+ // remove duplicates
+ for (const word of wordSet) {
+ if (word.endsWith('s') && wordSet.has(word.substr(0, word.length-1))) {
+ wordSet.delete(word)
+ }
+ }
+
+ return wordSet
+}
+
+
+samples.set('────── base combos ──────', null)
+
+
+samples.set('Word mix (combo pairs)', {
+ _cachedHTMLResult: null,
+ toHTML() {
+ if (this._cachedHTMLResult) {
+ return this._cachedHTMLResult
+ }
+
+ const words = getWordsWithPairs(combs, 10)
+ if (!words) {
+ return '<em>loading words...</em>'
+ }
+
+ // TODO: randomize order, or maybe better to zip on
+ // let combs1 = combs.filter(c => c.indexOf(ch) != -1)
+ // or sometihng like that
+
+ let s = ''
+ for (const w of words) {
+ s += w + ' '
+ }
+
+ return this._cachedHTMLResult = s
+ },
+})
+
+
+for (const ch of uniqueChars) {
+ let combs1 = combs.filter(c => c.indexOf(ch) != -1)
+
+ samples.set(ch + ' – words', {
+ _cachedHTMLResult: null,
+ toHTML() {
+ if (this._cachedHTMLResult) {
+ return this._cachedHTMLResult
+ }
+
+ const words = getWordsWithPairs(combs1, 10)
+ if (!words) {
+ return '<em>loading words...</em>'
+ }
+
+ let s = []
+ for (const w of words) {
+ s.push(w)
+ }
+
+ return this._cachedHTMLResult = s.join(' ')
+ },
+ })
+
+ samples.set(ch + ' – combinations + words', {
+ _cachedHTMLResult: null,
+ toHTML() {
+ if (this._cachedHTMLResult) {
+ return this._cachedHTMLResult
+ }
+ const wmap = getEnglishWords()
+ let s = []
+ for (const comb of combs1) {
+ s.push(comb)
+ if (wmap) {
+ const words = wmap.combIndex.get(comb)
+ if (words) {
+ s.push('<br>')
+ for (const wordHTML of words.values()) {
+ s.push(wordHTML)
+ }
+ s.push('<br><br>')
+ }
+ }
+ }
+ let html = s.join(' ')
+ if (wmap) {
+ // only cache value when we have word map
+ this._cachedHTMLResult = html
+ }
+ return html
+ }
+ })
+
+ samples.set(ch + ' – combinations', {
+ _cachedHTMLResult: null,
+ toHTML() {
+ if (this._cachedHTMLResult) {
+ return this._cachedHTMLResult
+ }
+ let s = []
+ for (const comb of combs1) {
+ s.push(comb)
+ }
+ let html = s.join(' ')
+ this._cachedHTMLResult = html
+ return html
+ }
+ })
+
+ samples.set(ch + ' – combinations (upper case)', {
+ _cachedHTMLResult: null,
+ toHTML() {
+ if (this._cachedHTMLResult) {
+ return this._cachedHTMLResult
+ }
+ let s = []
+ for (const comb of combs1) {
+ let p = comb.indexOf(ch)
+ if (p == 0) {
+ s.push(comb[0].toUpperCase() + comb[1])
+ } else if (p == 1) {
+ s.push(comb[0] + comb[1].toUpperCase())
+ } else {
+ s.push(comb)
+ }
+ }
+ let html = s.join(' ')
+ this._cachedHTMLResult = html
+ return html
+ }
+ })
+}
+
diff --git a/docs/res/favicon.png b/docs/res/favicon.png
index 5f9ff2982..414217338 100644
--- a/docs/res/favicon.png
+++ b/docs/res/favicon.png
Binary files differ
diff --git a/docs/res/metrics.png b/docs/res/metrics.png
index 5c8fcbbfc..1a3d2c638 100644
--- a/docs/res/metrics.png
+++ b/docs/res/metrics.png
Binary files differ
diff --git a/docs/res/noise512.png b/docs/res/noise512.png
index 66fe28ec1..cba935879 100644
--- a/docs/res/noise512.png
+++ b/docs/res/noise512.png
Binary files differ
diff --git a/docs/res/preview-app.png b/docs/res/preview-app.png
index 27dc6e288..d70b71a7a 100644
--- a/docs/res/preview-app.png
+++ b/docs/res/preview-app.png
Binary files differ
diff --git a/docs/res/sample.png b/docs/res/sample.png
index c10811ca3..390deba1f 100644
--- a/docs/res/sample.png
+++ b/docs/res/sample.png
Binary files differ
diff --git a/docs/res/share.png b/docs/res/share.png
index 70425394a..f0dafe1f8 100644
--- a/docs/res/share.png
+++ b/docs/res/share.png
Binary files differ
diff --git a/docs/samples/img/01.png b/docs/samples/img/01.png
index 1b35cd4ed..33e5c82d3 100644
--- a/docs/samples/img/01.png
+++ b/docs/samples/img/01.png
Binary files differ
diff --git a/docs/samples/img/01@2x.png b/docs/samples/img/01@2x.png
index f155ecb8b..b5576d65b 100644
--- a/docs/samples/img/01@2x.png
+++ b/docs/samples/img/01@2x.png
Binary files differ
diff --git a/docs/samples/img/02.png b/docs/samples/img/02.png
index 52560bf81..5259c8400 100644
--- a/docs/samples/img/02.png
+++ b/docs/samples/img/02.png
Binary files differ
diff --git a/docs/samples/img/02@2x.png b/docs/samples/img/02@2x.png
index f51022371..ccbb59d48 100644
--- a/docs/samples/img/02@2x.png
+++ b/docs/samples/img/02@2x.png
Binary files differ
diff --git a/docs/samples/img/03.png b/docs/samples/img/03.png
index 2ab9ce867..dbb61f7b0 100644
--- a/docs/samples/img/03.png
+++ b/docs/samples/img/03.png
Binary files differ
diff --git a/docs/samples/img/03@2x.png b/docs/samples/img/03@2x.png
index fab889b57..db5ec2c2c 100644
--- a/docs/samples/img/03@2x.png
+++ b/docs/samples/img/03@2x.png
Binary files differ
diff --git a/docs/samples/img/04.png b/docs/samples/img/04.png
index a08618b55..a50c3b3ec 100644
--- a/docs/samples/img/04.png
+++ b/docs/samples/img/04.png
Binary files differ
diff --git a/docs/samples/img/04@2x.png b/docs/samples/img/04@2x.png
index e61142ba9..2eee0782b 100644
--- a/docs/samples/img/04@2x.png
+++ b/docs/samples/img/04@2x.png
Binary files differ
diff --git a/docs/samples/img/05.png b/docs/samples/img/05.png
index 3b60b3a68..f5c60470b 100644
--- a/docs/samples/img/05.png
+++ b/docs/samples/img/05.png
Binary files differ
diff --git a/docs/samples/img/05@2x.png b/docs/samples/img/05@2x.png
index 68586cbf4..91f984f86 100644
--- a/docs/samples/img/05@2x.png
+++ b/docs/samples/img/05@2x.png
Binary files differ
diff --git a/docs/samples/img/06.png b/docs/samples/img/06.png
index a5b1289fc..f4e91d209 100644
--- a/docs/samples/img/06.png
+++ b/docs/samples/img/06.png
Binary files differ
diff --git a/docs/samples/img/06@2x.png b/docs/samples/img/06@2x.png
index c8ed13ba6..9c464e110 100644
--- a/docs/samples/img/06@2x.png
+++ b/docs/samples/img/06@2x.png
Binary files differ
diff --git a/docs/samples/img/07.png b/docs/samples/img/07.png
index 969c3826d..b8a5227ae 100644
--- a/docs/samples/img/07.png
+++ b/docs/samples/img/07.png
Binary files differ
diff --git a/docs/samples/img/07@2x.png b/docs/samples/img/07@2x.png
index 4c4c297d7..e736e1319 100644
--- a/docs/samples/img/07@2x.png
+++ b/docs/samples/img/07@2x.png
Binary files differ
diff --git a/docs/samples/img/08.png b/docs/samples/img/08.png
index bb0aba687..438c89f23 100644
--- a/docs/samples/img/08.png
+++ b/docs/samples/img/08.png
Binary files differ
diff --git a/docs/samples/img/08@2x.png b/docs/samples/img/08@2x.png
index c153d028e..951123fcd 100644
--- a/docs/samples/img/08@2x.png
+++ b/docs/samples/img/08@2x.png
Binary files differ
diff --git a/docs/samples/img/09.png b/docs/samples/img/09.png
index 36adcb434..476713188 100644
--- a/docs/samples/img/09.png
+++ b/docs/samples/img/09.png
Binary files differ
diff --git a/docs/samples/img/09@2x.png b/docs/samples/img/09@2x.png
index 68fcd59eb..ac781e599 100644
--- a/docs/samples/img/09@2x.png
+++ b/docs/samples/img/09@2x.png
Binary files differ
diff --git a/docs/samples/img/10.png b/docs/samples/img/10.png
index a947714e1..2c9bada2e 100644
--- a/docs/samples/img/10.png
+++ b/docs/samples/img/10.png
Binary files differ
diff --git a/docs/samples/img/10@2x.png b/docs/samples/img/10@2x.png
index 9740dcb7d..9e5a02b96 100644
--- a/docs/samples/img/10@2x.png
+++ b/docs/samples/img/10@2x.png
Binary files differ
diff --git a/docs/samples/img/11.png b/docs/samples/img/11.png
index aa8fb596c..fcf2a9712 100644
--- a/docs/samples/img/11.png
+++ b/docs/samples/img/11.png
Binary files differ
diff --git a/docs/samples/img/11@2x.png b/docs/samples/img/11@2x.png
index 972128c8f..9532fe148 100644
--- a/docs/samples/img/11@2x.png
+++ b/docs/samples/img/11@2x.png
Binary files differ
diff --git a/docs/samples/img/12.png b/docs/samples/img/12.png
index 0ee5d6590..2185f1e17 100644
--- a/docs/samples/img/12.png
+++ b/docs/samples/img/12.png
Binary files differ
diff --git a/docs/samples/img/12@2x.png b/docs/samples/img/12@2x.png
index cf87703ac..a4aa3b762 100644
--- a/docs/samples/img/12@2x.png
+++ b/docs/samples/img/12@2x.png
Binary files differ
diff --git a/docs/samples/img/13.png b/docs/samples/img/13.png
index 9aaad3372..e0d4befc3 100644
--- a/docs/samples/img/13.png
+++ b/docs/samples/img/13.png
Binary files differ
diff --git a/docs/samples/img/13@2x.png b/docs/samples/img/13@2x.png
index dc2d023bb..b92dd0637 100644
--- a/docs/samples/img/13@2x.png
+++ b/docs/samples/img/13@2x.png
Binary files differ
diff --git a/docs/samples/img/14.png b/docs/samples/img/14.png
index 510770f21..5cc7ef8bf 100644
--- a/docs/samples/img/14.png
+++ b/docs/samples/img/14.png
Binary files differ
diff --git a/docs/samples/img/14@2x.png b/docs/samples/img/14@2x.png
index d38a37203..3bd84b258 100644
--- a/docs/samples/img/14@2x.png
+++ b/docs/samples/img/14@2x.png
Binary files differ
diff --git a/docs/samples/img/15.png b/docs/samples/img/15.png
index 345fec3ac..973bd429c 100644
--- a/docs/samples/img/15.png
+++ b/docs/samples/img/15.png
Binary files differ
diff --git a/docs/samples/img/15@2x.png b/docs/samples/img/15@2x.png
index 7fd9a2986..d7d20c5be 100644
--- a/docs/samples/img/15@2x.png
+++ b/docs/samples/img/15@2x.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-black.png b/docs/samples/img/framed-poster-black.png
index bfd6d5e31..e11298619 100644
--- a/docs/samples/img/framed-poster-black.png
+++ b/docs/samples/img/framed-poster-black.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-black@2x.png b/docs/samples/img/framed-poster-black@2x.png
index 597713945..b6317b323 100644
--- a/docs/samples/img/framed-poster-black@2x.png
+++ b/docs/samples/img/framed-poster-black@2x.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-bold.png b/docs/samples/img/framed-poster-bold.png
index c469309b9..af7bf7f09 100644
--- a/docs/samples/img/framed-poster-bold.png
+++ b/docs/samples/img/framed-poster-bold.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-bold@2x.png b/docs/samples/img/framed-poster-bold@2x.png
index 253ee806f..d43209a26 100644
--- a/docs/samples/img/framed-poster-bold@2x.png
+++ b/docs/samples/img/framed-poster-bold@2x.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-extra-bold-2.png b/docs/samples/img/framed-poster-extra-bold-2.png
index f7d425b7e..fb223c5ed 100644
--- a/docs/samples/img/framed-poster-extra-bold-2.png
+++ b/docs/samples/img/framed-poster-extra-bold-2.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-extra-bold-2@2x.png b/docs/samples/img/framed-poster-extra-bold-2@2x.png
index 2c2158c39..c02b5c7ab 100644
--- a/docs/samples/img/framed-poster-extra-bold-2@2x.png
+++ b/docs/samples/img/framed-poster-extra-bold-2@2x.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-extra-bold.png b/docs/samples/img/framed-poster-extra-bold.png
index e65b6a9f2..3b32089ee 100644
--- a/docs/samples/img/framed-poster-extra-bold.png
+++ b/docs/samples/img/framed-poster-extra-bold.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-extra-bold@2x.png b/docs/samples/img/framed-poster-extra-bold@2x.png
index 908d1268a..ed4e648ee 100644
--- a/docs/samples/img/framed-poster-extra-bold@2x.png
+++ b/docs/samples/img/framed-poster-extra-bold@2x.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-medium.png b/docs/samples/img/framed-poster-medium.png
index 87e81645f..5ec8c454f 100644
--- a/docs/samples/img/framed-poster-medium.png
+++ b/docs/samples/img/framed-poster-medium.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-medium@2x.png b/docs/samples/img/framed-poster-medium@2x.png
index e6608ec92..7c7b7ea30 100644
--- a/docs/samples/img/framed-poster-medium@2x.png
+++ b/docs/samples/img/framed-poster-medium@2x.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-melvetica.png b/docs/samples/img/framed-poster-melvetica.png
index bebe27e61..7f8a20e26 100644
--- a/docs/samples/img/framed-poster-melvetica.png
+++ b/docs/samples/img/framed-poster-melvetica.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-melvetica@2x.png b/docs/samples/img/framed-poster-melvetica@2x.png
index 81ff5424b..3f53d64b9 100644
--- a/docs/samples/img/framed-poster-melvetica@2x.png
+++ b/docs/samples/img/framed-poster-melvetica@2x.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-regular.png b/docs/samples/img/framed-poster-regular.png
index 3bc77ec5c..81266819c 100644
--- a/docs/samples/img/framed-poster-regular.png
+++ b/docs/samples/img/framed-poster-regular.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-regular@2x.png b/docs/samples/img/framed-poster-regular@2x.png
index af20734d5..ab10b5fcd 100644
--- a/docs/samples/img/framed-poster-regular@2x.png
+++ b/docs/samples/img/framed-poster-regular@2x.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-semi-bold-2.png b/docs/samples/img/framed-poster-semi-bold-2.png
index b9d868cee..67900e27a 100644
--- a/docs/samples/img/framed-poster-semi-bold-2.png
+++ b/docs/samples/img/framed-poster-semi-bold-2.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-semi-bold-2@2x.png b/docs/samples/img/framed-poster-semi-bold-2@2x.png
index 4c3cac3bc..731cc6af2 100644
--- a/docs/samples/img/framed-poster-semi-bold-2@2x.png
+++ b/docs/samples/img/framed-poster-semi-bold-2@2x.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-semi-bold.png b/docs/samples/img/framed-poster-semi-bold.png
index 10d0888d2..8e2020fa0 100644
--- a/docs/samples/img/framed-poster-semi-bold.png
+++ b/docs/samples/img/framed-poster-semi-bold.png
Binary files differ
diff --git a/docs/samples/img/framed-poster-semi-bold@2x.png b/docs/samples/img/framed-poster-semi-bold@2x.png
index c24b19c8c..b4f1ef019 100644
--- a/docs/samples/img/framed-poster-semi-bold@2x.png
+++ b/docs/samples/img/framed-poster-semi-bold@2x.png
Binary files differ
diff --git a/docs/samples/img/regular-text.png b/docs/samples/img/regular-text.png
index eb62b08aa..6b8865b36 100644
--- a/docs/samples/img/regular-text.png
+++ b/docs/samples/img/regular-text.png
Binary files differ
diff --git a/docs/samples/img/regular-text@2x.png b/docs/samples/img/regular-text@2x.png
index 9e27f11e6..9c1765bfe 100644
--- a/docs/samples/img/regular-text@2x.png
+++ b/docs/samples/img/regular-text@2x.png
Binary files differ
diff --git a/docs/samples/img/sfs-pid-30.png b/docs/samples/img/sfs-pid-30.png
index e60a378e5..989afe93d 100644
--- a/docs/samples/img/sfs-pid-30.png
+++ b/docs/samples/img/sfs-pid-30.png
Binary files differ
diff --git a/docs/samples/img/sfs-pid-30@2x.png b/docs/samples/img/sfs-pid-30@2x.png
index dcdc488e4..2e95ce155 100644
--- a/docs/samples/img/sfs-pid-30@2x.png
+++ b/docs/samples/img/sfs-pid-30@2x.png
Binary files differ
diff --git a/docs/samples/img/thin-beta.png b/docs/samples/img/thin-beta.png
index d78fc59c8..52396a507 100644
--- a/docs/samples/img/thin-beta.png
+++ b/docs/samples/img/thin-beta.png
Binary files differ
diff --git a/docs/samples/img/thin-beta@2x.png b/docs/samples/img/thin-beta@2x.png
index 0a972ec59..40cc2736e 100644
--- a/docs/samples/img/thin-beta@2x.png
+++ b/docs/samples/img/thin-beta@2x.png
Binary files differ