Git Product home page Git Product logo

operator-mono-lig's Introduction

Operator Mono Ligatures

This project will generate new OpenType fonts for Operator Mono that includes ligatures similar to those found in the popular Fira Code font.

These ligatures were custom created using Glyphs. There are even italic versions of the ligatures.

I have updated the following fonts:

ScreenSmart versions

  • Operator Mono SSm Book
  • Operator Mono SSm Book Italic
  • Operator Mono SSm Medium
  • Operator Mono SSm Medium Italic
  • Operator Mono SSm Light
  • Operator Mono SSm Light Italic (coming soon)

Regular versions

  • Operator Mono Book
  • Operator Mono Book Italic
  • Operator Mono Medium
  • Operator Mono Medium Italic

Operator Mono SSm Book

Operator Mono SSm Medium

Creating ligatures using Glyphs

YouTube video (click to view)

Using Glyphs app to create ligatures for Operator Mono font

NOTE: Because Operator Mono is not a free font, you must have the original font files. This utility will merge the ligature definitions into a copy of the original font. The new font family is named Operator Mono Lig so you can install it side-by-side with the original font.

Prerequisites

  • The original Operator Mono font... of course.
  • Install fonttools from https://github.com/fonttools/fonttools
    • Install Python
    • Run: pip install fonttools (for Mac users it's better run pip3 install fonttools - info)
  • Node.js (version 7.6+ for async/await support)

How to Install

Once all the prerequisites have been installed, clone this repo.

From the command line, run:

npm install

Copy your Operator Mono OpenType files into the original folder.

From the command line, run:

Windows

build

Linux/Mac

./build.sh

This will generate the new font files in the build folder. You can now install these fonts on your system.


GitHub

Add Operator Mono to GitHub code blocks using the Stylish Extension.

Create a style and enter the following:

.blob-code-inner, .blob-num, .highlight pre { font-family: "Operator Mono Lig" !important; font-size: 16px !important; }
.pl-c, .pl-e { font-style: italic; }
.pl-c { color: #4CAF50; }

Visual Studio

You can have Visual Studio display the nice Operator Mono italic font for comments, using the CommentsPlus Extension.

Hyper shell

Add Operator Mono to Hyper a JS/CSS/HTML Terminal.

operator-mono-lig's People

Contributors

kiliman avatar marsqing avatar sjousse avatar timhecker avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.