Hi everyone, I run a small restaurant-focused website that shares Texas Roadhouse menu updates, coupons, and food reviews. Recently, I started noticing that the site’s layout and fonts look completely different when viewed on GNOME desktop environments (specifically Ubuntu 24.04 and Fedora 40 with GNOME 46). The strange thing is that the website looks perfectly fine on Windows and macOS browsers, but on GNOME, several UI elements are misaligned or even missing.
The biggest issue is with text rendering. The font weights appear inconsistent — bold headers sometimes render as regular, and certain custom web fonts fail to load altogether. I’m using Google Fonts (specifically “Inter” and “Roboto Slab”) linked through standard CSS imports. When I inspect the pages using GNOME Web (Epiphany) or even Firefox running under GNOME, I see repeated console warnings like:
downloadable font: rejected by sanitizer (font-family: “Inter”)
It seems like GNOME’s font rendering engine or sandboxing is blocking the font loading, but I’m not sure why this happens only on desktop systems using GNOME and not on mobile or Windows setups.
Another strange behavior is with hover effects and buttons. Some interactive elements that rely on CSS transitions or small bits of JavaScript don’t respond properly on GNOME Web. For example, the “View Menu” and “Order Now” buttons on my homepage occasionally freeze or lose their gradient background when clicked. It’s purely a frontend issue, but it’s making my site look broken for users on GNOME-based distributions.
I also tried testing my website inside a GNOME Boxes virtual machine to see if it was a hardware acceleration issue, and the layout bugs were still present. Disabling hardware acceleration didn’t help either. I even installed extra font packages on the system (fonts-inter, fonts-roboto) to rule out missing dependencies, but that didn’t fix the web rendering problems. It almost feels like Epiphany is applying a different rendering rule or font fallback mechanism compared to Chrome or Firefox on other platforms.
I’m currently using a standard responsive HTML/CSS setup, without any special frameworks — just pure CSS Grid and Flexbox. Could this be related to the GTK WebKit engine or CSS variable support in GNOME Web? I’ve also seen similar layout glitches when users switch from light to dark mode through GNOME settings — some sections invert incorrectly.
Has anyone else experienced this kind of CSS or font rendering inconsistency with GNOME desktop browsers? Should I be using a different font-loading method (like self-hosting instead of Google Fonts) or adjusting my CSS for better WebKit compatibility? Any suggestions would be a huge help — I’d love to make sure my restaurant website displays correctly for Linux users on GNOME too.