# Cleaning up our font system

**URL:** https://meta.discourse.org/t/cleaning-up-our-font-system/75396
**Category:** UX
**Created:** [2017年十二月5日 03:29 UTC](https://meta.discourse.org/t/cleaning-up-our-font-system/75396 "2017-12-05T03:29:34Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2018年一月2日 21:56 UTC](https://meta.discourse.org/t/cleaning-up-our-font-system/75396/10 "2018-01-02T21:56:14Z")

</div>

Similarly to font-size we also have a large variety of line-height definitions, these are a mix of px, em, and unitless values.

It’s important to fix line-height here as well, because otherwise we’ll still have problems scaling font-size. For example, If you want to update a 14px (1em) font-size to 16px, and there’s a 14px line-height set, you now have a line-height that’s too small for your font-size.

That’s why it’s recommended that unitless line-height values are used, because your line-height will always be based on the font-size. With 14px font-size and line-height of 1, your line height will be 14px. Update the font-size to 16px and your line-height will be 16px. Unitless line-heights serve as multipliers of the font-size, not values.

---

_[View the full topic](https://meta.discourse.org/t/cleaning-up-our-font-system/75396)._
