Created attachment 465057 [details] test case need to flip glyph height -> glyph width
For some strange reason - this test case on iOS 16.3.1 using iPhone 13 Pro Max works differently compared to macOS and does not show "Red" or "Green" but "Blue".
Created attachment 465058 [details] (similar) test case
(In reply to Ahmad Saleem from comment #1) > For some strange reason - this test case on iOS 16.3.1 using iPhone 13 Pro > Max works differently compared to macOS and does not show "Red" or "Green" > but "Blue". that's certainly odd. what do you see with the second test case?
(In reply to zalan from comment #3) > (In reply to Ahmad Saleem from comment #1) > > For some strange reason - this test case on iOS 16.3.1 using iPhone 13 Pro > > Max works differently compared to macOS and does not show "Red" or "Green" > > but "Blue". > that's certainly odd. what do you see with the second test case? Same blue text and I am using it in Private Mode (tab). :-(
(In reply to Ahmad Saleem from comment #4) > (In reply to zalan from comment #3) > > (In reply to Ahmad Saleem from comment #1) > > > For some strange reason - this test case on iOS 16.3.1 using iPhone 13 Pro > > > Max works differently compared to macOS and does not show "Red" or "Green" > > > but "Blue". > > that's certainly odd. what do you see with the second test case? > > Same blue text and I am using it in Private Mode (tab). :-( do you see only 0s or 1s too?
(In reply to zalan from comment #5) > (In reply to Ahmad Saleem from comment #4) > > (In reply to zalan from comment #3) > > > (In reply to Ahmad Saleem from comment #1) > > > > For some strange reason - this test case on iOS 16.3.1 using iPhone 13 Pro > > > > Max works differently compared to macOS and does not show "Red" or "Green" > > > > but "Blue". > > > that's certainly odd. what do you see with the second test case? > > > > Same blue text and I am using it in Private Mode (tab). :-( > do you see only 0s or 1s too? Yes - I see them 000111 in blue text. I see them in both cases but in blue compared to macOS, where it is green / red.
apparently widthForGlyph(zeroGlyph) always returns 16px when platformData().orientation() != FontOrientation::Horizontal (and we size the block incorrectly)
<rdar://problem/105889789>