Skip to content
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

syntax highlighting problem for Bengali text #1887

Closed
safwanrahman opened this issue Mar 31, 2014 · 5 comments
Closed

syntax highlighting problem for Bengali text #1887

safwanrahman opened this issue Mar 31, 2014 · 5 comments

Comments

@safwanrahman
Copy link

Hi there,
For editing Knowledge Base article of Mozilla Support, your code editor is being used. For localizing the English article into other various languages, the same code editor is used. But recently it seems that, the ace Editor is not working properly for Bengali Language. For that reason, a bug has been submitted into the Bugzilla system(1). As this is the issue of Ace, it is not possible for the SuMo Developer to fix it.
Hoping that you will fix it as soon as possible.
a video can be found here to get details of the problem https://bug984138.bugzilla.mozilla.org/attachment.cgi?id=8391905

Regards
Safwan

  1. https://bugzilla.mozilla.org/show_bug.cgi?id=984138
@mythmon
Copy link

mythmon commented Mar 31, 2014

Hello. I'm a developer for SUMO (the site where this bug was found).

To give a summary of the video, the cursor position becomes wrong after Burmese text is typed. It seems to me that the calculated width of characters doesn't take into account combining characters that are used in Burmese, and so the selection and cursor position are shifted to the right.

If there is anything I can do on the site to help with this, please let me know.

@safwanrahman
Copy link
Author

Helllo,
first of all, should be informed that it is not about Burmese text. It is Bengali text. But, fact is many of our character is joint of 2 characters or much. like "কা" it is joint of 2 characters (ক+আ). so the code editor maybe regard this character as 2 characters and avail space for 2 characters. But it is fact that, this 2 characters needs space of about 1.25 character.
I think for this this problem is happening

@mythmon
Copy link

mythmon commented Mar 31, 2014

Ah, right, my mistake. I have another bug I'm tracking in SUMO with Burmese
text, so I got confused. This look like a very good test case, thanks for
the example.
On Mar 31, 2014 11:01 AM, "safwanrahman" notifications@github.com wrote:

Helllo,
first of all, should be informed that it is not about Burmese text. It is
Bengali text. But, fact is many of our character is joint of 2 characters
or much. like "কা" it is joint of 2 characters (ক+আ). so the code editor
maybe regard this character as 2 characters and avail space for 2
characters. But it is fact that, this 2 characters needs space of about
1.25 character.
I think for this this problem is happening


Reply to this email directly or view it on GitHubhttps://github.com//issues/1887#issuecomment-39120373
.

@yob
Copy link

yob commented Apr 15, 2014

This looks related to #1531 - the same issue occurs with latin characters followed by a combining accent.

Like U+0097 and U+0778 - å

@nightwing
Copy link
Member

merging this into #460

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants