Page MenuHomePhabricator

Tamil fonts display on FF, not on Chrome (Ubuntu only)
Closed, InvalidPublic

Description

Chrome v FF display

I'm not sure if this is a MW problem and not a Chrome issue. If it is a Chrome issue, this should be closed so I can report it upstream.

Anyway, the attached screenshot shows how the same URL (http://ta.wikipedia.org/wiki/%E0%AE%B5%E0%AE%BF%E0%AE%95%E0%AF%8D%E0%AE%95%E0%AE%BF%E0%AE%AA%E0%AF%8D%E0%AE%AA%E0%AF%80%E0%AE%9F%E0%AE%BF%E0%AE%AF%E0%AE%BE:%E0%AE%AE%E0%AF%81%E0%AE%A4%E0%AE%B2%E0%AF%8D_%E0%AE%95%E0%AE%9F%E0%AF%8D%E0%AE%9F%E0%AF%81%E0%AE%B0%E0%AF%88) displays on Chrome and Firefox under Ubuntu. Following are version numbers from Ubuntu:

$ dpkg -l chromium-browser firefox
Desired=Unknown/Install/Remove/Purge/Hold

Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
/ Name Version Description

+++-==============================-==============================-============================================================================
ii chromium-browser 14.0.835.202~r103287-0ubuntu1 Chromium browser
ii firefox 7.0.1+build1+nobinonly-0ubuntu Safe and easy web browser from Mozilla


Version: 1.18.x
Severity: normal

Attached:

chrome_vs_FF.png (772×2 px, 495 KB)

Details

Reference
bz32343

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:00 AM
bzimport set Reference to bz32343.
bzimport added a subscriber: Unknown Object (MLST).

There don't appear to be any webfonts in use, so there won't be much in MediaWiki's control.

The letters that are showing as boxes in your screenshot are all bold text -- this probably indicates the browser's text rendering engine is not finding a bold font variant, and instead of simulating one by thickening the default font it shows boxes.

Chrome 15 on Mac OS X 10.7 shows them fine for me (though it's clearly not a "real" bold font, but a simulated one) so it's likely a lower-level issues on the Linux/Unix build and its font rendering.

WFM on:

  • OSX 10.7.2 / Chrome 15.0.874.120
  • Windows 7 "all language packs installed" / Chrome 15.0.874.120 m
  • Windows XP "clean install Dutch" / Chrome 15.0.874.106 m

I'm guessing it's an OS or browser thing.

Mark, it probably is an OS/browser thing - my wild guess is that the bold version of the font is not installed and the browser is not smart enough to use a regular one instead.

Can you please try the same text on a site with WebFonts? -
http://translatewiki.net/wiki/User:Amire80/Tamil_test

(Actually, it's possible that it won't work there either, because AFAIU the current version of WebFonts only has partial support for bold fonts.

I am able to reproduce on Kubuntu 11.04 with Chromium 12. (Mark is using Chromium 14.)

And, as i expected, it doesn't work with WebFonts either.

Can anyone test it with Chrome 15 on Linux?

Created attachment 9418
Screenshot in Chrome 15.0.874.106 on Ubuntu 11.10 x86_64

Chrome 15 on Ubuntu 11.10 doesn't seem to fare any better.

Attached:

Screenshot_at_2011-11-10_16:42:40.png (846×966 px, 205 KB)

Same with the WebFonts test url from comment 3.

Works on Chrome 17 on Fedora16: google-chrome-unstable-17.0.932.0-108826.x86_64

Also Chrome 15 on Fedora16: google-chrome-stable-15.0.874.120-108895.x86_64

(Both from the Google repository)

Chrome 15 on Ubuntu from the Google repository had the same problems as comment #5.

Filing a bug on launchpad: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/888859

Feel free to add anything you feel I've missed.

This bug is applicable for many complex scripts and reported around Jan 2011 , - http://code.google.com/p/chromium/issues/detail?id=32109 - Font selected for complex scripts loses selected font attributes, sometimes making text (Italic, bold) render as empty boxes

Isn't really invalid, but is upstream