barlow icon indicating copy to clipboard operation
barlow copied to clipboard

Please add mono space style

Open joo opened this issue 6 years ago • 17 comments

if add mono space style, that's perfect!

joo avatar Jul 15 '18 02:07 joo

Hi @joo -- I would like to! I'll keep this open in case anyone wants to contribute as it may take me some time to get it.

jpt avatar Jul 15 '18 04:07 jpt

I would find this really useful too. Especially to have tabular numbers. Please and thank you :)

thatcort avatar Apr 17 '19 17:04 thatcort

Hi @jpt , I'm also interested in tabular numbers, and would be interested in helping make it happen. Would it be useful to have help on tabular numbers without being able to commit to a full mono style?

alturnwall avatar Nov 23 '19 13:11 alturnwall

@alturnwall I discovered that tabular numbers are available as long as you download and host the font files yourself. They don't seem to be available in the Google Fonts hosted files.

thatcort avatar Nov 23 '19 20:11 thatcort

@thatcort wow, thanks for the heads up, I had no idea this version was different than the Google fonts version. Thanks!

alturnwall avatar Nov 25 '19 17:11 alturnwall

~~It appears the Google Fonts version now has tabular numbers, too.~~* To any web devs not seeing numbers line up, make sure you declare font-variant-numeric: tabular-nums in your CSS.

https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric

(I just learned about this property myself for the first time when looking into this issue, so I figured others might find this tip useful too.)

*Edit: Never mind, my SCSS didn't rebuild so I thought it was using Google Fonts. After more testing, it looks like you do need to both self-host the latest official version and declare font-variant-numeric: tabular-nums.

rchanou avatar Mar 19 '20 21:03 rchanou

Using Barlow as the OSD font in IINA video player, makes timestamps/frame counts shift a lot. On the other hand, for static elements, such as subtitles, it's wonderful. So another vote for tabular numbers/mono style.

image

ghost avatar Apr 03 '20 15:04 ghost

Would it be useful to have help on tabular numbers without being able to commit to a full mono style?

I think it would be sufficient (I don't think anyone is using Barlow for code).

ghost avatar Apr 03 '20 15:04 ghost

The one place where I found it would have been useful was for vertically aligning dates in a dashboard app. Tabular numbers aligned most of the dates, but the three letter month names have varying width. I agree that it's likely not worth the effort of a full monospace style... unless you want to ;)

On Fri, Apr 3, 2020 at 11:15 AM dmz [email protected] wrote:

Would it be useful to have help on tabular numbers without being able to commit to a full mono style?

I think it would be sufficient (I don't think anyone is using Barlow for code).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jpt/barlow/issues/35#issuecomment-608498960, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADATOMWAEAE2IIX5V7J7MO3RKX4PXANCNFSM4FKALOQQ .

thatcort avatar Apr 04 '20 20:04 thatcort

it does for numerals only. there was an experimental mono version. it could be nice. looking into it.

jpt avatar Oct 19 '21 04:10 jpt

Here's another vote vor monospace numerals. We use Barlow for investment reports and it would look much cleaner if the numbers aligned properly.

ymyke avatar Jan 04 '22 13:01 ymyke

Hi @ymyke — monospace numerals are already available. You can track progress on the branch with the latest version of them in issue #39. This issue is an unrelated feature request for an entire monospaced font.

jpt avatar Jan 04 '22 15:01 jpt

Thanks, @jpt – so to get the monospace numerals in MS Office I can just install the tffs from the 1.5 tree and get them automatically? Can I make them work in Google Docs as well?

ymyke avatar Jan 04 '22 20:01 ymyke

No, for google docs you'll have to wait till build 1.5 is merged into the google fonts upstream. apologies for the wait, but it shouldn't be much longer.

jpt avatar Jan 04 '22 22:01 jpt

Thanks! Re MS Office: I installed the fonts from the 1.5 branch but the numerals still show up in non-monospace. Is there anything else I need to do to use the monospace numerals in MS Office (Word in this case)?

ymyke avatar Jan 05 '22 07:01 ymyke

In Word 2010ʼs Home tab (before Word 2010 not supported), click the Font Dialog Box Launcher, then click the Advanced tab, where you can select number forms (from https://www.typotheque.com/help/opentype_fonts/how_can_i_use_different_numerals_in_microsoft_word)

jpt avatar Jan 05 '22 07:01 jpt

That worked, thanks, and much appreciated. We love Barlow!

ymyke avatar Jan 05 '22 08:01 ymyke