add font and images
60
README.md
Normal file
@@ -0,0 +1,60 @@
|
||||
# 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.
|
||||
BIN
images/Bash_dark.png
Normal file
|
After Width: | Height: | Size: 153 KiB |
BIN
images/Bash_light.png
Normal file
|
After Width: | Height: | Size: 150 KiB |
BIN
images/C_dark.png
Normal file
|
After Width: | Height: | Size: 210 KiB |
BIN
images/C_light.png
Normal file
|
After Width: | Height: | Size: 207 KiB |
BIN
images/Clojure_dark.png
Normal file
|
After Width: | Height: | Size: 215 KiB |
BIN
images/Clojure_light.png
Normal file
|
After Width: | Height: | Size: 212 KiB |
BIN
images/Erlang_dark.png
Normal file
|
After Width: | Height: | Size: 164 KiB |
BIN
images/Erlang_light.png
Normal file
|
After Width: | Height: | Size: 163 KiB |
BIN
images/HTML_dark.png
Normal file
|
After Width: | Height: | Size: 214 KiB |
BIN
images/HTML_light.png
Normal file
|
After Width: | Height: | Size: 211 KiB |
BIN
images/Haskell_dark.png
Normal file
|
After Width: | Height: | Size: 136 KiB |
BIN
images/Haskell_light.png
Normal file
|
After Width: | Height: | Size: 134 KiB |
BIN
images/LaTeX_dark.png
Normal file
|
After Width: | Height: | Size: 236 KiB |
BIN
images/LaTeX_light.png
Normal file
|
After Width: | Height: | Size: 225 KiB |
BIN
images/OCaml_dark.png
Normal file
|
After Width: | Height: | Size: 152 KiB |
BIN
images/OCaml_light.png
Normal file
|
After Width: | Height: | Size: 150 KiB |
BIN
images/Ruby_dark.png
Normal file
|
After Width: | Height: | Size: 116 KiB |
BIN
images/Ruby_light.png
Normal file
|
After Width: | Height: | Size: 114 KiB |
BIN
images/Rust_dark.png
Normal file
|
After Width: | Height: | Size: 211 KiB |
BIN
images/Rust_light.png
Normal file
|
After Width: | Height: | Size: 208 KiB |
BIN
images/SQL_dark.png
Normal file
|
After Width: | Height: | Size: 130 KiB |
BIN
images/SQL_light.png
Normal file
|
After Width: | Height: | Size: 128 KiB |
BIN
images/hero.png
Normal file
|
After Width: | Height: | Size: 197 KiB |
14
scripts/mkhero
Executable file
@@ -0,0 +1,14 @@
|
||||
magick \
|
||||
-size 1000x1100 xc:"#0d0d0d" \
|
||||
-font "Myna" \
|
||||
-gravity north \
|
||||
-fill "#EEEEEE" -pointsize 96 -annotate +0+80 "MYNA" \
|
||||
-fill "hsl(0, 100%, 70%)" -pointsize 72 -annotate +0+200 "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
|
||||
-fill "hsl(200, 100%, 70%)" -pointsize 72 -annotate +0+300 "abcdefghijklmnopqrstuvwxyz" \
|
||||
-fill "hsl(300, 100%, 70%)" -pointsize 72 -annotate +0+400 "0 1 2 3 4 5 6 7 8 9" \
|
||||
-fill "hsl(100, 100%, 70%)" -pointsize 72 -annotate +0+500 "[] {} () <> | \\\ ? ! #" \
|
||||
-fill "hsl(250, 100%, 70%)" -pointsize 72 -annotate +0+600 "\` ' \" , . ; : ~ ^ _" \
|
||||
-fill "hsl(350, 100%, 70%)" -pointsize 72 -annotate +0+700 "+ - = ++ -- += -= == !=" \
|
||||
-fill "hsl(150, 100%, 70%)" -pointsize 72 -annotate +0+800 "\$s @a \%h &f *x =~ \$# @$ \%$" \
|
||||
-fill "hsl(50, 100%, 70%)" -pointsize 72 -annotate +0+900 ":: -> => <$> >>= ^. \%~" \
|
||||
$1
|
||||