Open Xiaoaihewei opened 4 years ago
Hello @Xiaoaihewei !
I do confirm this issue. I had created an issue in the jlatexmath-android repository which Markwon
uses to render LaTeX
I fixed it in my Pure Writer that is using this great Markwon and LaTeX, will send the PR later.
The root cause is the jlm_cmr10.ttf
font file contains a wrong symbol about the Ω
.
I am sorry, I have been busy recently, still can’t provide the PR, but I can provide the Reproducible method to determine the problem:
Download the ttf file to your local: https://github.com/noties/jlatexmath-android/blob/android/jlatexmath/src/main/assets/org/scilab/forge/jlatexmath/fonts/latin/jlm_cmr10.ttf
Open Baidu Font Editor website: http://fontstore.baidu.com/static/editor/index-en.html
3. Click Open and select the jlm_cmr10.ttf:
4. Click on the menu item as below to get a Preview for the ttf:
5. You will see the Omega symbol is invisible, yes, it's a bad symbol:
So, the solution is to replace the symbol and it will get fixed.
Thank you @drakeet for the information 🙌
The
\Omega
in LaTeX should be rendered asΩ
, but the result of Markwon is empty for it.->
(no
Ω
)I am not sure what is wrong, Markwon is great, hope this can be fixed.
Thank a lot for your great work!