larsenwork / monoid

Customisable coding font with alternates, ligatures and contextual positioning. Crazy crisp at 12px/9pt. http://larsenwork.com/monoid/
7.86k stars 170 forks source link

Difference between Normal and Loose styles? #6

Closed zevv closed 9 years ago

zevv commented 9 years ago

Hi,

For some reason the Normal and Loose styles render the same for my terminal, see the screenshots at:

xterm -fa 'Mono16:pixelsize=16:style=Loose'
xterm -fa 'Mono16:pixelsize=16:style=Loose'
xterm -fa 'Mono16:pixelsize=16:style=Loose'

http://zevv.nl/div/mono16-loose.png http://zevv.nl/div/mono16-normal.png http://zevv.nl/div/mono16-tight.png

$ fc-list  | grep Mono16
/usr/local/share/fonts/truetype/mono16/Mono16-Tight.ttf: Mono16:style=Tight
/usr/local/share/fonts/truetype/mono16/Mono16-Loose.ttf: Mono16:style=Loose
/usr/local/share/fonts/truetype/mono16/Mono16-Normal.ttf: Mono16:style=Normal
larsenwork commented 9 years ago

That is very strange, I haven't used any "tricks" or anything that could explain that. I've used UPM 2048 and Glyphs in loose are 1152 wide and regular 1024. I assume it's displaying correctly in other programs? What terminal are you using?

zevv commented 9 years ago

That is very strange, I haven't used any "tricks" or anything that could explain that. I've used UPM 2048 and Glyphs in loose are 1152 wide and regular 1024. I assume it's displaying correctly in other programs? What terminal are you using?

I tried in urxvt, rxvt and xterm, all with similar results. The funny thing is that if I install only the Loose font, it still renders like the Normal in your screenshot. Ill compare in more detail when I'm back t my PC.

:wq ^X^Cy^K^X^C^C^C^C

larsenwork commented 9 years ago

Ok, I have a "hack" idea if your further inspection doesn't explain it

zevv commented 9 years ago

Ok, I have an idea if your further inspection doesn't explain it

I just pasted one of your example snippets in xterm with only the Loose font installed, but it renders exactly similar to the Normal type instead.

http://zevv.nl/div/normal-or-loose.png

:wq ^X^Cy^K^X^C^C^C^C

larsenwork commented 9 years ago

and this is the latest version (0.23 Loose, 0.24 Normal - not that I've changed anything but just to make sure we're not beating a dead horse)

zevv commented 9 years ago

and this is the latest version (0.23 Loose, 0.24 Normal - not that I've changed anything but just to make sure we're not beating a dead horse)

Original problem showed with 0.22, but still persists with 0.23.

:wq ^X^Cy^K^X^C^C^C^C

larsenwork commented 9 years ago

Try this: https://github.com/andreaslarsen/mono16/blob/master/Resources/Testing/LooseTest.ttf?raw=true

chase commented 9 years ago

@zevv I'm not sure if this was simply a typo, but if you ran screenshots for

xterm -fa 'Mono16:pixelsize=16:style=Loose'
xterm -fa 'Mono16:pixelsize=16:style=Loose'
xterm -fa 'Mono16:pixelsize=16:style=Loose'

then the results would all be the same, as the style is set to Loose for all of them.

zevv commented 9 years ago

@zevv I'm not sure if this was simply a typo, but if you ran screenshots for

xterm -fa 'Mono16:pixelsize=16:style=Loose'
xterm -fa 'Mono16:pixelsize=16:style=Loose'
xterm -fa 'Mono16:pixelsize=16:style=Loose'

Then the results would all be the same, as the style is set to Loose for all of them.

That was indeed a typo, but thanks for noticing!

:wq ^X^Cy^K^X^C^C^C^C

larsenwork commented 9 years ago

@zevv try the updated fonts from http://andreaslarsen.github.io/monoid/ - how do they look?