LayoutTests:
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Dec 2005 22:16:29 +0000 (22:16 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Dec 2005 22:16:29 +0000 (22:16 +0000)
commit166df4a1d32036855ef98d206bff688124377107
tree60bcabc4b5e634aa4d3c84875f773bdb6d9a69dd
parent3fc7bf7b68357d4410850fad840375e1bc53f2a0
LayoutTests:

        Reviewed by Darin, committed by Adele.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6139
          ATSUI code path should implement small caps, synthetic bold and oblique and correct metrics for fallback fonts

        * fast/text/atsui-multiple-renderers-expected.checksum: Added.
        * fast/text/atsui-multiple-renderers-expected.png: Added.
        * fast/text/atsui-multiple-renderers-expected.txt: Added.
        * fast/text/atsui-multiple-renderers.html: Added.

        * css1/text_properties/text-transCapitalize-expected.checksum:
        * css1/text_properties/text-transCapitalize-expected.png:
        * fast/text/international/bidi-AN-after-L-expected.checksum:
        * fast/text/international/bidi-AN-after-L-expected.png:
        * fast/text/international/bidi-AN-after-L-expected.txt:
        * fast/text/international/bidi-L2-run-reordering-expected.checksum:
        * fast/text/international/bidi-L2-run-reordering-expected.png:
        * fast/text/international/bidi-L2-run-reordering-expected.txt:
        * fast/text/international/bidi-LDB-2-CSS-expected.checksum:
        * fast/text/international/bidi-LDB-2-CSS-expected.png:
        * fast/text/international/bidi-LDB-2-CSS-expected.txt:
        * fast/text/international/bidi-LDB-2-HTML-expected.checksum:
        * fast/text/international/bidi-LDB-2-HTML-expected.png:
        * fast/text/international/bidi-LDB-2-HTML-expected.txt:
        * fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum:
        * fast/text/international/bidi-LDB-2-formatting-characters-expected.png:
        * fast/text/international/bidi-LDB-2-formatting-characters-expected.txt:
        * fast/text/international/bidi-european-terminators-expected.checksum:
        * fast/text/international/bidi-european-terminators-expected.png:
        * fast/text/international/bidi-european-terminators-expected.txt:
        * fast/text/international/bidi-fallback-font-weight-expected.checksum:
        * fast/text/international/bidi-fallback-font-weight-expected.png:
        * fast/text/international/bidi-fallback-font-weight-expected.txt:
        * fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum:
        * fast/text/international/bidi-ignored-for-first-child-inline-expected.png:
        * fast/text/international/bidi-ignored-for-first-child-inline-expected.txt:
        * fast/text/international/bidi-innertext-expected.checksum:
        * fast/text/international/bidi-innertext-expected.png:
        * fast/text/international/bidi-innertext-expected.txt:
        * fast/text/international/bidi-override-expected.checksum:
        * fast/text/international/bidi-override-expected.png:
        * fast/text/international/bidi-override-expected.txt:

WebKit:

        Reviewed by Darin, committed by Adele.

        Test: fast/text/atsui-multiple-renderers.html

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6139
          ATSUI code path should implement small caps, synthetic bold and oblique and correct metrics for fallback fonts

        * WebCoreSupport.subproj/WebTextRenderer.m:
        (overrideLayoutOperation): Fetch renderer info from the renderers array;
        add synthetic bold offset; render only synthetic bold in the synthetic bold pass.
        (drawGlyphs): Replaced 14 with new SYNTHETIC_OBLIQUE_ANGLE define.
        (initializeATSUStyle): Apply a skewing transform for synthetic oblique.
        (createATSUTextLayout): Merged into createATSUTextLayout.
        (createATSULayoutParameters): Merged in createATSUTextLayout; allocate
        and fill a renderers array and a character buffer for small caps and mirroring;
        (applyMirroringToRun): Merged into createATSULayoutParameters.
        (ATSU_drawHighlight): Deleted mirroring code.
        (ATSU_draw): Deleted mirroring code; added second pass for synthetic bold.
        (ATSU_pointToOffset): Deleted mirroring code.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
39 files changed:
LayoutTests/ChangeLog
LayoutTests/css1/text_properties/text-transCapitalize-expected.checksum
LayoutTests/css1/text_properties/text-transCapitalize-expected.png
LayoutTests/fast/text/atsui-multiple-renderers-expected.checksum [new file with mode: 0644]
LayoutTests/fast/text/atsui-multiple-renderers-expected.png [new file with mode: 0644]
LayoutTests/fast/text/atsui-multiple-renderers-expected.txt [new file with mode: 0644]
LayoutTests/fast/text/atsui-multiple-renderers.html [new file with mode: 0644]
LayoutTests/fast/text/international/bidi-AN-after-L-expected.checksum
LayoutTests/fast/text/international/bidi-AN-after-L-expected.png
LayoutTests/fast/text/international/bidi-AN-after-L-expected.txt
LayoutTests/fast/text/international/bidi-L2-run-reordering-expected.checksum
LayoutTests/fast/text/international/bidi-L2-run-reordering-expected.png
LayoutTests/fast/text/international/bidi-L2-run-reordering-expected.txt
LayoutTests/fast/text/international/bidi-LDB-2-CSS-expected.checksum
LayoutTests/fast/text/international/bidi-LDB-2-CSS-expected.png
LayoutTests/fast/text/international/bidi-LDB-2-CSS-expected.txt
LayoutTests/fast/text/international/bidi-LDB-2-HTML-expected.checksum
LayoutTests/fast/text/international/bidi-LDB-2-HTML-expected.png
LayoutTests/fast/text/international/bidi-LDB-2-HTML-expected.txt
LayoutTests/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum
LayoutTests/fast/text/international/bidi-LDB-2-formatting-characters-expected.png
LayoutTests/fast/text/international/bidi-LDB-2-formatting-characters-expected.txt
LayoutTests/fast/text/international/bidi-european-terminators-expected.checksum
LayoutTests/fast/text/international/bidi-european-terminators-expected.png
LayoutTests/fast/text/international/bidi-european-terminators-expected.txt
LayoutTests/fast/text/international/bidi-fallback-font-weight-expected.checksum
LayoutTests/fast/text/international/bidi-fallback-font-weight-expected.png
LayoutTests/fast/text/international/bidi-fallback-font-weight-expected.txt
LayoutTests/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum
LayoutTests/fast/text/international/bidi-ignored-for-first-child-inline-expected.png
LayoutTests/fast/text/international/bidi-ignored-for-first-child-inline-expected.txt
LayoutTests/fast/text/international/bidi-innertext-expected.checksum
LayoutTests/fast/text/international/bidi-innertext-expected.png
LayoutTests/fast/text/international/bidi-innertext-expected.txt
LayoutTests/fast/text/international/bidi-override-expected.checksum
LayoutTests/fast/text/international/bidi-override-expected.png
LayoutTests/fast/text/international/bidi-override-expected.txt
WebKit/ChangeLog
WebKit/WebCoreSupport.subproj/WebTextRenderer.m