Closed Bug 514008 Opened 12 years ago Closed 10 years ago

Reftest for Persian text (zwnj-01.xhtml) fails on WinCE tegra device


(Core :: Layout: Text and Fonts, defect)

1.9.2 Branch
Windows CE
Not set





(Reporter: jgriffin, Unassigned)




(1 file)

A reftest for Persian text, layout/reftests/text/zwnj-01.xhtml, fails on the tegra WinCE device.  The log output is:

Starting Test
Start Current URI in state: 1
DEBUG OnDocumentLoad is called
Document Loaded with URL:
Start Current URI in state: 2
DEBUG OnDocumentLoad is called
Document Loaded with URL:
REFTEST FAIL, suppressing image
REFTEST number of differing pixels: 2196

The REFTEST IMAGE data which is normally available for failed reftests, for use
in the reftest analyzer, is not available for tests run on the tegra device.
Could this be an issue where we are not able to display the character set?  Maybe we can add a font or language pack to the device?  I know on Maemo we have had to install certain fonts for the bidi reftests.
Whiteboard: [nv]
New reftest log which includes reftest analyzer image data.  This log was saved
from a run on the following build of the tegra:

Mozilla/5.0 (Windows; U; WindowsCE 6.0; en-US; rv:1.9.2a2pre) Gecko/20090902
This looks like it's simply the lack of any font that supports the characters used in the test; they're all (including the ZWNJ) appearing as grey boxes, which is presumably the device's "missing glyph".

At a minimum, for the test to pass you'll need a font that supports ZWNJ (as a blank, zero-width glyph); then it wouldn't appear as an extra grey box in the reftest. Preferably, of course, you should have a font that supports Persian characters, though I suspect you wouldn't get usable rendering of them due to lack of script shaping support.
I expect you'll see a similar failure in the newly added test 534919-1, which includes ZWNJ characters.
WinCE/Windows Mobile support has been removed from the main build system, Spidermonkey, mobile installer, in-app updater and so on (see bug 614720, bug 554087 and all their dependants). Until such point where MS decide to release a Windows Phone 7 NDK and the decision is made to port to that platform, this is WONTFIX.

Filter bugmail on WinCEMassWONTFIX.
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.