Bug 6139 - ATSUI code path should implement small caps, synthetic bold and oblique and correct metrics for fallback fonts
Summary: ATSUI code path should implement small caps, synthetic bold and oblique and c...
Status: VERIFIED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 5166
  Show dependency treegraph
 
Reported: 2005-12-18 12:34 PST by mitz
Modified: 2005-12-21 06:39 PST (History)
0 users

See Also:


Attachments
Patch (incl. layout test) (30.63 KB, patch)
2005-12-18 14:08 PST, mitz
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2005-12-18 12:34:23 PST
[Split off from bug 5166]
Add the following missing features to the ATSUI code path in WebTextRenderer:
* small caps
* synthetic bold
* synthetic oblique
When a fallback font is used, compute metrics according to the fallback's rendering mode, to be 
consistent with the CG code path.
Comment 1 mitz 2005-12-18 14:08:08 PST
Created attachment 5140 [details]
Patch (incl. layout test)
Comment 2 mitz 2005-12-18 14:18:30 PST
Comment on attachment 5140 [details]
Patch (incl. layout test)

The code changes in this patch combine attachment 4966 [details] and attachment 4968 [details],
changing several YES/NO to true/false and adding

+		 if (!u_isbase(c))
+		     renderers[i] = isSmallCap ? getSmallCapsRenderer(r) : r;

to make sure that combining marks stay in the same renderer as the base
character preceding them.
Comment 3 Darin Adler 2005-12-18 14:33:07 PST
Comment on attachment 5140 [details]
Patch (incl. layout test)

r=me