# Font sizes are different in Firefox and Chrome

**URL:** https://meta.discourse.org/t/font-sizes-are-different-in-firefox-and-chrome/362606
**Category:** Support
**Created:** [April 19, 2025, 10:43am UTC](https://meta.discourse.org/t/font-sizes-are-different-in-firefox-and-chrome/362606 "2025-04-19T10:43:45Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [April 19, 2025, 1:15pm UTC](https://meta.discourse.org/t/font-sizes-are-different-in-firefox-and-chrome/362606/3 "2025-04-19T13:15:07Z")

</div>

Do you mean it’s bigger in Firefox?

If so, have you changed `layout.css.devPixelsPerPx` in the Firefox config?  
I tested, and at first glance, I could see the difference too:

 ![The image shows a Discord topic asking why fonts appear different in Firefox and Chrome, with a similar view being shown on two screens. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/7/a/4/7a445ce7d4c693f2802d54324b0975f82995da19.png)

Then, after debugging, I found out that the pixel ratio was set to 1.09 for some reason.

I don’t remember modifying it; that’s odd. To reset it:

- Type `about:config`

- Reset the config or set to 1

Now, it’s similar:

 ![The image shows side-by-side screenshots of a single chat post in a Slack and Discourse forum, highlighting the differences in UI layout and features. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/b/e/d/bedb5ef42256aee03da6fef4f5d54ce80fbabc30.png)

Is it your case as well?

---

_[View the full topic](https://meta.discourse.org/t/font-sizes-are-different-in-firefox-and-chrome/362606)._
