Open
Bug 617869
Opened 14 years ago
Updated 2 years ago
first-letter/617869-1.html reftest fails due to inconsistent baseline of font-size:200% first-letter
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
NEW
People
(Reporter: karlt, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(2 files, 3 obsolete files)
2.99 KB,
patch
|
Details | Diff | Splinter Review | |
8.21 KB,
text/plain
|
Details |
+++ This bug was initially created as a clone of Bug #553981 +++ Changes to gfxPlatform::SetupClusterBoundaries in bug 553981 fixed layout/reftests/first-letter/329069-2.html with CoreText but not with Uniscribe (same issue as Bug 615445, I assume) or DWrite.
Reporter | ||
Comment 1•14 years ago
|
||
Windows Server 2003 doesn't have font support, but that's not really an excuse for getting the clusters wrong.
Reporter | ||
Comment 2•14 years ago
|
||
The failure with DWrite shaping is just a baseline position difference and so not related to shaping/fonts but first-letter implementation. Add lang="ko" (to improve font-selection) and an additional (not-first-letter) character does not correct the difference.
Reporter | ||
Comment 3•14 years ago
|
||
The baseline difference is not there when font-size:200% is removed.
Summary: first-letter still splits up Hangul Jamo sequences → first-letter/329069-2.html reftest fails due to inconsistent baseline of font-size:200% first-letter
Reporter | ||
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
(In reply to comment #1) > Created attachment 496466 [details] > WINNT 5.2 reftest failure > > Windows Server 2003 doesn't have font support, but that's not really an excuse > for getting the clusters wrong. The patch in bug 615445 (attachment 496786 [details] [diff] [review]) should fix the cluster issue on Win2k3/XP. (It doesn't address the baseline discrepancy, though, so the test with font-size will still fail.)
OS: Windows 7 → Windows XP
I'm getting a ton of crashes from this checkin: bp-2c5545a5-b271-4329-b41c-782f92101210 bp-b3f5708e-a1d4-469e-bf6c-250a42101210 bp-4a21b3a2-cb00-49cf-8794-7e2cf2101210 bp-80ae45d6-85e5-479c-9022-105a02101210 The regression range points right at this bug: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=9ab76fbcb6d7&tochange=11e328a49e0a Linux x86_64 systems only as far as i can see
Reporter | ||
Comment 8•14 years ago
|
||
(In reply to comment #1) > Windows Server 2003 doesn't have font support, but that's not really an excuse > for getting the clusters wrong. I think CompressedGlyph::SetMissing should not be overwriting FLAG_NOT_CLUSTER_START: http://hg.mozilla.org/mozilla-central/annotate/61361e67bfc4/gfx/thebes/gfxFont.h#l1786
Reporter | ||
Comment 9•14 years ago
|
||
> I think CompressedGlyph::SetMissing should not be overwriting > FLAG_NOT_CLUSTER_START: Spun off into Bug 618870.
Reporter | ||
Comment 10•14 years ago
|
||
Separated the font-size test, so we have a passing Hangul Jamo test on WINNT 6.1. http://hg.mozilla.org/mozilla-central/rev/bac79600ed97
Reporter | ||
Updated•14 years ago
|
Summary: first-letter/329069-2.html reftest fails due to inconsistent baseline of font-size:200% first-letter → first-letter/617869-1.html reftest fails due to inconsistent baseline of font-size:200% first-letter
Reporter | ||
Comment 11•14 years ago
|
||
Failures are similar on WINNT 5.2 and Mac, suggesting this might be a layout bug and perhaps Linux/FreeType is just getting lucky.
Attachment #496466 -
Attachment is obsolete: true
Attachment #496556 -
Attachment is obsolete: true
Reporter | ||
Updated•14 years ago
|
OS: Windows XP → All
Reporter | ||
Updated•14 years ago
|
Attachment #496886 -
Attachment is obsolete: true
Comment 12•6 years ago
|
||
Test is: https://dxr.mozilla.org/mozilla-central/source/layout/reftests/first-letter/617869-1.html and then click the Raw link in the righthand side column Reference file is: https://dxr.mozilla.org/mozilla-central/source/layout/reftests/first-letter/617869-1-ref.html and then click the Raw link in the righthand side column When I try such test with Firefox 52.8.0 ESR (under Linux Debian 9.4, 64-bit), I get exactly the reference file. WORKSFORME
Keywords: testcase
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•