All Projects → kiliman → Operator Mono Lig

kiliman / Operator Mono Lig

Licence: mit
Add ligatures to Operator Mono similar to Fira Code

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects
Batchfile
5799 projects
go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Operator Mono Lig

Pokemon Font
GAME BOY font from Pokémon R/G/B/Y/G/S/C, Unicode extended.
Stars: ✭ 437 (-83.71%)
Mutual labels:  font, ligatures
Firamonaco
Monaco Font with Firacode ligatures and patched for Powerline 📝
Stars: ✭ 71 (-97.35%)
Mutual labels:  font, ligatures
Hasklig
Hasklig - a code font with monospaced ligatures
Stars: ✭ 5,145 (+91.76%)
Mutual labels:  font, ligatures
Iosevka-Mayukai
Font based on Iosevka Custom Build, with combination from Iosevka SS04 Menlo, SS07 Monaco, SS09 Source Code Pro, SS12 Ubuntu Mono, SS14 Jetbrains Mono, Hack Style, and some Nerd Font Patching.
Stars: ✭ 149 (-94.45%)
Mutual labels:  font, ligatures
Consolas Ligaturized
Standard Consolas font with FiraCode ligatures.
Stars: ✭ 198 (-92.62%)
Mutual labels:  font, ligatures
Hauora-Sans
Neo-grotesque sans-serif font originally designed for an open-sourced health research project
Stars: ✭ 83 (-96.91%)
Mutual labels:  font, glyphs
Scientifica
tall, condensed, bitmap font for geeks.
Stars: ✭ 821 (-69.4%)
Mutual labels:  font, ligatures
Urbanist
Urbanist is a low-contrast, geometric sans-serif inspired by Modernist design and typography.
Stars: ✭ 374 (-86.06%)
Mutual labels:  font, glyphs
Ligaturizer
Programming Fonts with Ligatures added (& a script to add them to other fonts)
Stars: ✭ 1,734 (-35.37%)
Mutual labels:  font, ligatures
Operator Mono Atom
Free Operator Mono clone for Atom
Stars: ✭ 120 (-95.53%)
Mutual labels:  font, ligatures
glyphhanger
Your web font utility belt. It can subset web fonts. It can find unicode-ranges for you automatically. It makes julienne fries.
Stars: ✭ 422 (-84.27%)
Mutual labels:  font, glyphs
Lilex
🤘Open source programming font
Stars: ✭ 143 (-94.67%)
Mutual labels:  font, ligatures
alt-hack
A stylistic alternate glyph library for the Hack typeface
Stars: ✭ 85 (-96.83%)
Mutual labels:  font, glyphs
Opentype.js
Read and write OpenType fonts using JavaScript.
Stars: ✭ 3,393 (+26.46%)
Mutual labels:  font, glyphs
Ligatured-Hack
Automatically patch latest Hack Font with latest JetBrains Mono / FiraCode Ligatures
Stars: ✭ 196 (-92.69%)
Mutual labels:  font, ligature
Jetbrainsmono
JetBrains Mono – the free and open-source typeface for developers
Stars: ✭ 6,195 (+130.9%)
Mutual labels:  font, ligatures
Firacode
Free monospaced font with programming ligatures
Stars: ✭ 60,943 (+2171.45%)
Mutual labels:  font, ligatures
Victor Mono
A free programming font with cursive italics and ligatures. Donations welcome ❤️
Stars: ✭ 1,854 (-30.9%)
Mutual labels:  font, ligatures
Haack
Hæck
Stars: ✭ 142 (-94.71%)
Mutual labels:  font, ligatures
Iosevka
Versatile typeface for code, from code.
Stars: ✭ 13,137 (+389.64%)
Mutual labels:  font, ligatures

Operator Mono Ligatures

All Contributors

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.

🎉 What's New in Version 2

All new redesigned ligatures with better hinting. Updated font generation to support advanced OpenType features like those found in Fira Code. For example, the cursor now moves inside the ligature. It also handles repeating characters properly.

👀 Click here to see preview images of all ligatures

