Bug 16988 - Missing font every six page reloads of PDF image: ATSFontFindFromContainer failed: count = 2.
Summary: Missing font every six page reloads of PDF image: ATSFontFindFromContainer fa...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: PDF (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: data:text/html,%3Cimg%20src=%22http:/...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-01-23 13:56 PST by David Kilzer (:ddkilzer)
Modified: 2008-02-20 10:41 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2008-01-23 13:56:38 PST
* 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.
Comment 1 David Kilzer (:ddkilzer) 2008-01-23 13:57:23 PST
<rdar://problem/5703011>
Comment 2 David Kilzer (:ddkilzer) 2008-02-20 10:41:10 PST
This occurred on a pre-release build of 10.5.2, but not on GM 10.5.2 (9C31).  Closing.