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

Issue 764754 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Tofu on android for (some) monospaced Unicode subscripts

Reported by shreeva...@gmail.com, Sep 13 2017

Issue description

Example URL:
https://tex.stackexchange.com/a/391131/48

Steps to reproduce the problem:
1. Visit a page containing text like x₀x₁x₂x₃x₄x₅x₆x₇x₈x₉ in a monospace font, on Android Chrome.

For example the link above, or the following page:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
  </head>
  <body>
    <p>x₀x₁x₂x₃x₄x₅x₆x₇x₈x₉</p>
    <p><tt>x₀x₁x₂x₃x₄x₅x₆x₇x₈x₉</tt></p>
  </body>
</html>

hosted at https://shreevatsa.github.io/pages/public/test.html

What is the expected behavior?
All characters are displayed, using fonts available on the system.

What went wrong?
Some of the subscript characters are not rendered; they get replaced by boxes (tofu). (For the minimal example above  https://shreevatsa.github.io/pages/public/test.html it happens for all characters, but at https://tex.stackexchange.com/a/391131/48 which has more CSS etc., for some reason it happens only for 1 and 5... and later down the page, for 2 too.)

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 61.0.3163.81  Channel: n/a
OS Version: 7.0.0; SM-G920V Build/NRD90M
Flash Version: 

- Works fine in Firefox on Android
- Works fine in Chrome on desktop (Mac)
- The non-monospaced text works fine in Chrome on Android
 
Chrome.Android.1.png
62.1 KB View Download
Chrome.Android.2.png
428 KB View Download
Firefox.Android.1.png
76.0 KB View Download
Firefox.Android.2.png
369 KB View Download
Components: -Blink Blink>Fonts
Labels: Needs-triage-Mobile
Cc: msrchandra@chromium.org nyerramilli@chromium.org ligim...@chromium.org sandeepkumars@chromium.org
Labels: Triaged-Mobile
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue in Android. This seems to be a Non-Regression issue as same behavior is seen since M58.

Steps Followed
1. Launched Browser
2. Navigated to https://shreevatsa.github.io/pages/public/test.html
3. Observed the numbers are not displaying properly as per the Chrome screenshot in original comment.

Chrome versions tested
61.0.3163.81
63.0.3214.0

OS
Android 8.0.0, 7.1.2, 6.0.1

Android Devices
Pixel Build/OPR1 170623.027
One Plus2; ONE A2003 Build/MMB29M
Pixel XL

Note: Issue is not observed in desktop (Linux, Windows and Mac).

Thanks!!
Labels: M-63

Comment 5 by e...@chromium.org, Sep 15 2017

Components: -Blink>Fonts Mobile
Likely due to a lack of suitable fonts on Android.
Note that it is displayed fine in Firefox on Android. I imagine that Firefox and Chrome both have access to the same set of fonts.
Also, I find it hard to imagine that there may be a font that contains ₂ ₃ ₄ but not ₁ and ₅ nor that ₂ is displayed once but not again later (see the screenshot Chrome.Android.2.png attached in the original report).
Here's a better test file, hosted at https://shreevatsa.github.io/pages/public/test2.html:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
  </head>
  <body>
    <pre>
x₀₀ x₀₁ x₀₂ x₀₃ x₀₄ x₀₅ x₀₆ x₀₇ x₀₈ x₀₉
x₁₀ x₁₁ x₁₂ x₁₃ x₁₄ x₁₅ x₁₆ x₁₇ x₁₈ x₁₉
x₂₀ x₂₁ x₂₂ x₂₃ x₂₄ x₂₅ x₂₆ x₂₇ x₂₈ x₂₉
x₃₀ x₃₁ x₃₂ x₃₃ x₃₄ x₃₅ x₃₆ x₃₇ x₃₈ x₃₉
x₄₀ x₄₁ x₄₂ x₄₃ x₄₄ x₄₅ x₄₆ x₄₇ x₄₈ x₄₉
x₅₀ x₅₁ x₅₂ x₅₃ x₅₄ x₅₅ x₅₆ x₅₇ x₅₈ x₅₉
x₆₀ x₆₁ x₆₂ x₆₃ x₆₄ x₆₅ x₆₆ x₆₇ x₆₈ x₆₉
x₇₀ x₇₁ x₇₂ x₇₃ x₇₄ x₇₅ x₇₆ x₇₇ x₇₈ x₇₉
x₈₀ x₈₁ x₈₂ x₈₃ x₈₄ x₈₅ x₈₆ x₈₇ x₈₈ x₈₉
x₉₀ x₉₁ x₉₂ x₉₃ x₉₄ x₉₅ x₉₆ x₉₇ x₉₈ x₉₉
    </pre>
  </body>
</html>

Hosted at https://shreevatsa.github.io/pages/public/test2.html

The renderings on Android by Firefox and by Chrome are attached here. Note that in Chrome, subscript digits 2, 3, 4 are displayed, but only if not preceded by another subscript digit 0–1 or 5–9.
Test2.Android.Chrome.png
78.2 KB View Download
Test2.Android.Firefox.png
124 KB View Download
Please navigate to below link for log's and video--
go/chrome-androidlogs/764754

Thanks!!

Sign in to add a comment