typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

Math block / inline math very blurry

Open fengyuli-dev opened this issue 2 years ago • 1 comments

  • [x] Searched existing issues to avoid creating duplicates.

  • [x] Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • [x] Searched http://support.typora.io/


Describe the bug Inline math and math blocks are very very blurry.

To Reproduce I tried reinstall. Just download typora and type some math.

Screenshots / Screencasts image image

Sample Markdown File

Desktop (please complete the following information):

  • OS: MacOS Ventura

Typora Version e.g: 1.4.4

Additional context

fengyuli-dev avatar Sep 21 '22 22:09 fengyuli-dev

Do you use default theme without any custom CSS ? Does reboot macOs fix this? Could you provide the sample md file?

abnerlee avatar Sep 23 '22 04:09 abnerlee

Screenshot 2022-10-20 at 11 09 34 PM

I have the same issue. I believe this is macOS's problem. I tried another MD editor, and the problem was solved by changing the math rendering from SVG to CHTML.

Desktop: OS: macOS Ventura

Typora Version: 1.4.4 and 1.3.7

Laplaceeee avatar Oct 21 '22 03:10 Laplaceeee

I have the same issue, too. When using the macOS Monterey, the Math block / inline math shows up perfectly. After pushing macOS Ventura today, the display became very blurry. But after exporting to pdf, the formula in pdf is displayed normally. I also tried rebooting the computer and changing the version, but it didn't work. Guessing it's probably due to system adaptation.

Desktop: OS: macOS Ventura

Typora Version: Stable Releases: 1.4.4 and 1.3.7 Dev Releases: 1.4.1 Test for Math.md

test

WonderLandxD avatar Oct 25 '22 10:10 WonderLandxD

Any progress?

yzy1996 avatar Oct 25 '22 12:10 yzy1996

I found a temporary solution. The key of this problem is in the below path.

/Applications/Typora.app/Contents/Resources/TypeMark/lib/MathJax3/es5/tex-svg-full.js

I replaced all jax="SVG" with jax="CHTML" in this file and then re-run Typora. Thanks for your insight! @Laplaceeee

otzslayer avatar Oct 26 '22 08:10 otzslayer

It works! Thanks for your solution! @otzslayer @Laplaceeee

WonderLandxD avatar Oct 26 '22 08:10 WonderLandxD

I found a temporary solution. The key of this problem is in the below path.

/Applications/Typora.app/Contents/Resources/TypeMark/lib/MathJax3/es5/tex-svg-full.js

I replaced all jax="SVG" with jax="CHTML" in this file and then re-run Typora. Thanks for your insight! @Laplaceeee

Thank you! I have bothered by this a day long. It works!

LiangLee17 avatar Oct 26 '22 10:10 LiangLee17

fixed in v1.4.8

abnerlee avatar Oct 26 '22 12:10 abnerlee