mirror of
https://github.com/sayyadirfanali/Myna.git
synced 2026-04-24 01:08:36 +02:00
add comparison
This commit is contained in:
@@ -56,6 +56,10 @@ Please click on the image to view it in full in a new tab.
|
|||||||
| **HTML** | <img src="images/HTML_light.png" width="500"> | <img src="images/HTML_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"> |
|
| **SQL** | <img src="images/SQL_light.png" width="500"> | <img src="images/SQL_dark.png" width="500"> |
|
||||||
|
|
||||||
|
Here is a comparison of popular glyph combinations in Myna with other popular non-ligature monospace fonts. Note that these are fonts which don't use ligatures. More smooth looks can be achieved using ligatured fonts (at the cost of some minor inconveniences while installing and typing).
|
||||||
|
|
||||||
|
<img alt="comparison" src="images/comp.png"></img>
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
### Linux
|
### Linux
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
BIN
images/hero.png
BIN
images/hero.png
Binary file not shown.
|
Before Width: | Height: | Size: 251 KiB After Width: | Height: | Size: 323 KiB |
20
mkhero
20
mkhero
@@ -1,20 +0,0 @@
|
|||||||
offsets=(50)
|
|
||||||
for ((i=1; i<=9; i++)); do
|
|
||||||
offsets+=($((offsets[i - 1] + 150)))
|
|
||||||
done;
|
|
||||||
|
|
||||||
magick \
|
|
||||||
-size 2000x1700 xc:"#1A1A1A" \
|
|
||||||
-font "Myna" \
|
|
||||||
-strokewidth 1.2 \
|
|
||||||
-gravity north \
|
|
||||||
-fill "yellow" -stroke "yellow" -pointsize 96 -annotate +0+${offsets[0]} "MYNA" \
|
|
||||||
-fill "cyan" -stroke "cyan" -pointsize 96 -annotate +0+${offsets[1]} "Lorem ipsum dolor sit amet" \
|
|
||||||
-fill "violet" -stroke "violet" -pointsize 96 -annotate +0+${offsets[2]} "0 1 2 3 4 5 6 7 8 9" \
|
|
||||||
-fill "hotpink" -stroke "hotpink" -pointsize 96 -annotate +0+${offsets[3]} "[] {} () <> | \\\ ? ! #" \
|
|
||||||
-fill "cyan" -stroke "cyan" -pointsize 96 -annotate +0+${offsets[4]} "\` ' \" , . ; : ~ ^ _" \
|
|
||||||
-fill "springgreen" -stroke "springgreen" -pointsize 96 -annotate +0+${offsets[5]} "+ - = ++ -- += -= == !=" \
|
|
||||||
-fill "aqua" -stroke "aqua" -pointsize 96 -annotate +0+${offsets[6]} "\$s @a \%h &f *x =~" \
|
|
||||||
-fill "violet" -stroke "violet" -pointsize 96 -annotate +0+${offsets[7]} ":: -> => <$> >>= ^. \%~" \
|
|
||||||
-fill "coral" -stroke "coral" -pointsize 96 -annotate +0+${offsets[8]} "$ £ € ¥ ₹ ₽" \
|
|
||||||
-fill "limegreen" -stroke "limegreen" -pointsize 96 -annotate +0+${offsets[9]} "0 O o | 1 l I | \` ' \" | Z 2" $1
|
|
||||||
21
scripts/mkhero
Executable file
21
scripts/mkhero
Executable file
@@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
my $text = [
|
||||||
|
{"col" => "yellow", "pos" => 100, "string" => 'MYNA'},
|
||||||
|
{"col" => "cyan", "pos" => 300, "string" => 'Lorem ipsum dolor sit amet'},
|
||||||
|
{"col" => "violet", "pos" => 500, "string" => '0 1 2 3 4 5 6 7 8 9'},
|
||||||
|
{"col" => "hotpink", "pos" => 700, "string" => '[] {} () <> | \\\ ? ! #'},
|
||||||
|
{"col" => "cyan", "pos" => 900, "string" => '\` \' \" , . ; : ~ ^ _'},
|
||||||
|
{"col" => "springgreen", "pos" => 1100, "string" => '+ - = ++ -- += -= == !='},
|
||||||
|
{"col" => "aqua", "pos" => 1300, "string" => '\$s @a \%h &f *x =~'},
|
||||||
|
{"col" => "violet", "pos" => 1500, "string" => ':: -> => <$> >>= ^. \%~'},
|
||||||
|
{"col" => "coral", "pos" => 1700, "string" => '$ £ € ¥ ₹ ₽'},
|
||||||
|
{"col" => "limegreen", "pos" => 1900, "string" => '0 O o | 1 l I | \` \' \" | Z 2'}
|
||||||
|
];
|
||||||
|
|
||||||
|
system(join(' ',
|
||||||
|
"magick",
|
||||||
|
"-size 2000x2200 xc:\"#1A1A1A\" -gravity north -pointsize 128 -font Myna -strokewidth 1.2",
|
||||||
|
(map { "-fill $_->{col} -stroke $_->{col} -annotate +0+$_->{pos} \"$_->{string}\"" } $text->@*),
|
||||||
|
$ARGV[0]
|
||||||
|
))
|
||||||
Reference in New Issue
Block a user