Bug 215727

Summary: SIGGRAPH 2020 Website Layout Bug in Big Sur Public Beta 2 (Dev Beta 5)
Product: WebKit Reporter: frankhome61
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bfulgham, mmaxfield, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
A screenshot showing the layout error in the table none

Description frankhome61 2020-08-20 22:55:01 PDT
Created attachment 407002 [details]
A screenshot showing the layout error in the table

Layout is wrong for 2020 SIGGRAPH program website 
https://s2020.siggraph.org/conference/program-events/
Comment 1 Radar WebKit Bug Importer 2020-08-20 22:55:24 PDT
<rdar://problem/67532333>
Comment 2 Myles C. Maxfield 2020-08-22 21:23:03 PDT
Theory: the font claims to be monospaced, but isn't.
Comment 3 Myles C. Maxfield 2020-08-24 17:52:13 PDT
My theory is correct! I feel like a wizard.
Comment 4 Myles C. Maxfield 2020-08-24 17:54:22 PDT
Commenting out the "if (f.isFixedPitch()" block in RenderText::widthFromCache() fixes this.
Comment 5 Myles C. Maxfield 2020-08-24 17:57:02 PDT
That block is bogus, anyway. I should see if perf is affected by just deleting it.
Comment 6 frankhome61 2020-08-24 17:57:28 PDT
(In reply to Myles C. Maxfield from comment #3)
> My theory is correct! I feel like a wizard.

You are a wizard :(
Comment 7 frankhome61 2020-08-24 17:58:14 PDT
(In reply to guowei_yang from comment #6)
> (In reply to Myles C. Maxfield from comment #3)
> > My theory is correct! I feel like a wizard.
> 
> You are a wizard :)
Comment 8 Myles C. Maxfield 2020-08-24 18:00:12 PDT

*** This bug has been marked as a duplicate of bug 162546 ***
Comment 9 Myles C. Maxfield 2020-08-24 18:16:19 PDT
f.isFixedPitch() is returning false on Catalina.