Closed
Bug 758980
Opened 12 years ago
Closed 12 years ago
Certain font disappears when page scroll down and resize width
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: alice0775, Assigned: bas.schouten)
References
Details
(Keywords: regression)
Attachments
(4 files, 2 obsolete files)
58.33 KB,
text/html
|
Details | |
58.25 KB,
text/html
|
Details | |
3.62 MB,
application/x-font-ttf
|
Details | |
1.10 KB,
patch
|
jrmuizel
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Build Identifier: http://hg.mozilla.org/mozilla-central/rev/133aa3a2ef0a Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120527030515 Font disappears when page scroll down and resize width Steps to reproduce: 1. Install font JSGOTHIC.TTC 2. Open index.html 3. Scroll down and resize window width if necessary Actual results: Font disappears Expected results: Should not Regression window(m-c) Good: http://hg.mozilla.org/mozilla-central/rev/36e938e51481 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120523030525 Bad: http://hg.mozilla.org/mozilla-central/rev/aa2b52bd0374 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=36e938e51481&tochange=aa2b52bd0374 Regression window(m-i) Good: http://hg.mozilla.org/integration/mozilla-inbound/rev/bbb12d0bcf49 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120521220651 Bad: http://hg.mozilla.org/integration/mozilla-inbound/rev/abbf642df562 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120521222950 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=bbb12d0bcf49&tochange=abbf642df562 Triggered by: abbf642df562 Bas Schouten — Bug 715768: Enable Azure-Thebes wrapper by default for D2D. r=jrmuizel Setting gfx.content.azure.enabled to false helps
Reporter | ||
Updated•12 years ago
|
tracking-firefox15:
--- → ?
Reporter | ||
Comment 1•12 years ago
|
||
Graphics Adapter Description : ATI Radeon HD 4300/4500 Series Vendor ID : 0x1002 Device ID : 0x954f Adapter RAM : 512 Adapter Drivers : aticfx64 aticfx64 aticfx32 aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64 Driver Version : 8.961.0.0 Driver Date : 4-5-2012 Direct2D Enabled : true DirectWrite Enabled : true (6.1.7601.17789) ClearType Parameters : Gamma: 2200 Pixel Structure: RGB ClearType Level: 50 Enhanced Contrast: 200 WebGL Renderer : Google Inc. -- ANGLE (ATI Radeon HD 4300/4500 Series) -- OpenGL ES 2.0 (ANGLE 1.0.0.1041) GPU Accelerated Windows : 1/1 Direct3D 10 AzureBackend : direct2d
Reporter | ||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
Attachment #627578 -
Attachment is obsolete: true
Attachment #627579 -
Attachment is obsolete: true
Reporter | ||
Comment 4•12 years ago
|
||
Reporter | ||
Comment 5•12 years ago
|
||
Screen capture: http://youtu.be/BQ8eW6YQrF8
Reporter | ||
Comment 6•12 years ago
|
||
And also setting gfx.font_rendering.cleartype_params.rendering_mode to 5 helps
Updated•12 years ago
|
Assignee | ||
Comment 7•12 years ago
|
||
Pardon my ignorance, but where do I find jsgothic.ttc? :)
Reporter | ||
Comment 8•12 years ago
|
||
Reporter | ||
Updated•12 years ago
|
Attachment #629647 -
Attachment mime type: text/plain → application/x-font-ttf
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → bas.schouten
Status: NEW → ASSIGNED
Assignee | ||
Comment 9•12 years ago
|
||
This fixes the issue, this falls back to traditional rendering when DirectWrite is returning empty bounds for the alpha texture, which seems to be indicative of this problem.
Assignee | ||
Updated•12 years ago
|
Attachment #629680 -
Flags: review?(jmuizelaar)
Comment 10•12 years ago
|
||
John, Bas, is there any chance we can get a reduced test case of what ever this font is doing?
Comment 11•12 years ago
|
||
(In reply to Bas Schouten (:bas) from comment #9) > Created attachment 629680 [details] [diff] [review] > Assume directwrite is buggy when it returns empty alpha texture bounds. > > This fixes the issue, this falls back to traditional rendering when > DirectWrite is returning empty bounds for the alpha texture, which seems to > be indicative of this problem. Do you know why setting gfx.content.azure.enabled to false helps?
Assignee | ||
Updated•12 years ago
|
status-firefox15:
--- → affected
Assignee | ||
Comment 12•12 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #11) > (In reply to Bas Schouten (:bas) from comment #9) > > Created attachment 629680 [details] [diff] [review] > > Assume directwrite is buggy when it returns empty alpha texture bounds. > > > > This fixes the issue, this falls back to traditional rendering when > > DirectWrite is returning empty bounds for the alpha texture, which seems to > > be indicative of this problem. > > Do you know why setting gfx.content.azure.enabled to false helps? Yes, cairo-d2d-surface.cpp:3752 has the same logic there.
Comment 13•12 years ago
|
||
Comment on attachment 629680 [details] [diff] [review] Assume directwrite is buggy when it returns empty alpha texture bounds. Review of attachment 629680 [details] [diff] [review]: ----------------------------------------------------------------- Reluctant r+ because of lack of test. Please put a reference to this bug in a comment nearby.
Attachment #629680 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 14•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d846a8245199
Comment 15•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d846a8245199
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Assignee | ||
Comment 16•12 years ago
|
||
Comment on attachment 629680 [details] [diff] [review] Assume directwrite is buggy when it returns empty alpha texture bounds. [Approval Request Comment] Bug caused by (feature/regressing bug #): 715768 User impact if declined: On rare occasions missing fonts Testing completed (on m-c, etc.): Several days m-c Risk to taking this patch (and alternatives if risky): Very low, this is really unlikely to have a negative impact. String or UUID changes made by this patch: None
Attachment #629680 -
Flags: approval-mozilla-aurora?
Comment 17•12 years ago
|
||
Comment on attachment 629680 [details] [diff] [review] Assume directwrite is buggy when it returns empty alpha texture bounds. [Triage Comment] Low risk fix for a regression in FF15. Approved for Aurora.
Attachment #629680 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 18•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/1513818e3c54
Comment 19•12 years ago
|
||
[Triage comment] Updating the status flags since this has landed on Beta (15).
Comment 20•12 years ago
|
||
Verified as fixed with the reporter's test cases on: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20100101 Firefox/15.0
You need to log in
before you can comment on or make changes to this bug.
Description
•