-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Summation two cyrillic symbols. #129
Comments
For me, English characters doesn't work inside But it's actually a bug, you're right. |
The problem is occurring because even though the Cyrillic symbols are inside "\Text{}", they are considered as SystemFont instead of DefaultTexFont by RowAtom.cs. As a result, the function to GetFontMetrics() inside SystemFont.cs is never called. DefaultTexFont works for the first 256 characters but will fail for any character if a symbol is added afterwards. By adding a check inside RowAtom.cs for the Element.TextStyle, we actually can avoid the incorrect usage of DefaultTexFont for rendering the Cyrillic characters. PR at: #130 |
I am sorry, guys, my initial understanding of the problem was wrong. @TheOneAmir, your patch actually fixes the problem, thank you! |
Guys, please notify me if you want the fixed version to be released on NuGet. |
сб, 5 мая 2018 г. в 14:25, Friedrich von Never <notifications@github.com>:
Guys, please notify me if you want the fixed version to be released on
NuGet.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#129 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AgLo8jW_POeSmOpXiMD0GzkDvAYzdJ1yks5tvYwSgaJpZM4TW11l>
.
Доброго времени суток. Извиняюсь заранее, что на русском, мой английских не
сильно хорош, боюсь исказить мысль(думаю не сильно утруднит русский). Да, я
хотел бы внести изменения в версию NuGet. И хотел бы задать вопрос, надеюсь
на помощь мне в этом вопросе. Хотелось бы лучше освоить C# с помощью вашей
библиотеки и попробовать улучшить её, но не знаю с чего начать, не могли бы
подсказать с чего начать, потому что я теряюсь в таком большом по моим
меркам проекте.
|
Alright, got it. I'll prepare a NuGet release soon (in the next 48 hours). Regarding everything else I'll contact you by email. |
@TyupkinV WPF-Math 0.5.0 is live on NuGet. Thanks to all the contributors (issue reporters included)! Please report any additional issues. |
Hello, there was a problem with the application of arithmetic operations to \text {} with Cyrillic. The screenshots show the problem. If you put English characters in \text or or put into another operator
everything works fine. Use in WPF C# .NET 4.5.2
The text was updated successfully, but these errors were encountered: