3 ms·
> There is something profoundly weird with text rendering in Firefox. Font rendering differs between OSes. Are you on Windows? That's the OS with the most Fire
by nyanpasu64 5y ago
> There is something profoundly weird with text rendering in Firefox.
Font rendering differs between OSes. Are you on Windows? That's the OS with the most Firefox font rendering options. On Windows Firefox, I generally clear the list of fonts rendered in GDI rendering mode. IIRC you can set font rendering mode 0 and disable enhanced contrast to match Chrome closer.
> Also if you have an input box in html with a size value set to the number of chars you need, that value will be always too short in Firefox
Ouch if true.
- moffkalast 5y agoAh yes, I never really bother to install Chrome on any of my linux machines, but my main one is still Windows and that's where I noticed it. Why should something like font rendering differ between OSes, that makes no sense. A browser should render the exact same image on all platforms. But then again I forget we don't live in a world where anything makes sense. > Ouch if true. Yeah see here: https://i.imgur.com/p6sALTq.png https://i.imgur.com/p6sALTq.png Input field, size specified as 6. Now that I'm looking at it again I suppose it's clear that Firefox ignores the arrow box width while making it visible all the time...? Not entirely font related but it's still rather atrocious.
- deleted 5y ago[deleted]
- genewitch 5y agoFirefox has other issues with stuff in input boxes, too. If a site puts a "show password" clickable in their password box, most password managers take a few clicks if not outright resorting to right clicking to fill the fields. But I'd rather be occasionally annoyed by "browser by committee" than use chrome, edge, or whatever.
- nyanpasu64 5y ago> Why should something like font rendering differ between OSes, that makes no sense. Because application font rendering (FreeType and GTK/Qt on Linux, GDI/DirectWrite on Windows, Core Text on Mac) differs between OSes, and browsers generally try to fit in with OSes and reuse native APIs, rather than roll their own font rendering and fail to respect OS-level font configuration settings. And even if every browser chose cross-platform font rendering, different browsers might pick different styles. Note that old versions of Safari on Windows interestingly did use Mac-like font rendering. ...but Windows Firefox has its own font configuration settings (GDI for Arial and Verdana, enhanced contrast) ignoring the corresponding OS settings... oops.