operator-mono-lig
operator-mono-lig copied to clipboard
build doesn't do anything
I'm trying to build the font in a windows system. However, when I type build in terminal after installing all the npm modules, it doesnt do anything. In powershell it shows
build : The term 'build' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ build
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (build:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException````
In PowerShell, scripts that are in the current directory must be written as .\build
Same here, using with Manjaro.
@AnthonyLzq so Manjaro is a Linux distro? Did you copy the Operator Mono fonts into the ./original
folder?
Make sure they are named like this. No spaces.
OperatorMono-Bold.otf
OperatorMono-BoldItalic.otf
OperatorMono-Book.otf
OperatorMono-BookItalic.otf
OperatorMono-Light.otf
OperatorMono-LightItalic.otf
OperatorMono-Medium.otf
OperatorMono-MediumItalic.otf
OperatorMono-XLight.otf
OperatorMono-XLightItalic.otf
OperatorMonoSSm-Bold.otf
OperatorMonoSSm-BoldItalic.otf
OperatorMonoSSm-Book.otf
OperatorMonoSSm-BookItalic.otf
OperatorMonoSSm-Light.otf
OperatorMonoSSm-LightItalic.otf
OperatorMonoSSm-Medium.otf
OperatorMonoSSm-MediumItalic.otf
@AnthonyLzq so Manjaro is a Linux distro? Did you copy the Operator Mono fonts into the
./original
folder?Make sure they are named like this. No spaces.
OperatorMono-Bold.otf OperatorMono-BoldItalic.otf OperatorMono-Book.otf OperatorMono-BookItalic.otf OperatorMono-Light.otf OperatorMono-LightItalic.otf OperatorMono-Medium.otf OperatorMono-MediumItalic.otf OperatorMono-XLight.otf OperatorMono-XLightItalic.otf OperatorMonoSSm-Bold.otf OperatorMonoSSm-BoldItalic.otf OperatorMonoSSm-Book.otf OperatorMonoSSm-BookItalic.otf OperatorMonoSSm-Light.otf OperatorMonoSSm-LightItalic.otf OperatorMonoSSm-Medium.otf OperatorMonoSSm-MediumItalic.otf
This fixed my issue, thanks. Btw, yes, Manjaro is an ArchLinux based distro.
Running .\build in powershell still doesnt populate the build folder. npm install yields errors in powershell, but works in wsl2. That being said, running bash ./build.sh in wsl2 (ubuntu 20.04) (im beta on windows 11) yields line 8 error.
Hmm.. first for PowerShell, did you make sure the .\original
folder contains the correct Operator Mono fonts? (see comment above as to name format)
As for WSL, what happens if you just type ./build.sh
without the sh
or bash
in front?
Those \r
seems like a line ending issue. By default, git will clone and convert line endings to platform specific. Windows typically uses CRLF \r\n
whereas Linux/macOS uses just LF \n
. So it looks like WSL is expecting \n
but sees \r\n
since you checked out the files from the Windows side.
Same here, using with Manjaro.
yea same with me in Ubuntu
@AnthonyLzq so Manjaro is a Linux distro? Did you copy the Operator Mono fonts into the
./original
folder?Make sure they are named like this. No spaces.
OperatorMono-Bold.otf OperatorMono-BoldItalic.otf OperatorMono-Book.otf OperatorMono-BookItalic.otf OperatorMono-Light.otf OperatorMono-LightItalic.otf OperatorMono-Medium.otf OperatorMono-MediumItalic.otf OperatorMono-XLight.otf OperatorMono-XLightItalic.otf OperatorMonoSSm-Bold.otf OperatorMonoSSm-BoldItalic.otf OperatorMonoSSm-Book.otf OperatorMonoSSm-BookItalic.otf OperatorMonoSSm-Light.otf OperatorMonoSSm-LightItalic.otf OperatorMonoSSm-Medium.otf OperatorMonoSSm-MediumItalic.otf
whay the original font in my download is empty?
i use this to patch the font using docker https://github.com/microsoft/cascadia-code/issues/612#issuecomment-1008257491
In PowerShell, scripts that are in the current directory must be written as
.\build
Hey, amazing repo. I love this. You should probably add this to the README.md : )