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

Display issues of dead leading or trailing (unicode) characters #663

Open
spywhere opened this Issue Feb 4, 2015 · 14 comments

Comments

@spywhere

spywhere commented Feb 4, 2015

Some languages contain characters that floating above/below another character such as Thai. Currently, Sublime Text (both 2/3) have this issue as you can see here...

  • [http://sublimetext.userecho.com/topic/117587-thai-language-issue/](Thai language issue)
  • [https://www.sublimetext.com/forum/viewtopic.php?f=3&t=11166](Thai alphabet have problem in Sublime)
  • [https://www.sublimetext.com/forum/viewtopic.php?f=3&t=16314](Fail on thai font)
  • [http://www.sublimetext.com/forum/viewtopic.php?f=3&t=8108](support for other languages?)

The issue is Thai words should be display like this

screen shot 2558-02-04 at 09 26 11

Rather than this

screen shot 2558-02-04 at 09 25 52

Proper fixing this helps our eyes to work a lot easier.

PS. In case you want the sentences above for testing on your own copy. Here...

แล้วสอนว่าอย่าไว้ใจมนุษย์
มันแสนสุดลึกล้ำเหลือกำหนด
ถึงเถาวัลย์พันเกี่ยวที่เลี้ยวลด
ก็ไม่คดเหมือนหนึ่งในน้ำใจคน


แม้นใครรักรักมั่งชังชังตอบ
ให้รอบคอบคิดอ่านนะหลานหนา
รู้สิ่งไรไม่สู้รู้วิชา
รู้รักษาตัวรอดเป็นยอดดี
@FichteFoll

This comment has been minimized.

Show comment
Hide comment
@FichteFoll

FichteFoll Feb 4, 2015

Member

Screenshot on Win7 with Consolas font:

2015-02-04_03 47 46

Member

FichteFoll commented Feb 4, 2015

Screenshot on Win7 with Consolas font:

2015-02-04_03 47 46

@FichteFoll FichteFoll changed the title from Language issue to Display issues of dead leading or trailing (unicode) characters Feb 4, 2015

@megadr01d

This comment has been minimized.

Show comment
Hide comment
@megadr01d

megadr01d Jul 10, 2015

Just to confirm this issue on OS X 10.9.5, with more than one monspaced font. Using a non monospaced font like "Arial" or "Verdana" I get a correct result, the same result as @FichteFoll (but not with Consolas).

Pasting @spywhere's example in another text editor with same font as ST (DejaVu Sans Mono) outputs the correct result.

megadr01d commented Jul 10, 2015

Just to confirm this issue on OS X 10.9.5, with more than one monspaced font. Using a non monospaced font like "Arial" or "Verdana" I get a correct result, the same result as @FichteFoll (but not with Consolas).

Pasting @spywhere's example in another text editor with same font as ST (DejaVu Sans Mono) outputs the correct result.

@willbeaufoy

This comment has been minimized.

Show comment
Hide comment
@willbeaufoy

willbeaufoy Sep 25, 2015

I have the same issue on Sublime Text 3 build 3083 on Ubuntu 15.04.

In terminal and all other apps I've tried, I'm able to insert combining characters by typing a letter, then ctrl+shift+u to enter unicode entry mode, then the combining character code, (e.g. 0304 for overline), resulting in something like this: x̄.

However in sublime text, doing the same thing (using ctrl+alt+shift+u to enter unicode mode), leaves me with a dotted circle next to the character, with no way to remove this (if you delete the dotted circle the overline is also removed. However if you copy and paste the dotted circle and overline and paste it into the terminal it renders correctly. Also in ST the character itself seems the wrong size.

screenshot from 2015-09-24 17 44 34

This occurs in non monospaced fonts like Calibri and Verdana, and in monospaced ones like DejaVu Sans Mono.

willbeaufoy commented Sep 25, 2015

I have the same issue on Sublime Text 3 build 3083 on Ubuntu 15.04.

In terminal and all other apps I've tried, I'm able to insert combining characters by typing a letter, then ctrl+shift+u to enter unicode entry mode, then the combining character code, (e.g. 0304 for overline), resulting in something like this: x̄.

However in sublime text, doing the same thing (using ctrl+alt+shift+u to enter unicode mode), leaves me with a dotted circle next to the character, with no way to remove this (if you delete the dotted circle the overline is also removed. However if you copy and paste the dotted circle and overline and paste it into the terminal it renders correctly. Also in ST the character itself seems the wrong size.

screenshot from 2015-09-24 17 44 34

This occurs in non monospaced fonts like Calibri and Verdana, and in monospaced ones like DejaVu Sans Mono.

@titoBouzout

This comment has been minimized.

Show comment
Hide comment
@titoBouzout

titoBouzout Jan 30, 2016

Member

A word of jon on this issue from https://forum.sublimetext.com/t/dev-build-3098/16706/26?u=tito

Sublime Text < 3096 didn't support grapheme clusters at all, and 3096 introduced support for some Legacy Grapheme Clusters (i.e., base code point followed by 0 or more combining codepoints), but not support for Extended Grapheme Clusters. More details are at http://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries3

Member

titoBouzout commented Jan 30, 2016

A word of jon on this issue from https://forum.sublimetext.com/t/dev-build-3098/16706/26?u=tito

Sublime Text < 3096 didn't support grapheme clusters at all, and 3096 introduced support for some Legacy Grapheme Clusters (i.e., base code point followed by 0 or more combining codepoints), but not support for Extended Grapheme Clusters. More details are at http://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries3

@wbond

This comment has been minimized.

Show comment
Hide comment
@wbond

wbond May 6, 2016

Member

@willbeaufoy On OS X, I can confirm that build 3112 properly renders combing characters, per the example you gave.

Member

wbond commented May 6, 2016

@willbeaufoy On OS X, I can confirm that build 3112 properly renders combing characters, per the example you gave.

@tausiq

This comment has been minimized.

Show comment
Hide comment
@tausiq

tausiq May 23, 2016

The issue still persist. I can confirm for Stable channel build 3114 on OS X 10.11.5

Reference: https://forum.sublimetext.com/t/bangla-font-problem/15163

tausiq commented May 23, 2016

The issue still persist. I can confirm for Stable channel build 3114 on OS X 10.11.5

Reference: https://forum.sublimetext.com/t/bangla-font-problem/15163

@trodeth

This comment has been minimized.

Show comment
Hide comment
@trodeth

trodeth Jun 17, 2016

sublimetext
not work on Stable channel build 3114 on window 8

trodeth commented Jun 17, 2016

sublimetext
not work on Stable channel build 3114 on window 8

@mean-cj

This comment has been minimized.

Show comment
Hide comment
@mean-cj

mean-cj Feb 6, 2017

Atom editor can help!!!!
Sublime is not interest this problem.

mean-cj commented Feb 6, 2017

Atom editor can help!!!!
Sublime is not interest this problem.

@oldmankit

This comment has been minimized.

Show comment
Hide comment
@oldmankit

oldmankit Feb 6, 2017

Disappointing to see this issue still persists.

Windows 10, Sublime Text 3

oldmankit commented Feb 6, 2017

Disappointing to see this issue still persists.

Windows 10, Sublime Text 3

@jeffmcneill

This comment has been minimized.

Show comment
Hide comment
@jeffmcneill

jeffmcneill Oct 18, 2017

This issue/bug is over 4 years old (first mentioned in early 2013), and was the top-rated bug (everything with higher ratings was not a bug), at the userecho forums (those are no longer functional).

Atom editor has no problems. In fact nearly all other editors can support Indic fonts. The only other tool I'm aware of that cannot is the previewer in Dropbox (though the Office Cloud Editor can indeed support indic fonts).

jeffmcneill commented Oct 18, 2017

This issue/bug is over 4 years old (first mentioned in early 2013), and was the top-rated bug (everything with higher ratings was not a bug), at the userecho forums (those are no longer functional).

Atom editor has no problems. In fact nearly all other editors can support Indic fonts. The only other tool I'm aware of that cannot is the previewer in Dropbox (though the Office Cloud Editor can indeed support indic fonts).

@popapompom

This comment has been minimized.

Show comment
Hide comment
@popapompom

popapompom Nov 5, 2017

Could we at least get an update as to whether this will be addressed or not? If not, please just say and we can use another editor. However, if it will be fixed, please let us know a rough timeline.

popapompom commented Nov 5, 2017

Could we at least get an update as to whether this will be addressed or not? If not, please just say and we can use another editor. However, if it will be fixed, please let us know a rough timeline.

@chrisnorwood

This comment has been minimized.

Show comment
Hide comment
@chrisnorwood

chrisnorwood commented Jan 18, 2018

Anyone ??

@popapompom

This comment has been minimized.

Show comment
Hide comment
@popapompom

popapompom Jan 18, 2018

I've since moved to Atom and have had no issues.

popapompom commented Jan 18, 2018

I've since moved to Atom and have had no issues.

@gluons

This comment has been minimized.

Show comment
Hide comment
@gluons

gluons Jan 18, 2018

Moved to Atom or VSCode is better 😜

gluons commented Jan 18, 2018

Moved to Atom or VSCode is better 😜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment