temml 0.11.0 → 0.11.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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  | Library | Minified JavaScript + CSS |
4
4
  |:--------------|:-------------------------:|
5
- | Temml | 165 KB |
5
+ | Temml | 168 KB |
6
6
  | MathJax 2.7.5 | 338 KB |
7
7
  | KaTeX | 280 KB |
8
8
  | TeXZilla | 168 KB |
@@ -12,7 +12,7 @@ Unicode range 1D49C to 1D4B5.
12
12
  }
13
13
 
14
14
  math {
15
- font-family: "Cambria Math", 'STIXTwoMath-Regular', math;
15
+ font-family: "Cambria Math", 'STIXTwoMath-Regular', 'NotoSansMath-Regular', math;
16
16
  font-style: normal;
17
17
  font-weight: normal;
18
18
  line-height: normal;
@@ -34,6 +34,11 @@ math * {
34
34
  * Not in Chromium, which recognizes display: "block math" written inline. */
35
35
  math.tml-display { display: block; }
36
36
 
37
+ *.mathcal {
38
+ /* NotoSans */
39
+ font-feature-settings: 'ss01';
40
+ }
41
+
37
42
  math .mathscr {
38
43
  font-family: "Temml";
39
44
  }
@@ -1,24 +1,13 @@
1
1
  /*
2
- Fira Math fonts are released under the SIL OPEN FONT LICENSE Version 1.1.
2
+ Noto Math fonts are released under the SIL OPEN FONT LICENSE Version 1.1.
3
3
 
4
- The Fira Math WOFF2 font has been obtained from
5
- http://www.gust.org.pl/projects/e-foundry/
6
-
7
- The Temml.woff2 is a clone of KaTeX_Script-Regular, except that the code points
8
- have been changed from ASCII to Unicode Mathematical Alphanumeric Symbols Script capitals,
9
- Unicode range 1D49C to 1D4B5.
4
+ The NotoMath font has been obtained from
5
+ https://gwfh.mranftl.com/fonts/noto-sans-math?subsets=math
10
6
  */
11
7
 
12
8
  @font-face {
13
- font-family: 'Temml';
14
- src: url('Temml.woff2') format('woff2');
15
- font-weight: normal;
16
- font-style: normal;
17
- }
18
-
19
- @font-face {
20
- font-family: Fira Math;
21
- src: url('FiraMath-Regular.woff2');
9
+ font-family: NotoSans Math;
10
+ src: url('noto-sans-math-v15-math-regular.woff2');
22
11
  }
23
12
 
24
13
  math {
@@ -40,20 +29,24 @@ math * {
40
29
  }
41
30
 
42
31
  math {
43
- font-family: "Fira Math", math;
32
+ font-family: "NotoSans Math", math;
44
33
  }
45
34
 
46
35
  /* Next line is active in Firefox and Safari.
47
36
  * Not in Chromium, which recognizes display: "block math" written inline. */
48
37
  math.tml-display { display: block; }
49
38
 
50
- *.mathscr {
51
- font-family: "Temml";
39
+ math .mathscr {
40
+ font-family: "ssty1";
41
+ }
42
+
43
+ *.mathcal {
44
+ font-feature-settings: 'ss01';
52
45
  }
53
46
 
54
47
  /* Chromium prime alignment */
55
48
  mo.tml-prime {
56
- font-family: Temml;
49
+ font-feature-settings: 'ssty';
57
50
  }
58
51
 
59
52
  /* Prevent f' from overlapping in Chromium */