[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.
Created attachment 5140 [details] Patch (incl. layout test)
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 on attachment 5140 [details] Patch (incl. layout test) r=me