logoalt Hacker News

aleyan • today at 3:43 PM • 0 replies • view on HN

I have been using a union of Iosevka for most characters and Source Han Sans for CJK characters called Sarasa Gothic[0] for my roguelike (HexWalker)[1]. Iosevka's narrow characters are what originally inspired me to do it. Two Iosevka half-width glyphs literally form a square in the terminal, and if off-set by one characters, can be used to emulate a pointy-side up hexgrid in the terminal. In the end my love for the Iosevka letter shapes made me build HexWalker for the web, because it is easier to set custom fonts there than in the terminal.

If you want to use Iosevka on your webpage there is a variant on google fonts called Iosevka Charon[2] that is really easy to use.

Personally, I use filtered version of Iosevka that just contains the characters and variants I need for my personal website. For HexWalker I filter Sarasa Term to the characters I used, which takes it down to 42kb from 50mb+.

[0] https://github.com/be5invis/sarasa-gothic

[1] https://ytirnity.com/games/hexwalker

[2] https://fonts.google.com/specimen/Iosevka+Charon