You are not logged in.

#21 2018-02-05 07:28:25

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,571
Website

Re: Microsoft fonts — use them or lose them?

Head_on_a_Stick wrote:

The plain "Inconsolata" setting seems to produce very nice results, see my scrot here:

https://forums.bunsenlabs.org/viewtopic … 768#p67768

That's with -1 spacing and it is correct for that font size, perhaps the metrics have changed slightly since jessie?

To be honest, it looks too stretched-out even there to me. Personal tastes I guess.

It may well be a Jessie thing, as you say, but "Inconsolata" is much smaller than "Inconsolata Regular" or "Inconsolata Medium" in my terminals. For that, I had to increase the font size two points (14), and set -2 spacing for something I could look at. But then it's OK.

Maybe the extra words were throwing the font selection into some totally other fallback font!
(In GTK interfaces, though, Inconsolata offers the variants: Italic, Regular, Medium, Bold and Bold Italic.)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#22 2018-02-05 16:41:21

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: Microsoft fonts — use them or lose them?

I am going to post the Terminator profile that I set up for Helium-dev soon. Whatever you decide, it will need to be updated there. At the moment, I am using Monospace 10 in it.

Link to the topic:
https://forums.bunsenlabs.org/viewtopic … 822#p67822

Offline

#23 2018-02-05 19:24:09

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,077
Website

Re: Microsoft fonts — use them or lose them?

johnraff wrote:

"Inconsolata" is much smaller than "Inconsolata Regular" or "Inconsolata Medium" in my terminals.

I'm not surprised:

empty@virtbl:~ $ grep -A3 '>mon' /home/empty/.config/fontconfig/fonts.conf                                                                                                          
        <family>monospace</family>
        <prefer>
            <family>Inconsolata</family>
        </prefer>
empty@virtbl:~ $ fc-match mono
Inconsolata.otf: "Inconsolata" "Medium"
empty@virtbl:~ $ sed -i 's/Inconsolata/Inconsolata Medium/' /home/empty/.config/fontconfig/fonts.conf                                                                               
empty@virtbl:~ $ fc-match mono                                                                                                                                                      
VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman"
empty@virtbl:~ $ sed -i 's/Medium/Regular/' /home/empty/.config/fontconfig/fonts.conf                                                                                               
empty@virtbl:~ $ fc-match mono                                                                                                                                                      
VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman"
empty@virtbl:~ $ sed -i 's/Regular//' /home/empty/.config/fontconfig/fonts.conf                                                                                                     
empty@virtbl:~ $ fc-match mono                                                                                                                                                      
Inconsolata.otf: "Inconsolata" "Medium"
empty@virtbl:~ $

wink

But yes, perhaps we need to bump the font size up a point for Inconsolata?

In respect of the width issue, a -2 letterspace produces overlap on my system:

2018-02-05-192132_191x15_scrot.png

So -1 looks correct to me.

Offline

#24 2018-02-05 19:31:27

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,077
Website

Re: Microsoft fonts — use them or lose them?

tknomanzr wrote:

At the moment, I am using Monospace 10 in it

Yes, that is the correct font name to use in all other configuration files, we set the actual "monospace" font type in fonts.conf wink

Offline

#25 2018-02-05 20:39:44

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,077
Website

Re: Microsoft fonts — use them or lose them?

I'm changing my mind about letterspace — the overlap only appears for smaller fonts, the bigger sizes do look much better with -2 (10pt bold font shown):

2018-02-05-203618_261x14_scrot.png

After using that -1 does indeed look "stretched" to me hmm

Offline

#26 2018-02-06 02:29:25

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,571
Website

Re: Microsoft fonts — use them or lose them?

Of course these spacing adjustments only apply to urxvt, right? What about terminator and GTK apps?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#27 2018-02-06 08:27:52

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,077
Website

Re: Microsoft fonts — use them or lose them?

johnraff wrote:

these spacing adjustments only apply to urxvt, right?

Yes, that's right.

What about terminator

I haven't tested that (yet) but it seems less fussy than urxvt in respect of lateral spacing.

GTK apps?

The code boxes in the forum look _much_ nicer with Inconsolata (compared to the old Noto Mono), it's all rounded & trendy cool

EDIT: but the font in the Gtk applications is more "stretched out" than the -2 letterspace option, which is interesting.

