summaryrefslogtreecommitdiff
path: root/docs/lab
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2018-09-23 09:28:38 +0300
committerRasmus Andersson <rasmus@notion.se>2018-10-11 09:37:57 +0300
commitcdd15f96de4fdd855ad6304caddb20c4b150c138 (patch)
tree1613d56d8a31e34de9b24c94dd55cc6c398f9922 /docs/lab
parent70c1a02281da9962ea13644394246e8f1a5ca9d8 (diff)
downloadinter-cdd15f96de4fdd855ad6304caddb20c4b150c138.tar.xz
web: lab: fractions test
Diffstat (limited to 'docs/lab')
-rw-r--r--docs/lab/index.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/lab/index.html b/docs/lab/index.html
index c56d0ac03..2ddc1ee85 100644
--- a/docs/lab/index.html
+++ b/docs/lab/index.html
@@ -131,6 +131,28 @@ 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('Numbers: Fractions', `
+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
+0/0 451/980 000/000 0000000000/0000000000
+
+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('Features test', `
(m) (M) (6) [m] [M] [6] {m} {M} {6}
m@n M@N
@@ -781,6 +803,21 @@ for (const ch of uniqueChars) {
@font-face {
font-family: 'Inter-UI-VERSION';
font-style: normal;
+ font-weight: 600;
+ src: url("fonts/const/Inter-UI-SemiBold.woff2") format("woff2"),
+ url("fonts/const/Inter-UI-SemiBold.woff") format("woff");
+}
+@font-face {
+ font-family: 'Inter-UI-VERSION';
+ font-style: italic;
+ font-weight: 600;
+ src: url("fonts/const/Inter-UI-SemiBoldItalic.woff2") format("woff2"),
+ url("fonts/const/Inter-UI-SemiBoldItalic.woff") format("woff");
+}
+
+@font-face {
+ font-family: 'Inter-UI-VERSION';
+ font-style: normal;
font-weight: 700;
src: url("fonts/const/Inter-UI-Bold.woff2") format("woff2"),
url("fonts/const/Inter-UI-Bold.woff") format("woff");