# Myna
Tired of squinting at uneven symbols in your code? Frustrated when your `->` looks nothing like arrow, or `$`, `@`, `%` seem mismatched?

Want to experience the beauty of ligatures without losing the simplicity of ASCII.

Want a font which in which you could learn Haskell and enjoy even Perl? We've got just the font for you!

Myna is a monospace font which aims to bring harmony to your editor by treating symbols as first-class citizens.

Myna is not designed from the scratch but steals some of the most beautiful features some of your favourite fonts to create a lovely experience.

## Why Myna?
Here is why Myna stands apart from other fonts:
- **Symbol-First Design**: clear emphasis on ASCII symbols which are ubiquitous in programming languages
- **Near-Perfect Alignment**: multi-character symbols like `->`, `>>=`, `=~`, `::` align seamlessly
- **Balanced Weight**: symbols have just the right visual weight against your code
- **Clear Distinction**: no more confusing `1 l I |` or `0 O o`
- **Language Agnostic**: clean sigils (`$s @a %h &f *x`) for Perl + elegant operators (`:: -> <$> >>=`) for Haskell + clear symbols (`-> ++ -- += << >>`) for C/C++

## Showcase
| Language | Light | Dark |
|----------|-------|------|
|  **Perl**     |  <img  src="images/Perl-light.png"     width="300">  |  <img  src="images/Perl_dark.png"     width="300">  |
|  **Haskell**  |  <img  src="images/Haskell_light.png"  width="300">  |  <img  src="images/Haskell_dark.png"  width="300">  |
|  **C**        |  <img  src="images/C_light.png"        width="300">  |  <img  src="images/C_dark.png"        width="300">  |
|  **Bash**     |  <img  src="images/Bash_light.png"     width="300">  |  <img  src="images/Bash_dark.png"     width="300">  |
|  **Clojure**  |  <img  src="images/Clojure_light.png"  width="300">  |  <img  src="images/Clojure_dark.png"  width="300">  |
|  **Erlang**   |  <img  src="images/Erlang_light.png"   width="300">  |  <img  src="images/Erlang_dark.png"   width="300">  |
|  **OCaml**    |  <img  src="images/OCaml_light.png"    width="300">  |  <img  src="images/OCaml_dark.png"    width="300">  |
|  **Ruby**     |  <img  src="images/Ruby_light.png"     width="300">  |  <img  src="images/Ruby_dark.png"     width="300">  |
|  **Rust**     |  <img  src="images/Rust_light.png"     width="300">  |  <img  src="images/Rust_dark.png"     width="300">  |
|  **LaTeX**    |  <img  src="images/LaTeX_light.png"    width="300">  |  <img  src="images/LaTeX_dark.png"    width="300">  |
|  **HTML**     |  <img  src="images/HTML_light.png"     width="300">  |  <img  src="images/HTML_dark.png"     width="300">  |
|  **SQL**      |  <img  src="images/SQL_light.png"      width="300">  |  <img  src="images/SQL_dark.png"      width="300">  |

## Installation
### macOS
```bash
git clone https://github.com/sayyadirfanali/Myna.git
cd Myna
cp Myna.otf ~/Library/Fonts/
```

### Linux
```bash
git clone https://github.com/sayyadirfanali/Myna.git
cd Myna
cp Myna.otf ~/.local/share/fonts/
fc-cache -v
```

### Windows
1. Download the release
2. Right-click `Myna.otf` and select "Install for all users"

## License
SIL Open Font License

## Credits
Myna is an improved version of an earlier font [Hera](https://github.com/sayyadirfanali/Hera.git) which was inspired by many many beautiful and popular open-source monospace fonts including Source Code Pro, Fira Mono, Inconsolata, Plex Mono, Office Code Pro, Anonymous Pro. More details can be found on the Hera repository.
