Bug 134133

Summary: [iOS] GSFontAddCGFont is deprecated and we use it in DumpRenderTree
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: bunhere, cdumez, commit-queue, dino, gyuyoung.kim, jonlee, sergio, simonjam, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch simon.fraser: review+

Myles C. Maxfield
Reported 2014-06-20 15:31:00 PDT
GSFontAddCGFont is deprecated and we use it in DumpRenderTree
Attachments
Patch (1.23 KB, patch)
2014-06-20 15:37 PDT, Myles C. Maxfield
no flags
Patch (5.10 KB, patch)
2014-06-30 13:01 PDT, Myles C. Maxfield
simon.fraser: review+
Myles C. Maxfield
Comment 1 2014-06-20 15:37:53 PDT
Myles C. Maxfield
Comment 2 2014-06-22 11:34:03 PDT
CTFontManagerRegisterGraphicsFont is preferable.
Myles C. Maxfield
Comment 3 2014-06-30 13:01:32 PDT
Simon Fraser (smfr)
Comment 4 2014-06-30 13:27:25 PDT
Comment on attachment 234088 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=234088&action=review > Tools/DumpRenderTree/mac/DumpRenderTree.mm:535 > fprintf(stderr, "Failed to add CGFont to GraphicsServices for the %s font.\n", sectionName.c_str()); Shouldn't this print error details?
Myles C. Maxfield
Comment 5 2014-06-30 13:28:16 PDT
Comment on attachment 234088 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=234088&action=review >> Tools/DumpRenderTree/mac/DumpRenderTree.mm:535 >> fprintf(stderr, "Failed to add CGFont to GraphicsServices for the %s font.\n", sectionName.c_str()); > > Shouldn't this print error details? Can also remove GSFont header
Myles C. Maxfield
Comment 6 2014-06-30 17:46:27 PDT
Note You need to log in before you can comment on or make changes to this bug.