-
Notifications
You must be signed in to change notification settings - Fork 16
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
Support text-shaping #418
Comments
Hi! Go to In the future I'll try to simplify the process to easily download / get the required fonts. But for now this is enough. |
@SpartanJ it's somewhat rendering this time. The characters are rendering properly but their position and form is messed up.
I can't find an easy way to describe you the problem. One thing you need to know that in Bengali, we have symbols for vowels and characters sometimes change to a different shape/form depending on their position in a word. In this case the position of the symbols are not correct and the characters aren't changing their form/shape where they're supposed to. I've also tried using two different fonts and all of them have the same issue. |
Oh, sorry, I did not realise that Bengali required text-shaping (mentioned here). ![]() So in short: it's not fully supported, it's a work in progress, and there's plenty of work to be done. I'll use this issue to keep track of the progress (also will rename the issue to make it more general). I'd really like to have this working properly but it's a lot of work and honestly not easy nor fun either. Text shaping is a very CPU heavy operation and using it with the current implementation reduces the general text-rendering performance beyond the 50%, to avoid that it's required to do some heavy caching that goes against the current architecture (which is very straightforward and very very fast). |
@SpartanJ in the screenshot of your last comment, it is working properly. So I think you're there, I don't know how far. |
Cool, I just enabled this |
I've tried the nightly with text-shaper, it seems to work just fine. I am not noticing any problems. You also mentioned concern about CPU usage, which I found to be totally normal. |
I have some text written in Bengali in this
upcoming.md
file. In the screenshot that markdown file is opened with Ecode and Notepads. Both haveutf-8
selected as their encoder, but Ecode fails to render the text. Please fix it and let me know if there's more information you need.Thanks a lot for making such a great application.
The text was updated successfully, but these errors were encountered: