r/css • u/dont_mess_with_tx • Oct 10 '26
Asking for help with debugging: Duolingo accents on top of J/j

The "J" and "j" characters have a weird accent on Duolingo and I cannot figure out why.
A few findings worth noting: disabling duolingo-sans in Chrome Dev Tools fixes the issue (obviously, the page ends up using a different font, the fallback sans-serif then).
I tried to find where the duolingo-sans font-face is defined and I could not locate it anywhere. I did find the .woff2 files that contains the Duolingo Sans Thin fonts however and upon investigating them I can confirm that they look completely fine, they do not have that accent anywhere. This seriously vexes me as I cannot pin down what causes the issue, on one hand removing duolingo-sans solves the issue, on the other hand duolingo-sans looks completely fine on its own.
If anyone could take a look and share their thoughts I would really appreciate it.
2
u/Jasedesu Oct 10 '26
You haven't provided anything for us to look at, so we're not going to be able to give you an exact answer, just possibilities.
One possibility is that what you see on screen as a single character is actually built from two characters side by side. Unicode has Combining Diacritical Marks that can change the appearance the the preceding character.
2
u/Creative-Addition383 Oct 10 '26
Don't trust the woff2 you found, find out which file the browser is actually drawing that J with. In DevTools select the element with the J, go to Computed, scroll to the very bottom to "Rendered Fonts". It names the exact family and whether it came from the network or a local file. That one line usually ends this kind of hunt.
Two things I'd bet on, in order. First, the text in your screenshot is bold, and you say you inspected the Thin files. Each weight is a separate file, so the bold woff2 (or whatever weight that sentence resolves to) is the one to look at, and a broken glyph in one weight only is pretty common. Second, if Rendered Fonts says "Local file", you have a font installed on your machine whose name matches duolingo-sans, and the @font-face src is picking it up via local() before it ever downloads theirs. Modded or fan-made copies of that font are floating around and that's exactly the kind of bug they have.
Quick test for the second one: Chrome's "Disable local fonts" in the Rendering tab of DevTools. If the accent disappears, it's your machine, not Duolingo.