commit 9f18a385559fe9f5c9a8242b360daddab058cf05 Author: sayyadirfanali Date: Sun Nov 2 01:23:51 2025 +0530 add font and images diff --git a/Myna.otf b/Myna.otf new file mode 100644 index 0000000..53acd6c Binary files /dev/null and b/Myna.otf differ diff --git a/README.md b/README.md new file mode 100644 index 0000000..faa036e --- /dev/null +++ b/README.md @@ -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** | | | +| **Haskell** | | | +| **C** | | | +| **Bash** | | | +| **Clojure** | | | +| **Erlang** | | | +| **OCaml** | | | +| **Ruby** | | | +| **Rust** | | | +| **LaTeX** | | | +| **HTML** | | | +| **SQL** | | | + +## 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. diff --git a/images/Bash_dark.png b/images/Bash_dark.png new file mode 100644 index 0000000..6851401 Binary files /dev/null and b/images/Bash_dark.png differ diff --git a/images/Bash_light.png b/images/Bash_light.png new file mode 100644 index 0000000..fde2e4b Binary files /dev/null and b/images/Bash_light.png differ diff --git a/images/C_dark.png b/images/C_dark.png new file mode 100644 index 0000000..b679898 Binary files /dev/null and b/images/C_dark.png differ diff --git a/images/C_light.png b/images/C_light.png new file mode 100644 index 0000000..5078143 Binary files /dev/null and b/images/C_light.png differ diff --git a/images/Clojure_dark.png b/images/Clojure_dark.png new file mode 100644 index 0000000..44d6fab Binary files /dev/null and b/images/Clojure_dark.png differ diff --git a/images/Clojure_light.png b/images/Clojure_light.png new file mode 100644 index 0000000..9256056 Binary files /dev/null and b/images/Clojure_light.png differ diff --git a/images/Erlang_dark.png b/images/Erlang_dark.png new file mode 100644 index 0000000..0563548 Binary files /dev/null and b/images/Erlang_dark.png differ diff --git a/images/Erlang_light.png b/images/Erlang_light.png new file mode 100644 index 0000000..b3681e2 Binary files /dev/null and b/images/Erlang_light.png differ diff --git a/images/HTML_dark.png b/images/HTML_dark.png new file mode 100644 index 0000000..ab5ea72 Binary files /dev/null and b/images/HTML_dark.png differ diff --git a/images/HTML_light.png b/images/HTML_light.png new file mode 100644 index 0000000..ea237c9 Binary files /dev/null and b/images/HTML_light.png differ diff --git a/images/Haskell_dark.png b/images/Haskell_dark.png new file mode 100644 index 0000000..a5cdedf Binary files /dev/null and b/images/Haskell_dark.png differ diff --git a/images/Haskell_light.png b/images/Haskell_light.png new file mode 100644 index 0000000..ac2b566 Binary files /dev/null and b/images/Haskell_light.png differ diff --git a/images/LaTeX_dark.png b/images/LaTeX_dark.png new file mode 100644 index 0000000..4970d73 Binary files /dev/null and b/images/LaTeX_dark.png differ diff --git a/images/LaTeX_light.png b/images/LaTeX_light.png new file mode 100644 index 0000000..e9cdfb9 Binary files /dev/null and b/images/LaTeX_light.png differ diff --git a/images/OCaml_dark.png b/images/OCaml_dark.png new file mode 100644 index 0000000..1b58e64 Binary files /dev/null and b/images/OCaml_dark.png differ diff --git a/images/OCaml_light.png b/images/OCaml_light.png new file mode 100644 index 0000000..735ca9a Binary files /dev/null and b/images/OCaml_light.png differ diff --git a/images/Ruby_dark.png b/images/Ruby_dark.png new file mode 100644 index 0000000..d19d1c7 Binary files /dev/null and b/images/Ruby_dark.png differ diff --git a/images/Ruby_light.png b/images/Ruby_light.png new file mode 100644 index 0000000..61b1893 Binary files /dev/null and b/images/Ruby_light.png differ diff --git a/images/Rust_dark.png b/images/Rust_dark.png new file mode 100644 index 0000000..f8accfa Binary files /dev/null and b/images/Rust_dark.png differ diff --git a/images/Rust_light.png b/images/Rust_light.png new file mode 100644 index 0000000..47ce927 Binary files /dev/null and b/images/Rust_light.png differ diff --git a/images/SQL_dark.png b/images/SQL_dark.png new file mode 100644 index 0000000..7489bd4 Binary files /dev/null and b/images/SQL_dark.png differ diff --git a/images/SQL_light.png b/images/SQL_light.png new file mode 100644 index 0000000..d0b6827 Binary files /dev/null and b/images/SQL_light.png differ diff --git a/images/hero.png b/images/hero.png new file mode 100644 index 0000000..d1370e7 Binary files /dev/null and b/images/hero.png differ diff --git a/scripts/mkhero b/scripts/mkhero new file mode 100755 index 0000000..ad24477 --- /dev/null +++ b/scripts/mkhero @@ -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