openstreetmap-website icon indicating copy to clipboard operation
openstreetmap-website copied to clipboard

Changeset comments show italics for non-Latin scripts

Open fqdb opened this issue 4 years ago • 4 comments

  1. There are not supposed to be italic Chinese characters, and probably the same goes for the majority of non-Latin scripts
  2. It's extremely difficult to read, especially because it breaks anti-aliasing in some browsers
  3. At least in my experience even the Latin italics are less legible than normal text, not sure why this was changed at all.

image

fqdb avatar Oct 01 '20 08:10 fqdb

Well you will find the history in #580 and #2838.

tomhughes avatar Oct 01 '20 09:10 tomhughes

Maybe the font-synthesis property [1] would help here? But it seems it's still a proposal only supported by FF and Safari, and could have the side-effect of disabling italics with some Latin fonts, too.

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/font-synthesis

schuetzm avatar Oct 05 '20 14:10 schuetzm

I really like font-synthesis. Here we have the relevent issue in chromium for missing support in Chrome, Edge, Vivaldi, Opera https://bugs.chromium.org/p/chromium/issues/detail?id=509989

HolgerJeromin avatar Oct 07 '20 09:10 HolgerJeromin

As a partial workaround, you can set a custom font for specific alphabets via Firefox's preferences and force websites to use it. You can't fine tune it to a specific website, but it's better than nothing and makes the text a lot more readable.

image

Dimitar5555 avatar Apr 09 '24 20:04 Dimitar5555

Italics replaced with larger font in #4813.

AntonKhorev avatar Jun 20 '24 18:06 AntonKhorev