Bug 16988
| Summary: | Missing font every six page reloads of PDF image: ATSFontFindFromContainer failed: count = 2. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | Assignee: | Nobody <webkit-unassigned> | |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | ap, mitz |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 523.x (Safari 3) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
| URL: | data:text/html,%3Cimg%20src=%22http://www.irs.gov/pub/irs-pdf/fw4.pdf%22%3E | ||
David Kilzer (:ddkilzer)
* SUMMARY
Every 6th time the URL above is loaded (a PDF image), a font is reported "missing" and a substitute font is used. This manifests itself a number of ways:
- Large curly braces ("{") changing to a large dollar sign ("$")
- Bullets changing to a lowercase "c"
- Obvious font substitution on the page
* STEPS TO REPRODUCE
1. Launch Safari.
2. Open test URL: data:text/html,%3Cimg%20src=%22http://www.irs.gov/pub/irs-pdf/fw4.pdf%22%3E
3. Reload page at least 6 times.
* RESULTS
Every 6th page reload, a font will go missing, and a replacement font will be used to render the page. Console output when this occurs:
Wed Jan 23 13:51:19 hostname Safari[49430] <Error>: ATSFontFindFromContainer failed: count = 2.
* REGRESSION
This occurs on both Safari 3.0.4 with original WebKit on Leopard, as well as a local debug build of WebKit r29744.
Not tested on Tiger yet.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
<rdar://problem/5703011>
David Kilzer (:ddkilzer)
This occurred on a pre-release build of 10.5.2, but not on GM 10.5.2 (9C31). Closing.