Skip to content

Commit a104b98

Browse files
authored
Merge pull request #4 from roberto-arista/master
Update extension to new ExtensionBundle package
2 parents 7423397 + ef480e8 commit a104b98

17 files changed

+58
-168
lines changed

.github/workflows/validate_build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Validate and Build the Extension
2+
on:
3+
push
4+
5+
jobs:
6+
validate_and_build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Validate and Build
10+
uses: typemytype/[email protected]
11+
with:
12+
autotagging: true

InterpolationMatrix.roboFontExt/html/index.html

Lines changed: 0 additions & 39 deletions
This file was deleted.

InterpolationMatrix.roboFontExt/info.plist

Lines changed: 0 additions & 37 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,4 @@
11
Interpolation Matrix (MutatorMath)
22
==================================
33

4-
_This version of Interpolation Matrix is a fork of the original version by Loïc Sander._
5-
6-
The interpolation matrix is a tool requiring at least two master fonts open in RoboFont and interpolable glyphs (if the glyphs are incompatible, no instance will show). It allows you to preview interpolation and extrapolation based on master position in a grid.
7-
8-
This version of the script & the extension are a rewriting of the previous Interpolation Preview Matrix, now using LettError’s [MutatorMath](http://github.com/LettError/MutatorMath) ❤️ whereas previous inter/extrapolations were written by my simple self.
9-
10-
[check out the demo on Vimeo](http://vimeo.com/109734720)
11-
12-
### Previewing interpolations
13-
14-
![](images/example-matrix-1.png)
15-
16-
The glyphs are updated (almost) at draw time [mouseUp, keyUp], so you can modify glyphs and see changes happen in the matrix. Theoretically, you can have a 15×15 matrix of 225 fonts; beyond that, it would get too slow to use… Testing indicates that 7×7 is the ‘maximal-optimum’ use case.
17-
18-
### Generating instances
19-
20-
![](images/example-matrix-2.png)
21-
![](images/example-matrix-3.png)
22-
23-
You can use the matrix to generate font instances or compatibility check reports. You choose which instance(s) to generate by naming their ‘coordinates’ (A1, B4, C3, etc.), or you can generate instances by whole rows/columns (A, 1, etc.), or all at once. Generated instances are issued in a folder next to the source master font (which you indicate before generating).
24-
25-
### Saving matrices
26-
27-
Last but not least, you can save matrices: grid size, window size and master fonts are stored and can be reaccessed quickly. The matrix stores a simple .txt file. It’s not ideal but does the trick for now.
28-
4+
Documentation is [here](source/html/index.md)

build-html.py

Lines changed: 0 additions & 67 deletions
This file was deleted.

build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
libFolder: source/lib
2+
resourcesFolder: source/resources
3+
htmlFolder: source/html
4+
path: InterpolationMatrix.roboFontExt

info.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Interpolation Matrix
2+
developer: Loic Sander
3+
developerURL: https://github.com/loicsander
4+
launchAtStartUp: false
5+
mainScript: ''
6+
version: 0.7.2
7+
addToMenu:
8+
- path: interpolation-matrix-mutatorMath.py
9+
preferredName: Interpolation Matrix
10+
shortKey: ''
11+
html: true
12+
requiresVersionMajor: '3'
13+
requiresVersionMinor: '0'

source/html/index.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Interpolation Matrix (MutatorMath)
2+
==================================
3+
4+
_This version of Interpolation Matrix is a fork of the original version by Loïc Sander._
5+
6+
The interpolation matrix is a tool requiring at least two master fonts open in RoboFont and interpolable glyphs (if the glyphs are incompatible, no instance will show). It allows you to preview interpolation and extrapolation based on master position in a grid.
7+
8+
This version of the script & the extension are a rewriting of the previous Interpolation Preview Matrix, now using LettError’s [MutatorMath](http://github.com/LettError/MutatorMath) ❤️ whereas previous inter/extrapolations were written by my simple self.
9+
10+
[check out the demo on Vimeo](http://vimeo.com/109734720)
11+
12+
### Previewing interpolations
13+
14+
![](images/example-matrix-1.png)
15+
16+
The glyphs are updated (almost) at draw time [mouseUp, keyUp], so you can modify glyphs and see changes happen in the matrix. Theoretically, you can have a 15×15 matrix of 225 fonts; beyond that, it would get too slow to use… Testing indicates that 7×7 is the ‘maximal-optimum’ use case.
17+
18+
### Generating instances
19+
20+
![](images/example-matrix-2.png)
21+
![](images/example-matrix-3.png)
22+
23+
You can use the matrix to generate font instances or compatibility check reports. You choose which instance(s) to generate by naming their ‘coordinates’ (A1, B4, C3, etc.), or you can generate instances by whole rows/columns (A, 1, etc.), or all at once. Generated instances are issued in a folder next to the source master font (which you indicate before generating).
24+
25+
### Saving matrices
26+
27+
Last but not least, you can save matrices: grid size, window size and master fonts are stored and can be reaccessed quickly. The matrix stores a simple .txt file. It’s not ideal but does the trick for now.
28+

0 commit comments

Comments
 (0)