New issue
Advanced search Search tips

Issue 677442 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Compat



Sign in to add a comment

Strange text mislocation when using this text -> ק๏к๏ק

Reported by manuelch...@gmail.com, Dec 29 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Example URL:

Steps to reproduce the problem:
Use this text ק๏к๏ק and put a number after it.

What is the expected behavior?
The number should go after the text.

What went wrong?
I don't know. Maybe it has something to do with how that font is used. Or it's just a bug.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? No
 Firefox 50.1.0

Chrome version: 55.0.2883.87  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 24.0 r0

I still don't know the font name.
 
chrome_2016-12-29_04-11-20.jpg
53.3 KB View Download
That's the text I used but it actually happens just with the last character ק
Cc: kkaluri@chromium.org
Labels: M-57 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on windows 10,Ubuntu 14.04 and Mac 10.12.2 using chrome stable M55-55.0.2883.87 
and earlier version of chrome M30-30.0.1549.0. This is a non-regression issue and marking it as untriaged.


Please look into the attached screencast.

Thank You...
Issue 677442.mp4
2.6 MB View Download
Thanks for the report ^  It does happen, but what we don't know yet is if it's by design or not, as firefox has that 'feature' too so maybe it's based on how that unicode subset (i said font before and that's wrong) is used. Still it seems weird in any case that text be jumping around by itself like that. Also something to note, ק3 becomes a single character, try moving the cursor with the arrow.
Components: Blink>Fonts

Comment 5 by e...@chromium.org, Feb 12 2018

Status: WontFix (was: Untriaged)
ק (HEBREW LETTER QOF) has strong right-to-left directionality and numbers have weak directionality. Thus the directionality of the ק character takes precedence rendering it before the text visually (as that is after the text logically in a right-to-left script).

This is per spec and working as intended.

You can override this behavior by inserting a LEFT-TO-RIGHT MARK, codepoint 0x200E. In HTML the easiest way to do this would be using the ‎ entity code.

Compare the rendering of the following:
ק‎7 
ק7 

Thanks for the report and hopefully the description above and suggested workaround is helpful.

Sign in to add a comment