Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

poiihy

macrumors 68020
Original poster
Aug 22, 2014
2,301
62
What narrow/condensed fonts does Microsoft Windows 7 and 10 have, and what's their exact "font family" name that can be used in CSS?

According to Wikipedia's List of typefaces included with Microsoft Windows, it has a font named "Abadi MT Condensed Light" which was included since Win98. This'll be good for me but I couldn't get it to work.
 

960design

macrumors 68040
Apr 17, 2012
3,796
1,677
Destin, FL
What narrow/condensed fonts does Microsoft Windows 7 and 10 have, and what's their exact "font family" name that can be used in CSS?

According to Wikipedia's List of typefaces included with Microsoft Windows, it has a font named "Abadi MT Condensed Light" which was included since Win98. This'll be good for me but I couldn't get it to work.

Helvetica, font-weight: 100, font-size:22px Is a common one I use.

Is there something wrong with importing the font into your CSS?
https://fonts.google.com/
 

poiihy

macrumors 68020
Original poster
Aug 22, 2014
2,301
62
Is there something wrong with importing the font into your CSS?
https://fonts.google.com/
I'll do that if Windows doesn't have a condensed font for me
I just need a narrow font, not thin
[doublepost=1492224270][/doublepost]
Is there something wrong with importing the font into your CSS?
https://fonts.google.com/
Also, about that, can I use @import in a linked stylesheet or does it have to be in the html head? I tried it already but it didn't seem to work… I'd rather @import next to the related code than add stuff to the head that isn't needed on most pages
 

poiihy

macrumors 68020
Original poster
Aug 22, 2014
2,301
62
It seems that Windows has nothing so I went ahead and embedded Open Sans Condensed for Windows & other users. I had to link the stylesheet in the html head; @import next to the related CSS code didn't work.
Mac users will see Avenir Next Condensed or Arial Narrow; MSW users & everyone else will see Open Sans Condensed.
If anyone's interested, I'm using condensed fonts for the timestamps in a chat to make them narrower. It looks better now :)

nYcDThT.png


I'm still wondering if Windows actually has this font "Abadi MT Condensed Light"; I couldn't find it in my virtual machines and it's not on Microsoft's list so is the Wikipedia page incorrect?
 

Kcetech1

macrumors 6502
Nov 24, 2016
258
120
Alberta Canada
I'm still wondering if Windows actually has this font "Abadi MT Condensed Light"; I couldn't find it in my virtual machines and it's not on Microsoft's list so is the Wikipedia page incorrect?

must be wrong, I checked my windows 7 workstation with office 2013 installed and there is no hint of it in either the fonts master folder or in Word.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.