With the awesome help from Mark Skelton, we now have the full set of ligatures for the following fonts. Thanks Mark, and thanks to all of you who have been patiently waiting for these ligatures to be completed.

  • Operator Mono SSm Light/Light Italic
  • Operator Mono SSm Book/Book Italic
  • Operator Mono SSm Medium/Medium Italic
  • Operator Mono SSm Bold/Bold Italic
  • Operator Mono Light/Light Italic
  • Operator Mono Book/Book Italic

🙏 Help Wanted

As noted above, v2 does not include all weights for Operator Mono. In order to update the other fonts, all the ligatures need to be redone. Unfortunately I just don't have the time to do that at the moment. If you have a Mac and are interested in helping, please let me know. I will even purchase a license to Gylphs Mini for you.

You can reach me at [email protected].

☑️ Take the poll

Which font weight of Operator Mono do you use? Also note difference between Screen Smart (SSm) and regular version. This will help prioritize the order of development.

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.
  • Python (v2.7+)
  • Node.js
  • Install fonttools from https://github.com/fonttools/fonttools
    • Windows/Linux: pip install fonttools
      • NOTE: For Windows you should use a console with administrative permissions if your Python sit under C:\PythonX
      • NOTE: For Linux in WSL/WSL2, ensure that fonttools is added to PATH after install. Alternatively, consider installing via sudo apt install fonttools.
    • Mac: pip3 install fonttools

Installation

Once all the prerequisites have been installed, clone this repo or download latest release from Releases and unzip.

Next, copy your Operator Mono OpenType files into the original folder. NOTE: Filenames must not include spaces. It should look like:

  • OperatorMonoSSm-Book.otf
  • OperatorMonoSSm-BookItalic.otf
  • OperatorMono-Light.otf
  • OperatorMono-LightItalic.otf
  • etc.

Finally, run the following commands to install npm dependencies and build the font files. The new font files will be placed in the build folder. You can now install these fonts on your system.

npm install

# Windows
build

# Linux/Mac
./build.sh

Docker

If you use Docker, you can also use the executable Docker image here. It handles all the prerequisite installation for you, you just need to:

  1. Clone the repo located here.
  2. Copy your Operator Mono OpenType files into the input folder.
  3. From the command line run:
    docker-compose run --rm operator-mono-lig

The image will build and execute the conversion. The new font files will be generated into the build folder.

Configure Your Code Editor

You can now select the newly generated font in your code editor. Make sure you enable font ligatures and set the desired font weight if using Windows. The code block below shows what this might look like if using VS Code.

  "editor.fontFamily": "OperatorMonoSSmLig-Book",
  "editor.fontLigatures": true,
  // for Windows
  "editor.fontFamily": "Operator Mono SSm Lig",
  "editor.fontLigatures": true,
  "editor.fontWeight": "500",   // adjust for desired weight

🔧 Customize the generated font

By default, all available ligatures will be added to the generated font. However, if you don't like a particular ligature, or would prefer to use an alternate glyph, you can create a profiles.ini file in the ./original folder to configure how the font should be built.

You can create one or more profiles. Each profile will have a set of directives. You can specify alternate glyphs for a given ligature. You can also prevent a ligature from being added.

Each profile will be listed with [profile name] (the first profile should be named default). The generated font will include the profile name. For example [Go] would generate the font: Operator Mono Lig Go. This way you can configure a different set of ligatures for each language in your favorite code editor.

# name of profile (one or more sections, first should be name default)
[default]
# glyph=altglyph
greater_equal.liga=greater_equal.2.liga

# do not include glyph (add ! prefix)
!equal_equal.liga

# another optional section (will create a font named Operator Mono Lig Go)
[Go]
... add custom directives for this font ...

😍 Thank You

Thanks to Hoefler&Co for making such an amazing font. It makes writing code truly pleasurable.

Thanks also to all of you for your kinds words of encouragement and feedback. I really appreciate it.

Contributors

Thanks goes to these wonderful people (emoji key):


Kiliman

💻 📖 🎨

Mark Skelton

🎨

Derick Rodriguez

📖

Amit Parekh

📖 🎨

NikSun

🎨

Jakob Pearson

💻

Luigi

📖

Reland Boyle

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].