occam-styles 4.1.110 → 4.1.113

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
@@ -12,9 +12,9 @@
12
12
 
13
13
  ## Introduction
14
14
 
15
- This package contains colour definitions together with user interface and syntax schemes. It also contains various images, in either native or JSX form. A distribution of [FiraCode](https://github.com/tonsky/FiraCode) is also included.
15
+ This package contains colour definitions together with user interface and syntax schemes; various images, in either native or JSX form; and the some of the [JuliaMono](https://juliamono.netlify.app/) typeface in Woff2 format.
16
16
 
17
- There is a small example application to view the images in JSX form.
17
+ There is a small example application to view the images in JSX form and so on.
18
18
 
19
19
  ## Installation
20
20
 
@@ -32,6 +32,20 @@ You can also clone the repository with [Git](https://git-scm.com/)...
32
32
 
33
33
  You can also run a development server, see the section on building later on.
34
34
 
35
+ ### Compressing the JuliaMono TTF files to Woff2 format
36
+
37
+ Homebrew has the necessary utilities:
38
+
39
+ ```
40
+ brew install woof2
41
+ ```
42
+
43
+ Compression is then straightforward, for example:
44
+
45
+ ```
46
+ woff2_compress JuliaMono-Regular.ttf
47
+ ```
48
+
35
49
  ## Building
36
50
 
37
51
  Automation is done with [npm scripts](https://docs.npmjs.com/misc/scripts), have a look at the `package.json` file. The pertinent commands are:
@@ -53,6 +67,10 @@ The example will then be available at http://localhost:8888 and will reload auto
53
67
 
54
68
  * The logo was converted to SVG format with Peter Selinger's [Potrace](http://potrace.sourceforge.net/).
55
69
 
70
+ * Occam's pretty printer uses the [JuliaMono](https://juliamono.netlify.app/) typeface distributed under the [SIL Open Font License (OFL)](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=ofl).
71
+
72
+ * [Fredrik Ekre](https://fredrikekre.se/) provided the script to strip out ligatures and contextual alternate characters from JuliaMono.
73
+
56
74
  ## Contact
57
75
 
58
76
  * james.smith@openmathematics.org
Binary file