Bug 236172

Summary: Tab characters and ch units do not obey synthetic bold width adjustments correctly
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, dbarton, ews-watchlist, fred.wang, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch zalan: review+

Description Myles C. Maxfield 2022-02-04 21:59:14 PST
Tab characters and ch units do not obey synthetic bold width adjustments correctly
Comment 1 Myles C. Maxfield 2022-02-04 22:04:35 PST
Created attachment 450974 [details]
Patch
Comment 2 Myles C. Maxfield 2022-02-10 00:04:59 PST
Created attachment 451501 [details]
Patch
Comment 3 Myles C. Maxfield 2022-02-10 17:06:04 PST
Created attachment 451622 [details]
Patch
Comment 4 Myles C. Maxfield 2022-02-10 20:18:08 PST
Created attachment 451637 [details]
Patch
Comment 5 zalan 2022-02-10 21:17:49 PST
Comment on attachment 451637 [details]
Patch

nice.
Comment 6 Myles C. Maxfield 2022-02-11 00:41:03 PST
Committed r289609 (247122@trunk): <https://commits.webkit.org/247122@trunk>
Comment 7 Radar WebKit Bug Importer 2022-02-11 00:42:16 PST
<rdar://problem/88803268>
Comment 8 Darin Adler 2022-03-03 14:21:26 PST
Comment on attachment 451637 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=451637&action=review

> Source/WebCore/ChangeLog:15
> +        This patch adds a 2-value enum argument to the Font::widthForGlyph() function, so callers
> +        can pass in which behavior they want. The function has a default value to include the
> +        synthetic bold expansion.

Why is an argument better than two functions?