eidotter 0.22.0 → 0.22.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eidotter",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A DOS Themed Design System",
|
|
6
6
|
"main": "./dist/index.umd.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"tailwind.preset.cjs",
|
|
39
39
|
"tailwind.preset.enhanced.cjs",
|
|
40
40
|
"src/styles/fonts.css",
|
|
41
|
-
"src/styles/fonts/
|
|
41
|
+
"src/styles/fonts/Perfect_DOS_VGA_437_Win.ttf",
|
|
42
42
|
"src/styles/fonts/Perfect_DOS_VGA_437_LICENSE.txt",
|
|
43
43
|
"src/styles/fonts/Flexi_IBM_VGA_True.ttf",
|
|
44
44
|
"src/styles/fonts/Flexi_IBM_VGA_LICENSE.txt",
|
|
Binary file
|
package/src/styles/fonts.css
CHANGED
|
@@ -8,6 +8,14 @@
|
|
|
8
8
|
* to redistribute and use in any project, including commercial; selling
|
|
9
9
|
* the font as a standalone is not permitted (which eidotter doesn't do).
|
|
10
10
|
*
|
|
11
|
+
* We ship the **Win** variant (`Perfect_DOS_VGA_437_Win.ttf`), not the
|
|
12
|
+
* CP437 variant. The bundled license file says it plainly: the CP437
|
|
13
|
+
* variant "is faithful to the original DOS codes, [so] it won't accent
|
|
14
|
+
* correctly in windows" — i.e. it lacks Latin-1 glyph mappings (ä, ö, ü,
|
|
15
|
+
* ß, etc.), which is wrong for modern Unicode/Latin-1 web text. The Win
|
|
16
|
+
* variant is "the exactly same font adapted to a windows codepage" and
|
|
17
|
+
* accents render correctly. Visual style for ASCII is identical.
|
|
18
|
+
*
|
|
11
19
|
* Single-weight by design: authentic DOS had no bold variant. Emphasis is
|
|
12
20
|
* expressed via color, uppercase, or inverse video — never by weight.
|
|
13
21
|
* `font-synthesis: none` prevents browsers from faking bold/italic if any
|
|
@@ -19,5 +27,5 @@
|
|
|
19
27
|
font-weight: 400;
|
|
20
28
|
font-display: swap;
|
|
21
29
|
font-synthesis: none;
|
|
22
|
-
src: url('./fonts/
|
|
30
|
+
src: url('./fonts/Perfect_DOS_VGA_437_Win.ttf') format('truetype');
|
|
23
31
|
}
|