Comments (15)
for ubuntu users
sudo apt install fonttools python3-fonttools
and after installation run
./buid.sh
it workd for me 😀
from operator-mono-lig.
For the record similarly just did
$ sudo -H pip2 uninstall fonttools
$ brew upgrade python
$ pip2 install fonttools
$ sh build.sh
It worked then.
from operator-mono-lig.
FYI, for Mac users, I advice to run pip3 install fonttools
, solving mac permissions problems (https://stackoverflow.com/a/33416270/3191011)
from operator-mono-lig.
Ok @kiliman, I used nvm to install node v8.4.0. Once complete, I ran sh build.sh
once again and it did merge out my Medium and MediumItalic to the build directory.
from operator-mono-lig.
Finally I could, i had to install python with homebrew:
$ brew install python
$ pip2 install fonttools
$ sh build.sh
from operator-mono-lig.
@timhecker Can you update the README with the info you found? Thanks!
from operator-mono-lig.
Did you install Python/fonttools as specified in the README?
ttx
is part of the fonttools package that my project uses to convert OTF files into an XML description.
from operator-mono-lig.
@kiliman yes, BTW I'm using Mac OS Sierra
➜ ~ pip freeze
altgraph==0.10.2
bdist-mpkg==0.5.0
bonjour-py==0.3
fonttools==3.15.1 <-----------
macholib==1.5.1
matplotlib==1.3.1
modulegraph==0.10.4
numpy==1.8.0rc1
py2app==0.7.3
pyobjc-core==2.5.1
from operator-mono-lig.
I too am getting a similar error
/operator-mono-lig]─[±] master ✓ [Thu Sep 07 - 10:08]
└──● sh build.sh
rm: original/*.ttx: No such file or directory
build.sh: line 4: ttx: command not found
build.sh: line 5: ttx: command not found
/Users/../../../operator-mono-lig/index.js:16
async function main() {
^^^^^^^^
SyntaxError: Unexpected token function
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
/Users//../../../operator-mono-lig/index.js:16
async function main() {
^^^^^^^^
SyntaxError: Unexpected token function
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
build.sh: line 14: ttx: command not found
build.sh: line 15: ttx: command not found
/operator-mono-lig]─[±] master ✓ [Thu Sep 07 - 10:09]
└──● pip freeze
altgraph==0.10.2
bdist-mpkg==0.5.0
bonjour-py==0.3
fonttools==3.15.1 <-----
macholib==1.5.1
matplotlib==1.3.1
modulegraph==0.10.4
numpy==1.8.0rc1
py2app==0.7.3
pyobjc-core==2.5.1
from operator-mono-lig.
Odd. Did you make sure ttx
is in your path?
from operator-mono-lig.
I installed fonttools properly as listed in the instructions and you can see in the second image I provided earlier, it is shown. However when I run which ttx
, I get ttx: not found
I looked under /usr/local/bin
and ttx is not shown there
currently investingating
from operator-mono-lig.
@kiliman No, I don't have it and does no exists
from operator-mono-lig.
Ok, after
pip uninstall fonttools
<-- which was installed using --user
because of hopeful sudo
advoidance, I ran
sudo pip install fonttools
.
I now get several errors and an empty build directory
Dumping 'GPOS' table...
Dumping 'GSUB' table...
Dumping 'hmtx' table...
Dumping 'DSIG' table...
/Users/../operator-mono-lig/index.js:16
async function main() {
^^^^^^^^
SyntaxError: Unexpected token function
ERROR: File not found: "build/OperatorMonoLig-Medium.ttx"
ERROR: File not found: "build/OperatorMonoLig-MediumItalic.ttx"
from operator-mono-lig.
@jasonhodges at least we're making progress. The async
error is most likely because your version of Node.js is less that 7.6. That's the version that added support for async/await. Upgrade your version of Node.js and see if that helps.
I may end up dumping async/await (although sweet) to make it less painful to use the tool.
from operator-mono-lig.
what about for windows users? because I am stuck with the same issue
from operator-mono-lig.
Related Issues (20)
- Build fails in Big Sur HOT 6
- Erro on VSCODE - letter spacing 0? HOT 12
- Operator Mono SSm Lig Book does not work with Vscode HOT 9
- Build script doesn't do anything HOT 6
- Ligatures Not Working HOT 16
- some ligatures dont work in italics. HOT 4
- build doesn't do anything HOT 10
- Create ligatures for `Operator Mono Bold` HOT 2
- Running ./build.sh just create build folder with empty HOT 10
- Glyphs are way too small HOT 3
- npm install always giving errors HOT 3
- Not an issue: meant to help to use Win 10 Npm problems HOT 2
- Create `::` ligature HOT 10
- Cannot run npm install node-pre-gyp ERR! build error HOT 2
- Got a lot of errors after npm install. (Windows 11) HOT 6
- Only two fonts in build folder HOT 6
- Does not work with Python 2.7 shipped with MacOS Montery HOT 1
- The following glyph names are referenced but are missing from the glyph set: underscore.alt HOT 1
- If you get error after error!
- Copyright to matter about? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from operator-mono-lig.