| Summary: | [GPUP] Add logging for installed font reconstitution failure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||
| Component: | New Bugs | Assignee: | Myles C. Maxfield <mmaxfield> | ||||
| Status: | RESOLVED WONTFIX | ||||||
| Severity: | Normal | CC: | simon.fraser | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Myles C. Maxfield
2022-04-13 00:34:02 PDT
Created attachment 457511 [details]
Patch
Comment on attachment 457511 [details]
Patch
No need to add logging; this is reproducible.
Really? I couldn’t reproduce it 🤔 I can reproduce it with `run-webkit-tests --ios-simulator fast/text/` against an iOS 15.4 SDK Logging says:
Cannot reconstitute installed font in GPU process: file://iNmEmOrYcGfOnT_0x600003184580#postscript-name=Ahem (Ahem) - {
NSFontNameAttribute = Ahem;
NSFontSizeAttribute = 16;
}
Oh! This only happens in tests! It’s because we use InjectedBundle to install Ahem just for the web process. I wonder how to fix this 🤔 Surely we don’t want a GPU-Process-injected-bundle… Maybe I add testing-only code in the GPU process and only enable it in WKTR? 🤔🤔🤔 |