typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.54k stars 56 forks source link

underdot characters wrongly displayed in Github theme #4256

Open wujastyk opened 3 years ago

wujastyk commented 3 years ago

I'm using 0.9.98 (beta) on Linux Mint + Cinnamon. I'm using the Github theme. The problem is specific to this theme, afaik, at least amongst the standard distro themes. Other standard themes are fine

Most unicode accented latin chars that I've tried are fine. But there's something wrong with the display of the underdot chars used, for example, in IAST encoding for Indian languages: ṇ ṣ ṭ ḥ ṃ

If you cut-n-paste the above chars into Typora, you'll see how the underdot goes too far to the right, more or less under the next character.

Thanks for an amazing editor! I use it more and more every week

abnerlee commented 3 years ago

Copy from which app to Typora?

Will copy into Chrome also have such issue?

wujastyk commented 3 years ago

No, it's fine pasting into the Chrome browser:

image

Display is also fine in Firefox and LibreOffice.

image

It's also fine in the Firefox browser looking at Github itself:

Screenshot from 2021-03-23 10-43-53 image

It's just Typora, and the Github theme.

image

wujastyk commented 3 years ago

Copying from any app on my system or even the terminal command line. I can type this string ṣṭḥṃḍ anywhere and it's fine. But when I type or paste it in Typora, the underdots are displaced

abnerlee commented 3 years ago

How about other themes like "night"?

And If you export the file from typora (github theme) into html file, then open it with chrome, does the bug occurs?

wujastyk commented 3 years ago

Other themes all give the correct accent positioning. Here's night:

image

Did Github theme - export to HTML - display in Chrome, as you suggested, and the accents look fine in Chrome:

image