Bug 236172 - Tab characters and ch units do not obey synthetic bold width adjustments correctly
Summary: Tab characters and ch units do not obey synthetic bold width adjustments corr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-04 21:59 PST by Myles C. Maxfield
Modified: 2022-03-03 14:21 PST (History)
6 users (show)

See Also:


Attachments
Patch (20.53 KB, patch)
2022-02-04 22:04 PST, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (22.03 KB, patch)
2022-02-10 00:04 PST, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (28.64 KB, patch)
2022-02-10 17:06 PST, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (30.16 KB, patch)
2022-02-10 20:18 PST, Myles C. Maxfield
zalan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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?