jxnblk / blog

Personal blog on design & development
https://jxnblk.com/
147 stars 28 forks source link

Mathematical Web Typography #31

Open sjakobi opened 8 years ago

sjakobi commented 8 years ago

In many stylesheets I see line-heights that are calculated as a quotient of the target line-height and the font size. This sometimes leads to irrational, magic numbers that need to be rounded and can cause unforeseen and unintended consequences.

The quotient of two natural numbers is always rational.

jxnblk commented 8 years ago

Thanks! Yeah, I meant to edit that word out, since I didn't mean rational numbers but rather numbers that don't make any sense.