Live data from Hacker News

Myna: Monospace typeface designed for symbol-heavy programming languages

github.com

11–20 of 185 posts

Re: Myna: Monospace typeface designed for symbol-heavy programming languages

#11
post #9

I despise this style of curly braces where the arms look more like “S” than like “ʃ”. Don’t go backwards! :)

a few others have raised the same point. in my defense i can only say that i adore that particular style because it looks more like what i draw by hand.

Re: Myna: Monospace typeface designed for symbol-heavy programming languages

#12

Not trying to be negative, just confused: I don't really see how this font is "designed for symbol-heavy languages". The symbols look normal to me. Maybe the letters are a little more spaced? I'd love to be enlightened.

designer here. by symbol-heavy languages i mean languages like Perl and Haskell which make heavy use of symbols (sigils in Perl and operators in Haskell). Myna was designed after my frustration with other monospace fonts combined with my (self-imposed) inability to use ligatures.

Apl, BQN and Oiua would like to talk to you.

Re: Myna: Monospace typeface designed for symbol-heavy programming languages

#13
post #6
post #3

Earlier quoted context omitted.

>Near-Perfect Alignment: multi-character symbols like ->, >>=, =~, :: align seamlessly The GitHub page has a list with 5 items of what was the focus, this is the first (and I think the most easily noticeable) area

I wonder why only near -perfect.

there are bounds to be many many operators and glyph combinations where things don't match properly. an example is the variable declaration and initialisation symbol in Go which combines colon and equal sign. if you use Myna and come across any such examples, please raise a feature request. i only focused on glyphs for languages i use personally. but if there is interest i am open to adding contextual alternates to give some alignment in cases where changing one glyph would disturb other combinations. of course you can always point out any rendering or design issues with singular glyphs too.

Re: Myna: Monospace typeface designed for symbol-heavy programming languages

#14
post #5

I appreciate the effort, but the result kind of shows why usually symbols are aligned as they are. Dashes, colons, angle brackets — all look way too high next to lowercase letter. I assume this stems from trying to align everything with brackets, and those are aligned with uppercase letters kind of naturally. But I don't think the tradeoff is worth it.

i understand the point you raise. but i believe symbols are generally aligned as they are because most fonts are designed for text and many monospace fonts respect those typographic traditions. but i think code is not text and breaking some tradition improves readability. the dash (hyphen) is actually supposed to align with the greater than symbol to resemble the arrow (extremely common symbol in C and many functiona…

The greater/less-than symbols look too high to me as well, also when used as angle brackets like in HTML/XML/C++/Java/TypeScript/….

Re: Myna: Monospace typeface designed for symbol-heavy programming languages

#16
post #9

I despise this style of curly braces where the arms look more like “S” than like “ʃ”. Don’t go backwards! :)

a few others have raised the same point. in my defense i can only say that i adore that particular style because it looks more like what i draw by hand.

I guess it depends on what you are used to. I draw them like “ʃ” by hand, and find the more squiggly style unnecessarily noisy visually. It makes the brace direction a little less obvious to see at first glance.

Re: Myna: Monospace typeface designed for symbol-heavy programming languages

#18

Earlier quoted context omitted.

designer here. by symbol-heavy languages i mean languages like Perl and Haskell which make heavy use of symbols (sigils in Perl and operators in Haskell). Myna was designed after my frustration with other monospace fonts combined with my (self-imposed) inability to use ligatures.

Apl, BQN and Oiua would like to talk to you.

And some proof assistant languages and frameworks. For a second I was really excited there, but this is another font with “programming ligatures”.

Re: Myna: Monospace typeface designed for symbol-heavy programming languages

#19

Earlier quoted context omitted.

Apl, BQN and Oiua would like to talk to you.

And some proof assistant languages and frameworks. For a second I was really excited there, but this is another font with “programming ligatures”.

i know the title can be a bit misleading but Myna is primarily ASCII.

languages which insist on using full Unicode like APL and Agda have bigger problems (availability of uniform glyphs and inconsistency with monospace design) on their plates. which imo is one reason why full Unicode editing hasn't really caught up.

Myna doesn't use any ligatures though. it would run on almost all terminals and editors.

Re: Myna: Monospace typeface designed for symbol-heavy programming languages

#20
I personally love Jetbrains Mono; it's been one of a kind for me and my tastes. I like it over Consolas (although this is one is pretty good on Windows), Fira Mono, Inconsolata, Plex Mono. But I can see the effort here and I'm definitely going to give this one a try! I've found that typefaces can change a lot depending on pixel alignment and rendering engines (i.e. ClearType, GDI, FreeType, Quartz... let pixel grid decide or not, or by how much...). So it's hard to tell if this is going to win me over without actually trying!
Post reply on HN