summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/glyphs/glyphs.css6
-rw-r--r--docs/glyphs/glyphs.js5
2 files changed, 9 insertions, 2 deletions
diff --git a/docs/glyphs/glyphs.css b/docs/glyphs/glyphs.css
index c2af47a2d..08be80427 100644
--- a/docs/glyphs/glyphs.css
+++ b/docs/glyphs/glyphs.css
@@ -55,6 +55,12 @@ body.single #glyphs {
color: white;
text-align: center;
font-size:1em;
+ white-space: pre;
+ overflow:hidden;
+ cursor: default;
+ }
+ body.single .glyph .names {
+ display: none;
}
.glyph:hover .name {
color: rgba(0,0,0,0.8);
diff --git a/docs/glyphs/glyphs.js b/docs/glyphs/glyphs.js
index 88e5ddb1b..b6cd24740 100644
--- a/docs/glyphs/glyphs.js
+++ b/docs/glyphs/glyphs.js
@@ -326,7 +326,7 @@ function render() {
// glyphInfo: {
// "glyphs": [
- // [name :string, unicode? :int|null, unicodeName? :string, color? :string|null],
+ // [name :string, unicode? :int|null, unicodeName? :string, mtime? :string, color? :string|null],
// ["A", 65, "LATIN CAPITAL LETTER A", "#dbeaf7"],
// ...
// ],
@@ -405,7 +405,8 @@ function renderGlyphGraphicG(g, lastGlyphName, lastGlyphEl, singleGlyph) {
name: name,
unicode: g[1],
unicodeName: g[2],
- color: g[3],
+ // mtime: g[3],
+ color: g[4],
// These are all in 1:1 UPM (not scaled)
advance: metrics.advance,