logoalt Hacker News

tankenmatetoday at 12:22 AM2 repliesview on HN

Hmm I use Firefox and the rendering I see in Firefox looks nothing like the render the author gets in Firefox; in fact the text rendering I get looks very similar to the "Chrome" rendering. Obviously this must depend on the libraries linked during the build process.


Replies

Denvercoder9today at 12:43 AM

The article is from 2019, things might also simply have changed since then.

kgtoday at 12:40 AM

Depending on your OS Firefox will select from multiple rendering backends based on your GPU, driver etc.

On Windows it may or may not be using DirectWrite for text rasterization as a general thing, and in some cases text might be rasterized using a different fallback path if DirectWrite can't handle the font, I think.

IIRC this was/is true for Chrome as well, where in some cases it software rasterizes text using Skia instead of calling through to the OS's font implementation.

show 1 reply