CaTeX
CaTeX copied to clipboard
Wrong font for å, ä, ö (and other special characters)
Bug description
When using å, ä, ö or other special character in text mode it gets another font.
To Reproduce
CaTeX(r'\text{Möst of the text häve gôöd pårsing }')
Expected behavior
All letters should have the same font.
Screenshots
Hi 👋🏽 Thank you for opening your first issue with CaTeX ❤
You can expect triage from us soon 🙂 In the meantime, you can try to search for similar issues in our issue database.
Noticed that as well, thanks! 👍🏼
Noticed that as well, thanks! 👍🏼
please support UTF8 ,like latex's;
\usepackage[utf8]{inputenc}
i found the solution. download a font which you want with support your special characters (like roboto.ttf), rename it like this,for all (4) named "main" fonts; roboto-bold.ttf => KaTeX_Main-Bold.ttf go to .../flutter/.pub-cache/hosted/pub.dartlang.org/catex-0.0.1+6/lib/fonts
replace 4 named "main" fonts with your new fonts. thats so.
if the collaborator replace the main fonts with UTF8 support any font , so no need this.