occam-styles 5.0.364 → 5.0.366
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 +9 -2
- package/example.js +2 -2
- package/font/Inconsolata-Bold.woff2 +0 -0
- package/font/Inconsolata-Regular.woff2 +0 -0
- package/lib/style/stix.js +2 -2
- package/package.json +1 -1
- package/src/style/stix.js +14 -0
- package/ttf/Inconsolata-Bold.ttf +0 -0
- package/ttf/Inconsolata-Regular.ttf +0 -0
package/README.md
CHANGED
|
@@ -34,9 +34,11 @@ You can also clone the repository with [Git](https://git-scm.com/)...
|
|
|
34
34
|
|
|
35
35
|
You can also run a development server, see the section on building later on.
|
|
36
36
|
|
|
37
|
-
### JuliaMono
|
|
37
|
+
### JuliaMono and Inconsolata
|
|
38
38
|
|
|
39
39
|
The `JuliaMono.zip` file can be downloaded from the releases page of the JulaMono repository on [GitHub](https://github.com/cormullion/juliamono/releases).
|
|
40
|
+
The Inconsolata font can be downloaded from [Google Fonts](https://fonts.google.com/specimen/Inconsolata).
|
|
41
|
+
The instructions that follow are for JuliaMono but exactly the same process works for Inconsolata.
|
|
40
42
|
|
|
41
43
|
Once downloaded, unzip the file:
|
|
42
44
|
|
|
@@ -113,8 +115,13 @@ Automation is done with [npm scripts](https://docs.npmjs.com/misc/scripts), have
|
|
|
113
115
|
|
|
114
116
|
* Occam's pretty printer uses the [JuliaMono](https://juliamono.netlify.app/) font distributed under the [SIL Open Font License (OFL)](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=ofl).
|
|
115
117
|
|
|
116
|
-
* [Fredrik Ekre](https://fredrikekre.se/) provided the script
|
|
118
|
+
* [Fredrik Ekre](https://fredrikekre.se/) provided the script for removing ligatures and contextual alternate characters.
|
|
117
119
|
|
|
118
120
|
## Contact
|
|
119
121
|
|
|
120
122
|
* james.smith@djalbat.com
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
pyftsubset Inconsolata-Regular.ttf '*' --output-file=Inconsolata-Regular.ttf --layout-features-=calt,liga
|
|
126
|
+
|
|
127
|
+
```
|