Bug 50146

Summary: [Qt] 4 css2.1/t1202-counter tests fail with Qt >= 4.7.1
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: allan.jensen, cshu, joseph.wild, laszlo.gombos, ossy
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 46248, 79666    
Attachments:
Description Flags
Small test case that shows Georgian chars not displayed with QtTestBrowser -use-test-fonts
none
Qt 4.8 png diffs
none
Qt 5 png diffs none

Description Csaba Osztrogonác 2010-11-29 04:10:55 PST
css2.1/t1202-counter-09-b.html
css2.1/t1202-counter-15-b.html 
css2.1/t1202-counters-09-b.html 
css2.1/t1202-counters-15-b.html 

All of them fail with DRT, but pass with QtTestBrowser.
Comment 1 Joe Wild 2011-03-29 06:21:31 PDT
I'm wondering if these 2 errors are related and are caused by fonts.
I'll take a deeper look.

https://bugs.webkit.org/show_bug.cgi?id=50146
Bug 50146 - [Qt] 4 css2.1/t1202-counter tests fail with Qt 4.7.1 

And in this one the display of t1202-counter-09-b.html in the
QtTestBrowser looks correct.  But when I add -use-test-fonts the
display is empty.
  $ $B/QtTestBrowser LayoutTests/css2.1/t1202-counter-09-b.html 
  $ $B/QtTestBrowser -use-test-fonts LayoutTests/css2.1/t1202-counter-09-b.html 

https://bugs.webkit.org/show_bug.cgi?id=50147
Bug 50147 - [Qt] 4 fast/text tests fail with Qt 4.7.1 

When I display the format-control.html in the QtTestBrowser it looks correct,
But when I use the WebKit test fonts with the -use-test-fonts the zero width
chars are displayed as spaces.

  $ $B/QtTestBrowser LayoutTests/fast/text/format-control.html
  $ $B/QtTestBrowser -use-test-fonts LayoutTests/fast/text/format-control.html
Comment 2 Joe Wild 2011-03-31 13:28:12 PDT
Created attachment 87779 [details]
Small test case that shows Georgian chars not displayed with QtTestBrowser -use-test-fonts

This could still be a font issue.  I can reproduce with a small
HTML test case with just a few Georgian characters in
geo_counter01.html attached.

When I look at the fonts available with "QtTestBrowser
-use-test-fonts" for Georgian, I only see 5 available and none of them
are marked with the Georgian language code (ka). If I don't use
the -use-test-fonts option, there are about 50 fonts available and many 
with the Georgian language code (ka).
Comment 3 Joe Wild 2011-04-01 16:25:20 PDT
https://bugs.webkit.org/show_bug.cgi?id=50147
Bug 50147 - [Qt] 4 fast/text tests fail with Qt 4.7.1 

https://bugs.webkit.org/show_bug.cgi?id=50146
Bug 50146 - [Qt] 4 css2.1/t1202-counter tests fail with Qt 4.7.1 

I am not sure where to go next with these errors.  I think they are both
caused by the WebKit Test Fonts from 

   clone from git://gitorious.org/qtwebkit/testfonts.git

Full comment in Bug 50147.
Comment 4 Csaba Osztrogonác 2012-05-18 06:37:20 PDT
The bug is still valid on Qt 4.8 and Qt 5 too. I'll attach png diffs.
Comment 5 Csaba Osztrogonác 2012-05-18 06:39:48 PDT
Created attachment 142702 [details]
Qt 4.8 png diffs

click on review to see the diffs
Comment 6 Csaba Osztrogonác 2012-05-18 06:46:07 PDT
Created attachment 142704 [details]
Qt 5 png diffs