Closed a5hk closed 1 year ago
Thanks for the pull request @a5hk !
As this is a stylistic choice I wonder if we could get an opinion from @doomspork on this.
If we take GitHub and Google as an example, it's pretty common for the descender on a glyph like q, p, g, y, or g to go through the underline in a hyperlink.
Here are some examples from GitHub and Google:
As this is subjective, it's hard to say which option is "better", but I personally lean towards the current style.
Let me know what you think and again, thanks for the prs 🎉 !
As this is a stylistic choice I wonder if we could get an opinion from @doomspork on this.
Yes, that's right and now that I think of it I don't remember having any issues with underlines in English texts. But it seemed really weird to see the underline starting from the third/forth letter in that sample Persian text. At first I thought it might be a side effect being a right to left text. At the time it didn't cross my mind to review other popular websites. But now after checking some popular Persian websites, I noticed that underline is virtually used nowhere. They just use a different color.
it's pretty common for the descender on a glyph like q, p, g, y, or g to go through the underline in a hyperlink.
There are a few more of these in Persian/Arabic scripts: "ب Ù¾ ج Ú† Ø Ø® ر ز Ú˜ س Ø´ ص ض ع غ Ù‚ Ù„ Ù… Ù† Ùˆ ÛŒ"
As you can see there are also some letters the only differ in dots. The current style might create extra dots or make it harder to read words (I have no data to back it up). See this for example (it means: searching [a] linked list): There are letters with no underline and there are some short lines that might look like a dot. Or here (2X zoomed) (it means: Boolean): I thought my monitor needs some cleaning :)
My personal preference is to not use underline at all.
Added some spacing between link text and its underline decoration. Left side showing current style, right is the new style: