We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abfa193 commit 1ea78b6Copy full SHA for 1ea78b6
docs/res/glyph-inspector.js
@@ -1,3 +1,14 @@
1
+---
2
+layout: none
3
4
+{% include defs.html %}{%
5
+for file in site.static_files %}{%
6
+ assign _path = file.path | remove_first: "/inter" %}{%
7
+ if _path == "/font-files/InterVariable.ttf" %}{%
8
+ assign ttf_timestamp = file.modified_time | date: "%Y%m%d%H%M%S" %}{%
9
+ endif %}{%
10
+endfor %}
11
+
12
import fontkit from "./fontkit-2.0.2.js"
13
14
const { min, max, ceil, floor } = Math
@@ -962,5 +973,5 @@ class GlyphInspector {
962
973
}
963
974
964
975
let inspector = new GlyphInspector()
965
-await inspector.loadFont('font-files/InterVariable.ttf')
976
+await inspector.loadFont('font-files/InterVariable.ttf?v={{ttf_timestamp}}')
966
977
// await inspector.loadFont('font-files/InterDisplay-Regular.otf')
0 commit comments