monowind 0.2.14 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -113,6 +113,24 @@ registerBorderGlyphs("stars", { solid: { tl: "✧", tr: "✧", bl: "✧", br: "
113
113
 
114
114
  A registered set is frozen; to change one, register it again.
115
115
 
116
+ A set names glyphs; whether the FONT has them is the page's business.
117
+ Where it hasn't got one, the browser substitutes another font's, which
118
+ the engine boxes onto its cell so the grid holds — but a substitute
119
+ cannot both fit the cell and fill the row, so it shows as a corner
120
+ broken from the line beside it. Say so and it falls back instead, to a
121
+ glyph the font does draw:
122
+
123
+ ```css
124
+ .retro {
125
+ font-family: "Some 8x16 bitmap font";
126
+ --mw-missing-glyphs: "╭╮╰╯"; /* no arcs in this font */
127
+ }
128
+ ```
129
+
130
+ Inherited, so a theme declares it once for the page; a glyph named
131
+ there counts as unregistered, whatever set an author later asks for.
132
+ The bundled themes declare what their own fonts are missing.
133
+
116
134
  A set can also register corner glyphs by `border-radius` — a corner
117
135
  draws the registration nearest its radius in cells, the plain corner
118
136
  counting at 0 (the defaults round light-line corners to `╭ ╮ ╰ ╯`