Issue 428299 in chromium: Sinhala font rendering incorrectly on latest version of Chrome - Using Mac

32 views
Skip to first unread message

chro...@googlecode.com

unread,
Oct 29, 2014, 8:54:47 AM10/29/14
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: OS-Mac Pri-2 Type-Bug

New issue 428299 by pjlee1...@hotmail.co.uk: Sinhala font rendering
incorrectly on latest version of Chrome - Using Mac
https://code.google.com/p/chromium/issues/detail?id=428299

Chrome Version : Version 38.0.2125.111
URLs (if applicable) :
OS version : Version 10.6.8, Version 10.9.5, Version 10.10
Behavior in Safari 3.x/4.x : Renders correctly
Behavior in Firefox 3.x : Renders correctly
Behavior in Chrome for Windows : Renders correctly

What steps will reproduce the problem?
1. Go to www.bbc.co.uk/sinhala
2. Font renders with certain characters as squares

What is the expected result?
Font renders correctly

What happens instead?
Font renders incorrectly

Additional information:
When on the latest version of Chrome certain characters within our font
fail to render. Having tried this on multiple Mac's using various OS
versions it seems that the font works correctly on the latest version of
Chrome when using Mac OS Version 10.7.5. Also testing this I found that a
Mac running OS Version 10.9.5 and an older version of Chrome (I can't
confirm which version as I didn't not but believe it was a 37 Version) the
font rendered correctly and then when I updated to the newer Version of
Chrome the font rendered incorrectly.

Please see the attachments, I've compared to firefox as it has correctly
rendered the font. Also there is a screenshot from a wikipedia showing some
characters of the font rendering with odd circles before the character, the
circles not meant to be part of the font. These seems to be the same
characters that render as squares at www.bbc.co.uk/sinhala.

Attachments:
Broken font example - Sinhala.png 425 KB
Sinhala font broken.png 1.5 MB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Oct 29, 2014, 9:14:47 AM10/29/14
to chromi...@chromium.org

Comment #1 on issue 428299 by pjlee1...@hotmail.co.uk: Sinhala font
rendering incorrectly on latest version of Chrome - Using Mac
https://code.google.com/p/chromium/issues/detail?id=428299

Also another attachment showing latest version of Chrome on Mac not
working, on Windows working and finally on Mac working but only on Mac OS
Version 10.7.5

Attachments:
Broken render | Windows | Mac OS V 10.7.5.png 809 KB

chro...@googlecode.com

unread,
Oct 29, 2014, 2:46:05 PM10/29/14
to chromi...@chromium.org

Comment #3 on issue 428299 by pjlee1...@hotmail.co.uk: Sinhala font
rendering incorrectly on latest version of Chrome - Using Mac
https://code.google.com/p/chromium/issues/detail?id=428299

The squares shown above were being caused due to some code manipulation
performed by a .js file, which edited the font before it got to the browser
renderer. Strangely this .js fixes the following issue in Safari but causes
the squares in Chrome and Opera.

After further digging I have found that the font iskoola pota or
iskpota.ttf and iskoola pota bold or iskpotab.ttf are incorrectly rendering
in Chrome, Safari and Opera but are working correctly in Firefox. It seems
one, possibly more, of the ligatures are incorrectly rendering. The
attachment shows how the first character in the sentence "කොස්ලන්දේ නාය" is
being rendered as the second character, as you can see in the wikipedia
attachment this ligature is meant to be appended in front of the letter it
follows, however it is being rendered after the letter it follows. An
English example of this would be the word "hello" being rendered as "ehllo"

Attachments:
Text incorrectly rendered.png 318 KB

chro...@googlecode.com

unread,
Oct 30, 2014, 7:35:30 AM10/30/14
to chromi...@chromium.org

Comment #4 on issue 428299 by pjlee1...@hotmail.co.uk: Sinhala font
rendering incorrectly on latest version of Chrome - Using Mac
https://code.google.com/p/chromium/issues/detail?id=428299

To re-create this issue use the html attached and you can see the font
rendering incorrectly, if you comment out the font-family you'll see the
text rendering correctly.

Attachments:
Test Ligatures.html 609 KB

chro...@googlecode.com

unread,
Nov 3, 2014, 4:29:07 AM11/3/14
to chromi...@chromium.org
Updates:
Status: Assigned
Owner: e...@chromium.org
Cc: a...@chromium.org
Labels: -Pri-2 -Type-Bug Pri-1 Type-Bug-Regression M-39 ReleaseBlock-Stable

Comment #5 on issue 428299 by a...@chromium.org: Sinhala font rendering
incorrectly on latest version of Chrome - Using Mac
https://code.google.com/p/chromium/issues/detail?id=428299

Able to repro this on latest canary:40.0.2208.0 & stable:38.0.2125.111 on
Mac 10.9.5,works fine on same chrome version of Windows and Linux.

This regressed in M-38:
CL:http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog.html?url=/trunk/src&range=282265%3A282292

BLINK CL: Getting RuntimeError: We don't have enough builds to bisect.
revlist: [] while bisecting.

On manually looking into the Blink CL:r177780 looks related, marking this
as RBS for M-39.

@eae:Could you please confirm.

chro...@googlecode.com

unread,
Nov 3, 2014, 11:21:03 AM11/3/14
to chromi...@chromium.org
Updates:
Owner: a...@chromium.org

Comment #6 on issue 428299 by e...@chromium.org: Sinhala font rendering
incorrectly on latest version of Chrome - Using Mac
https://code.google.com/p/chromium/issues/detail?id=428299

177780 is a test only change that has no effect on rendering.

chro...@googlecode.com

unread,
Nov 3, 2014, 5:19:06 PM11/3/14
to chromi...@chromium.org
Updates:
Owner: wangx...@chromium.org

Comment #7 on issue 428299 by a...@chromium.org: Sinhala font rendering
incorrectly on latest version of Chrome - Using Mac
https://code.google.com/p/chromium/issues/detail?id=428299

Thanks @eae for the confirmation.

On another look wangxianzhu@:Could r177783,
http://src.chromium.org/viewvc/blink?revision=177783&view=revision from
blink be related rendering change.Feel free to reassign if not.

chro...@googlecode.com

unread,
Nov 3, 2014, 5:45:25 PM11/3/14
to chromi...@chromium.org
Updates:
Status: Untriaged
Owner: ---
Cc: e...@chromium.org beh...@chromium.org dominik....@intel.com
ba...@chromium.org

Comment #8 on issue 428299 by wangx...@chromium.org: Sinhala font
rendering incorrectly on latest version of Chrome - Using Mac
https://code.google.com/p/chromium/issues/detail?id=428299

My change is a pure refactoring affects no functionality especially fonts.

Seems related to complex text rendering.

chro...@googlecode.com

unread,
Nov 3, 2014, 5:46:26 PM11/3/14
to chromi...@chromium.org
Updates:
Cc: wangx...@chromium.org

Comment #9 on issue 428299 by wangx...@chromium.org: Sinhala font
rendering incorrectly on latest version of Chrome - Using Mac
https://code.google.com/p/chromium/issues/detail?id=428299

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Nov 11, 2014, 12:47:10 AM11/11/14
to chromi...@chromium.org
Updates:
Owner: e...@chromium.org

Comment #13 on issue 428299 by p...@chromium.org: Sinhala font rendering
incorrectly on latest version of Chrome - Using Mac
https://code.google.com/p/chromium/issues/detail?id=428299

I apologize for the slow delay. This isn't
http://src.chromium.org/viewvc/blink?revision=177785&view=revision as these
fonts are not SVG fonts.

This appears to be fixed in Chrome 40.0.2209.0 based on the testcase in
https://code.google.com/p/chromium/issues/detail?id=428299#c4.

@eae, should we punt this as fixed or should we bisect to find the change
that caused it?

chro...@googlecode.com

unread,
Nov 11, 2014, 1:43:03 PM11/11/14
to chromi...@chromium.org

Comment #14 on issue 428299 by beh...@google.com: Sinhala font rendering
incorrectly on latest version of Chrome - Using Mac
https://code.google.com/p/chromium/issues/detail?id=428299

We know it was fixed by the move from CoreText shaper to HarfBuzz shaper.
Go ahead and mark fixed please.
Reply all
Reply to author
Forward
0 new messages