reddit / redditsans

Reddit Sans. The typeface of the internet.
Other
389 stars 16 forks source link

Reddit Mono is not supported in kitty termnal #14

Closed kevinclevenger closed 1 month ago

kevinclevenger commented 5 months ago

Running 'kitty +list-fonts' shows all installed compatible mono fonts. For some reason Reddit Mono doesn't show up in the list when installed correctly and otherwise working fine. Most all other ttf and otf show up in the list and work in kitty so I'm guessing Reddit Mono is missing some specific data(?)

https://sw.kovidgoyal.net/kitty/conf/ - skip down to Fonts

stephenhutchings commented 5 months ago

@kevinclevenger the output fonts will soon be replaced with automated builds. Can you test whether the fonts on this branch resolve the issue? If they do, I will close this issue once that branch is merged.

Otherwise, there may be flag in the font that Kitty is looking for. Any further information as to what that flag might be would be helpful.

kevinclevenger commented 4 months ago

@stephenhutchings Apologies, I meant to get to this and it slipped off may radar

gf-onboaring didn't work and 'fc-list : family spacing outline scalable | grep -e spacing=100 -e spacing=90 | grep -e outline=True | grep -e scalable=True | rg Reddit' returns null.

Ubuntu Mono, JetBrains Mono, Red Hat Mono, IBM Plex Mono, all the Mplus Code variants have the right properties. Not sure what's missing in Reddit Mono yet.

Here's the reference on the Kitty site: https://sw.kovidgoyal.net/kitty/faq/#kitty-is-not-able-to-use-my-favorite-font

stephenhutchings commented 4 months ago

Thanks for the extra details @kevinclevenger. Does the suggested workaround that overrides ~/.config/fontconfig/fonts.conf solve the issue? The font does contain some glyphs like the and ligature characters which are actually double width.

stephenhutchings commented 1 month ago

Closing due to inactivity. If the suggested workaround doesn't work, subsetting the font without those characters should satisfy the fixed width requirement.