Skip to content

enso-org/font

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enso Font

The Enso font was specifically designed for the Enso application. It is based on the MPlus1 font family, with certain modifications to enhance its suitability for both the Enso code and regular text displayed within the application. The font was designed in such a way that it provides good code readability by default and implements alternative characters that can be used to properly display written text. All these rules were implemented within a single font to allow the application to use only one font instead of different ones for different parts of the application, allowing the Enso rendering engine to work faster by caching common glyphs across these use cases. Refer to the below image to see an example usage of the font:

image

Changes to MPlus1

In order to improve code readability, the following changes have been implemented:


Using Enso Font in regular sentences

In order to use the font in regular sentences, several new glyphs have been implemented. If you want to use this font to display regular sentences, you have to apply the following transformations to your text:


Installation

To install the Enso font, please follow these steps:

  1. Download the font files from the fonts directory.
  2. Use your system's font manager to install the downloaded files.

Font version

If you want to automate the font installation and management, for example for the purpose of automatic CI integration, you can query the font version either by parsing one of the TTF binary files by using one of such libraries as opentype.js or by reading the UTF-8 encoded sources/Enso.glyphs and reading the values of versionMajor and versionMinor variables.


Contributing

If you wish to contribute and make edits to the Enso font, you can use the MacOS Glyphs App. Simply open the sources/Enso.glyphs file in the Glyphs App and make the desired modifications.

Packages

No packages published

Languages

  • Python 100.0%