Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is font-weight by hundreds when the only available values are multiples of 100?

Tags:

css

The question has bothered me for a while.

In CSS, the font-weight can only be a value that is a multiple of 100, from 100 to 900

Example : https://www.google.com/fonts#QuickUsePlace:quickUse/Family:Open+Sans

So why it is so? What is the origin that its reffered as 100, 200, 300... etc. instead of, for instance, 1,2,3, etc?

like image 253
Fredy31 Avatar asked Feb 29 '16 15:02

Fredy31


People also ask

What does the font weight values 100 to 700 refer to?

Meaning of relative weights Note that when using relative weights, only four font weights are considered — thin (100), normal (400), bold (700), and heavy (900).

How is font weight measured?

Measured by ratio of stem thickness to x-height, the minimum step for a noticeably bold weight is a factor around 1.5 times the normal stem/x-height. That is, if the normal weight stem is a unit of 1.0, then the bold is around 1.5 units.

What is the default value for font weight?

the default (aka "Regular") font weight is 400. the "bold" font weight is 700. the "light" font weight is 300.

What font weight does 400 mean?

font-weight: 400 is supposed to be equal to normal , while 700 is equal to bold . Finally there are the relative values bolder and lighter that make a bit of text one step bolder or lighter than the default weight (which in turn depends on the absolute font-weight value you defined).


1 Answers

Apparently it derives from the Linotype typeface classification system (Linotype). Where a 3-number system is used, first numeral describes font weight, second numeral describes font width, third numeral describes position.

There's an interesting article here on some of the history of specifying font weights in print.

like image 179
jim31415 Avatar answered Oct 12 '22 10:10

jim31415