New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 798403 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Dec 13
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Float:right plus overflow:hidden truncates arabic glyph

Project Member Reported by drott@chromium.org, Jan 2 2018

Issue description

Chrome Version: (copy from chrome://version)
OS: (e.g. Win7, OSX 10.9.5, etc...)

What steps will reproduce the problem?
(1) Open: data:text/html,<meta charset="utf-8"><div style="font-size:32px;float:right; overflow:hidden">%D9%82%D9%8A%D9%85%D8%A9</div>
(2) Beginning / visually right hand side of the Arabic text.

What is the expected result?
ق rendered correctly.

What happens instead?
Right hand side of ق gets truncated.

Same behavior in FF.

Happens when Arabic text is rendered using Times New Roman. When using Noto Naskh Arabic the issue does not occur.

I suspect it's a font metrics issue with Times. 

Koji, what do you think?


 

Comment 1 by drott@chromium.org, Jan 2 2018

b/65091127

Comment 2 by kojii@chromium.org, Jan 4 2018

Isn't this by design? Seems to occur on Firefox, or Chrome on Windows too, and without float. When glyph overhangs, and if author sets overflow:hidden, the overflowing parts of glyphs should be clipped.

Status: Fixed (was: Available)
No longer reproduces.

Sign in to add a comment