Re:Comic Code – Monospaced interpretation of the most over-h...
by empath75 on Friday July 26, 2019 @09:38AM
(#20534673)
i would totally use this if it had nerdfont support and ligature support.
[ Parent
| on HN ]
Re:Comic Code – Monospaced interpretation of the most over-h...
by tosche on Friday July 26, 2019 @02:22PM
(#20537088)
Hi, the designer of the font here. This version has ligatures but OFF by default (it's called dlig feature, discretionary ligatures). A version of the same font that has ligatures ON by default will be released soon. I don't know ho many code editors support manual activation of OpenType features, so I advise you get that later version if you really want to use it. Sorry for the confusion from not releasing them at the same time.
To share my view on ligatures, there is a danger of making it hard to count letters and I see a lot of designs feeling too creative with the possibility. In my design, I wanted to have ligatures that are more easily countable (not all cases though), and try to find balance between the two camps.
Re:Comic Code – Monospaced interpretation of the most over-h...
by WorldMaker on Friday July 26, 2019 @12:18PM
(#20535915)
At the bottom of the glyph listings it does show glyphs for a number of the major programming ligatures. Doesn't seem to be a full set, in at least because I don't see the "Powerline" PUA glyphs, but a good set of the more common ones at least.
Re:Comic Code – Monospaced interpretation of the most over-h...
by bin0 on Friday July 26, 2019 @09:41AM
(#20534697)
You're in luck; you can patch your own! https://github.com/ryanoasis/nerd-fonts#font-patcher
Re:Comic Code – Monospaced interpretation of the most over-h...
by empath75 on Friday July 26, 2019 @10:05AM
(#20534877)
yeah, but it wouldn't be in the same style.
Re:Comic Code – Monospaced interpretation of the most over-h...
by bin0 on Friday July 26, 2019 @02:47PM
(#20537312)
Some glyphs wouldn't really replicate in the style of comic sans... plus, stuff like powerline glyphs wouldn't match up right.
Re:Comic Code – Monospaced interpretation of the most over-h...
by jve on Friday July 26, 2019 @10:26AM
(#20535019)
How do you support ligatures for monospaced fonts?
Re:Comic Code – Monospaced interpretation of the most over-h...
by Someone on Friday July 26, 2019 @10:47AM
(#20535180)
You make sure all ligatures have widths that are integral multiples of the standard width.
If you’re strict, you make them the same width as the separate characters would be. If you’re less strict, you could, for example, have “⇒” or “½” be one character width, and not 2, respectively 3 (the latter probably would make you give up making a ligature for “1/2”)
Re:Comic Code – Monospaced interpretation of the most over-h...
by vanderZwan on Friday July 26, 2019 @12:04PM
(#20535804)
Monoid also experimented with using ligatures for better kerning at some point, don't know if it still does that. I thought that was a neat idea, especially since that is kind-of-but-not-really what ligatures are for in the first place.
Re:Comic Code – Monospaced interpretation of the most over-h...
by lmilcin on Friday July 26, 2019 @10:38AM
(#20535108)
The same way as in any other font.
https://github.com/tonsky/FiraCode
Re:Comic Code – Monospaced interpretation of the most over-h...
by vanderZwan on Friday July 26, 2019 @12:16PM
(#20535903)
It seems to have ligatures, no? Fourth screenshot shows them off.