mirror of
https://github.com/sayyadirfanali/Myna.git
synced 2026-04-29 11:47:16 +02:00
82 lines
4.4 KiB
Markdown
82 lines
4.4 KiB
Markdown
# Myna 🐦⬛
|
|
Do you ever feel like your programmign font treats symbols as second-class glyphs? Are you frustrated that your `->` looks nothing like an arrow, or `$`, `@`, `%` seem ever mismatched?
|
|
Want to experience the beauty of ligatures without losing the simplicity of ASCII.
|
|
|
|
**Myna** (*Gracula religiosa* 🐦⬛) is a monospace font which aims to bring harmony to your editor by treating symbols as first-class citizens.
|
|
|
|
<img src="images/hero.png">
|
|
|
|
## 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-Aware Design**: clean sigils (`$s @a %h &f *x`) for Perl + elegant operators (`:: -> <$> >>=`) for Haskell + clear symbols (`-> ++ -- += << >>`) for C/C++
|
|
|
|
NB: Myna is a very simple font. It does **not** feature ligatures, or separate bold/italic styles currently.
|
|
|
|
## Showcase
|
|
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="images/Perl_dark.png">
|
|
<source media="(prefers-color-scheme: light)" srcset="images/Perl_light.png">
|
|
<img alt="Perl" src="https://example.com/Perl_light.png">
|
|
</picture>
|
|
|
|
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="images/Haskell_dark.png">
|
|
<source media="(prefers-color-scheme: light)" srcset="images/Haskell_light.png">
|
|
<img alt="Haskell" src="https://example.com/Haskell_light.png">
|
|
</picture>
|
|
|
|
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="images/C_dark.png">
|
|
<source media="(prefers-color-scheme: light)" srcset="images/C_light.png">
|
|
<img alt="C" src="https://example.com/C_light.png">
|
|
</picture>
|
|
|
|
|
|
| Language | Light | Dark |
|
|
|----------|-------|------|
|
|
| **Perl** | <img src="images/Perl_light.png" width="500"> | <img src="images/Perl_dark.png" width="500"> |
|
|
| **Haskell** | <img src="images/Haskell_light.png" width="500"> | <img src="images/Haskell_dark.png" width="500"> |
|
|
| **C** | <img src="images/C_light.png" width="500"> | <img src="images/C_dark.png" width="500"> |
|
|
| **Bash** | <img src="images/Bash_light.png" width="500"> | <img src="images/Bash_dark.png" width="500"> |
|
|
| **Clojure** | <img src="images/Clojure_light.png" width="500"> | <img src="images/Clojure_dark.png" width="500"> |
|
|
| **Erlang** | <img src="images/Erlang_light.png" width="500"> | <img src="images/Erlang_dark.png" width="500"> |
|
|
| **OCaml** | <img src="images/OCaml_light.png" width="500"> | <img src="images/OCaml_dark.png" width="500"> |
|
|
| **Ruby** | <img src="images/Ruby_light.png" width="500"> | <img src="images/Ruby_dark.png" width="500"> |
|
|
| **Rust** | <img src="images/Rust_light.png" width="500"> | <img src="images/Rust_dark.png" width="500"> |
|
|
| **LaTeX** | <img src="images/LaTeX_light.png" width="500"> | <img src="images/LaTeX_dark.png" width="500"> |
|
|
| **HTML** | <img src="images/HTML_light.png" width="500"> | <img src="images/HTML_dark.png" width="500"> |
|
|
| **SQL** | <img src="images/SQL_light.png" width="500"> | <img src="images/SQL_dark.png" width="500"> |
|
|
|
|
## 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.
|
|
|
|
## Improvements
|
|
Myna is a very simple font with no styling, no ligatures, and is designed to be used in every terminal. However, if you want the shape of some glyph to be changed or some new non-ASCII glyph to be added please feel free to open issues if you want to add some changes.
|