EDIT2: here's Inconsolata in OpenBSD's xterm (with no adjustment), their metrics seem slightly better (10pt bold shown):

2018-02-06-084458_136x13_scrot.png

Last edited by Head_on_a_Stick (2018-02-06 08:52:22)

Offline

#28 2018-02-06 18:48:01

Martin
Member
From: Stockholm, Sweden
Registered: 2015-10-01
Posts: 799
Website

Re: Microsoft fonts — use them or lose them?

brontosaurusrex wrote:

Somewhat related and quite off-topic: http://www.thedenveregotist.com/news/na … m-migraine

/Martin


"Problems worthy of attack
prove their worth by hitting back."
Piet Hein

Offline

#29 2018-02-06 19:25:06

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,077
Website

Re: Microsoft fonts — use them or lose them?

I've been using Inconsolata for a while now and for 10pt I do think a -2 letterSpace is correct.

Comparison of terminator & urxvt (with -2 letterSpace):

2018-02-06-192248_1280x768_scrot.th.png

I would say that is very close and urxvt looks better spaced (and better rendered as well but that's off-topic).

EDIT: update:

2018-02-06-201322_1280x768_scrot.th.png

^ That's with -1 letterSpace, terminator seems to use that but I do still think -2 is best.

Last edited by Head_on_a_Stick (2018-02-06 20:15:10)

Offline

#30 2018-02-07 02:44:41

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,571
Website

Re: Microsoft fonts — use them or lose them?

^Prefer -2 as well. Pity it can only be applied to urxvt though.

(In fact, it would be so nice to be able to tweak the vertical spacing of fonts too. Some of them are just too high. It's easy with html+css using 'line-height'.)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#31 2018-02-10 03:22:01

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,897

Re: Microsoft fonts — use them or lose them?

Many websites look better with the MS fonts installed, as browsers will use the fonts if you have them installed. I even made use of the Win10 fonts by copying over the fonts folder from my Win10 partition into my home dir and updating the font cache.

Last edited by DeepDayze (2018-02-10 03:23:01)


Real Men Use Linux

Offline

#32 2018-02-10 10:37:15

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,744

Re: Microsoft fonts — use them or lose them?

With https://developer.mozilla.org/en-US/doc … 0font-face many of those pages will eventually probably update the logic behind their css. Not saying that is a solution for today.

Offline

#33 2018-02-10 15:57:40

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,077
Website

Re: Microsoft fonts — use them or lose them?

DeepDayze wrote:

Many websites look better with the MS fonts installed, as browsers will use the fonts if you have them installed.

Yes but that rather depends on the definition of "better" because without the MS fonts installed the websites will fall back to our chosen sans-serif font (Noto Sans) instead and thus harmonise the web fonts with the system fonts, which I much prefer.

Offline

#34 2018-02-11 02:29:28

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,571
Website

Re: Microsoft fonts — use them or lose them?

Head_on_a_Stick wrote:
DeepDayze wrote:

Many websites look better with the MS fonts installed, as browsers will use the fonts if you have them installed.

Yes but that rather depends on the definition of "better" because without the MS fonts installed the websites will fall back to our chosen sans-serif font (Noto Sans) instead and thus harmonise the web fonts with the system fonts, which I much prefer.

Me too. In fact, I disable webfonts right off and enforce my choice of font on all web pages.
Firefox Preferences>Content>Fonts&Colors>Advanced
Uncheck "Allow pages to choose their own fonts..." cool

Anyway, the fonts provided by ttf-mscorefonts-installer are pretty old and I wouldn't expect many web developers to be setting them by choice. As DeepDayze points out, if you've got a recent Windows install to hand it's easy to copy ttf files into Linux and get something newer.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#35 2018-02-17 10:47:43

thoro
Member
Registered: 2015-09-30
Posts: 38

Re: Microsoft fonts — use them or lose them?

I for my part always install the MS fonts. Not because I use it myself, but rather to stay "compatible" with those who still use Windows.

johnraff wrote:

Anyway, the fonts provided by ttf-mscorefonts-installer are pretty old and I wouldn't expect many web developers to be setting them by choice. As DeepDayze points out, if you've got a recent Windows install to hand it's easy to copy ttf files into Linux and get something newer.

Seems to me to be the smartest and best way.

Cheers!

Offline

Board footer

Powered by FluxBB