]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Add edge highlight and extrusion depth to the axis registry (#5108)
authorRod <rsheeter@google.com>
Tue, 23 Aug 2022 02:03:53 +0000 (19:03 -0700)
committerGitHub <noreply@github.com>
Tue, 23 Aug 2022 02:03:53 +0000 (19:03 -0700)
axisregistry/Lib/axisregistry/data/edge_highlight.textproto [new file with mode: 0644]
axisregistry/Lib/axisregistry/data/extrusion_depth.textproto [new file with mode: 0644]

diff --git a/axisregistry/Lib/axisregistry/data/edge_highlight.textproto b/axisregistry/Lib/axisregistry/data/edge_highlight.textproto
new file mode 100644 (file)
index 0000000..ba49dca
--- /dev/null
@@ -0,0 +1,13 @@
+# Edge Highlight, based on https://github.com/justvanrossum/nabla
+tag: "EHLT"
+display_name: "Edge Highlight"
+min_value: 0
+default_value: 12 # Taken from Nabla, but expected to be per-family
+max_value: 1000
+precision: 0
+description:
+  "Controls thickness of edge highlight details."
+fallback {
+  name: "Default"
+  value: 12
+}
\ No newline at end of file
diff --git a/axisregistry/Lib/axisregistry/data/extrusion_depth.textproto b/axisregistry/Lib/axisregistry/data/extrusion_depth.textproto
new file mode 100644 (file)
index 0000000..687d322
--- /dev/null
@@ -0,0 +1,13 @@
+# Extrusion Depth, based on https://github.com/justvanrossum/nabla
+tag: "EDPT"
+display_name: "Extrusion Depth"
+min_value: 0
+default_value: 100 # Taken from Nabla, but expected to be per-family
+max_value: 1000
+precision: 0
+description:
+  "Controls extrusion depth."
+fallback {
+  name: "Default"
+  value: 100
+}
\ No newline at end of file