termux / termux-styling

Termux add-on app for customizing the terminal font and color theme.
https://f-droid.org/en/packages/com.termux.styling/
Other
1.22k stars 252 forks source link

Roboto Mono is too widely spaced #26

Open freddyhayward opened 7 years ago

freddyhayward commented 7 years ago

The Roboto Mono font is too widely spaced, making it effectively unusable. It also seems to all be in bold type: roboto

Iosevka, for comparison: iosevka

This is what it should look like, taken from my desktop: ideal-spacing

fornwall commented 7 years ago

Hm, it looks like the Robot Mono fonts from nerd-fonts (https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/RobotoMono/complete/Roboto%20Mono%20Nerd%20Font%20Complete.ttf) adds a lot of space compared to e.g. https://github.com/google/fonts/raw/master/apache/robotomono/RobotoMono-Regular.ttf.

I've asked a question at https://gitter.im/ryanoasis/nerd-fonts about it.

freddyhayward commented 7 years ago

That's strange. I installed RobotoMono Nerd Font on my desktop (using gnome-terminal) and the spacing seemed to be identical to Roboto Mono. So I expect it's not an issue with the font itself.

freddyhayward commented 7 years ago

Having downloaded both the font you linked and the one in this repo, there's a clear difference between the two. From your link: roboto-nerd-font-regular

From here: roboto-nerd-font-termux

fornwall commented 7 years ago

Indeed - I've created an issue at https://github.com/ryanoasis/nerd-fonts/issues/220 with your screenshots.

freddyhayward commented 7 years ago

I think you're mistaken - both of the fonts in the screenshots are from nerd-fonts, not google. The first one is from ryanoasis/nerd-fonts, and the second one is straight from termux/styling. So I think the issue is with the latter and not the former.

fornwall commented 7 years ago

Ah, sorry for being confused.

I actually wrote the wrong link to the nerd-tree font file used, it should be (note the Mono at the end):

Does this font have the spacing issue, while

does not?

freddyhayward commented 7 years ago

Yes. Neither RobotoMono-Regular.ttf nor Roboto Mono Nerd Font Complete.ttf have the issue, but Roboto Mono Nerd Font Complete Mono.ttf does.

freddyhayward commented 6 years ago

I understand that you're waiting on a fix from ryanoasis/nerd-fonts, but as a temporary fix, I suggest removing the final 'Mono' from the end of the filename in the .sh setup script. Would this work?