From d9c748c5fb86f39e3a459eeea25ccfad50deecb0 Mon Sep 17 00:00:00 2001 From: Rod S Date: Thu, 13 Jan 2022 20:52:19 -0800 Subject: [PATCH] Experimental build of COLRv1+SVG to see if it works in FF --- colrv1/bw/emoji_u270d.svg | 4 ++ colrv1/bw/emoji_u270d_1f3fb.svg | 4 ++ colrv1/bw/emoji_u270d_1f3fc.svg | 4 ++ colrv1/bw/emoji_u270d_1f3fd.svg | 4 ++ colrv1/bw/emoji_u270d_1f3fe.svg | 4 ++ colrv1/bw/emoji_u270d_1f3ff.svg | 4 ++ colrv1/handwriting.html | 62 +++++++++++++++++++ colrv1/noto_handwriting-glyf.toml | 22 +++++++ colrv1/noto_handwriting-glyf_colr_1.toml | 22 +++++++ ..._handwriting-glyf_colr_1_and_picosvgz.toml | 24 +++++++ colrv1/red_pen/emoji_u270d.svg | 1 + colrv1/red_pen/emoji_u270d_1f3fb.svg | 1 + colrv1/red_pen/emoji_u270d_1f3fc.svg | 1 + colrv1/red_pen/emoji_u270d_1f3fd.svg | 1 + colrv1/red_pen/emoji_u270d_1f3fe.svg | 1 + colrv1/red_pen/emoji_u270d_1f3ff.svg | 1 + colrv1/requirements.txt | 5 ++ 17 files changed, 165 insertions(+) create mode 100644 colrv1/bw/emoji_u270d.svg create mode 100644 colrv1/bw/emoji_u270d_1f3fb.svg create mode 100644 colrv1/bw/emoji_u270d_1f3fc.svg create mode 100644 colrv1/bw/emoji_u270d_1f3fd.svg create mode 100644 colrv1/bw/emoji_u270d_1f3fe.svg create mode 100644 colrv1/bw/emoji_u270d_1f3ff.svg create mode 100644 colrv1/handwriting.html create mode 100644 colrv1/noto_handwriting-glyf.toml create mode 100644 colrv1/noto_handwriting-glyf_colr_1.toml create mode 100644 colrv1/noto_handwriting-glyf_colr_1_and_picosvgz.toml create mode 100644 colrv1/red_pen/emoji_u270d.svg create mode 100644 colrv1/red_pen/emoji_u270d_1f3fb.svg create mode 100644 colrv1/red_pen/emoji_u270d_1f3fc.svg create mode 100644 colrv1/red_pen/emoji_u270d_1f3fd.svg create mode 100644 colrv1/red_pen/emoji_u270d_1f3fe.svg create mode 100644 colrv1/red_pen/emoji_u270d_1f3ff.svg create mode 100644 colrv1/requirements.txt diff --git a/colrv1/bw/emoji_u270d.svg b/colrv1/bw/emoji_u270d.svg new file mode 100644 index 000000000..ba5839d18 --- /dev/null +++ b/colrv1/bw/emoji_u270d.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/colrv1/bw/emoji_u270d_1f3fb.svg b/colrv1/bw/emoji_u270d_1f3fb.svg new file mode 100644 index 000000000..ba5839d18 --- /dev/null +++ b/colrv1/bw/emoji_u270d_1f3fb.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/colrv1/bw/emoji_u270d_1f3fc.svg b/colrv1/bw/emoji_u270d_1f3fc.svg new file mode 100644 index 000000000..ba5839d18 --- /dev/null +++ b/colrv1/bw/emoji_u270d_1f3fc.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/colrv1/bw/emoji_u270d_1f3fd.svg b/colrv1/bw/emoji_u270d_1f3fd.svg new file mode 100644 index 000000000..ba5839d18 --- /dev/null +++ b/colrv1/bw/emoji_u270d_1f3fd.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/colrv1/bw/emoji_u270d_1f3fe.svg b/colrv1/bw/emoji_u270d_1f3fe.svg new file mode 100644 index 000000000..ba5839d18 --- /dev/null +++ b/colrv1/bw/emoji_u270d_1f3fe.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/colrv1/bw/emoji_u270d_1f3ff.svg b/colrv1/bw/emoji_u270d_1f3ff.svg new file mode 100644 index 000000000..ba5839d18 --- /dev/null +++ b/colrv1/bw/emoji_u270d_1f3ff.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/colrv1/handwriting.html b/colrv1/handwriting.html new file mode 100644 index 000000000..ddb880932 --- /dev/null +++ b/colrv1/handwriting.html @@ -0,0 +1,62 @@ + + + + + +
+ +✍🏻 +✍🏼 +✍🏽 +✍🏾 +✍🏿 +
+
+ +✍🏻 +✍🏼 +✍🏽 +✍🏾 +✍🏿 +
+
+ +✍🏻 +✍🏼 +✍🏽 +✍🏾 +✍🏿 +
\ No newline at end of file diff --git a/colrv1/noto_handwriting-glyf.toml b/colrv1/noto_handwriting-glyf.toml new file mode 100644 index 000000000..bc9e30bd8 --- /dev/null +++ b/colrv1/noto_handwriting-glyf.toml @@ -0,0 +1,22 @@ +family = "Noto Handwriting glyf Test" +output_file = "NotoHandWritingglyf-Regular.ttf" +color_format = "glyf" +clipbox_quantization = 32 + +[axis.wght] +name = "Weight" +default = 400 + +[master.regular] +style_name = "Regular" +srcs = [ + "red_pen/emoji_u270d.svg", + "red_pen/emoji_u270d_1f3fb.svg", + "red_pen/emoji_u270d_1f3fc.svg", + "red_pen/emoji_u270d_1f3fd.svg", + "red_pen/emoji_u270d_1f3fe.svg", + "red_pen/emoji_u270d_1f3ff.svg" +] + +[master.regular.position] +wght = 400 diff --git a/colrv1/noto_handwriting-glyf_colr_1.toml b/colrv1/noto_handwriting-glyf_colr_1.toml new file mode 100644 index 000000000..1db0c3022 --- /dev/null +++ b/colrv1/noto_handwriting-glyf_colr_1.toml @@ -0,0 +1,22 @@ +family = "Noto Handwriting COLRv1 Test" +output_file = "NotoHandWritingCOLRv1-Regular.ttf" +color_format = "glyf_colr_1" +clipbox_quantization = 32 + +[axis.wght] +name = "Weight" +default = 400 + +[master.regular] +style_name = "Regular" +srcs = [ + "red_pen/emoji_u270d.svg", + "red_pen/emoji_u270d_1f3fb.svg", + "red_pen/emoji_u270d_1f3fc.svg", + "red_pen/emoji_u270d_1f3fd.svg", + "red_pen/emoji_u270d_1f3fe.svg", + "red_pen/emoji_u270d_1f3ff.svg" +] + +[master.regular.position] +wght = 400 diff --git a/colrv1/noto_handwriting-glyf_colr_1_and_picosvgz.toml b/colrv1/noto_handwriting-glyf_colr_1_and_picosvgz.toml new file mode 100644 index 000000000..523bb7037 --- /dev/null +++ b/colrv1/noto_handwriting-glyf_colr_1_and_picosvgz.toml @@ -0,0 +1,24 @@ +# This is supposed to work in Firefox and Safari as they support OT-SVG + +family = "Noto Handwriting Test" +output_file = "NotoHandWriting-Regular.ttf" +color_format = "glyf_colr_1_and_picosvgz" +clipbox_quantization = 32 + +[axis.wght] +name = "Weight" +default = 400 + +[master.regular] +style_name = "Regular" +srcs = [ + "red_pen/emoji_u270d.svg", + "red_pen/emoji_u270d_1f3fb.svg", + "red_pen/emoji_u270d_1f3fc.svg", + "red_pen/emoji_u270d_1f3fd.svg", + "red_pen/emoji_u270d_1f3fe.svg", + "red_pen/emoji_u270d_1f3ff.svg" +] + +[master.regular.position] +wght = 400 diff --git a/colrv1/red_pen/emoji_u270d.svg b/colrv1/red_pen/emoji_u270d.svg new file mode 100644 index 000000000..706f09c73 --- /dev/null +++ b/colrv1/red_pen/emoji_u270d.svg @@ -0,0 +1 @@ + diff --git a/colrv1/red_pen/emoji_u270d_1f3fb.svg b/colrv1/red_pen/emoji_u270d_1f3fb.svg new file mode 100644 index 000000000..33e83724d --- /dev/null +++ b/colrv1/red_pen/emoji_u270d_1f3fb.svg @@ -0,0 +1 @@ + diff --git a/colrv1/red_pen/emoji_u270d_1f3fc.svg b/colrv1/red_pen/emoji_u270d_1f3fc.svg new file mode 100644 index 000000000..306460a0b --- /dev/null +++ b/colrv1/red_pen/emoji_u270d_1f3fc.svg @@ -0,0 +1 @@ + diff --git a/colrv1/red_pen/emoji_u270d_1f3fd.svg b/colrv1/red_pen/emoji_u270d_1f3fd.svg new file mode 100644 index 000000000..3e28ffb68 --- /dev/null +++ b/colrv1/red_pen/emoji_u270d_1f3fd.svg @@ -0,0 +1 @@ + diff --git a/colrv1/red_pen/emoji_u270d_1f3fe.svg b/colrv1/red_pen/emoji_u270d_1f3fe.svg new file mode 100644 index 000000000..ac18f585a --- /dev/null +++ b/colrv1/red_pen/emoji_u270d_1f3fe.svg @@ -0,0 +1 @@ + diff --git a/colrv1/red_pen/emoji_u270d_1f3ff.svg b/colrv1/red_pen/emoji_u270d_1f3ff.svg new file mode 100644 index 000000000..1e2f71aa3 --- /dev/null +++ b/colrv1/red_pen/emoji_u270d_1f3ff.svg @@ -0,0 +1 @@ + diff --git a/colrv1/requirements.txt b/colrv1/requirements.txt new file mode 100644 index 000000000..d2ab26d57 --- /dev/null +++ b/colrv1/requirements.txt @@ -0,0 +1,5 @@ +nanoemoji >= 0.9.12 # we need latest spec support +Brotli>=1.0.9 # for compare sizes + +# The following packages are considered to be unsafe in a requirements file: +# setuptools