2010-07-13 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jul 2010 10:02:52 +0000 (10:02 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jul 2010 10:02:52 +0000 (10:02 +0000)
commitfcef77e215291aaef483a7870fb7a3a109d5329c
tree00981c8c397c73eb0f4e44acf57209d7002272ba
parent9efe734d0fc5f504ca341ead00a0cc0d3effaee8
2010-07-13  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Nikolas Zimmermann.

        Activate test fonts for layout tests in WebKitTestRunner (on Mac)
        https://bugs.webkit.org/show_bug.cgi?id=42153

        * WebKitTestRunner/InjectedBundle/ActivateFonts.h: Added.
        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
        (WTR::InjectedBundle::initialize): Activate fonts on startup.
        * WebKitTestRunner/InjectedBundle/mac: Added.
        * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm: Added.
        (WTR::activateFonts): Activate our fonts.
        * WebKitTestRunner/InjectedBundle/win: Added.
        * WebKitTestRunner/InjectedBundle/win/ActivateFonts.cpp: Added.
        (WTR::activateFonts): Dummy version.
        * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Copy fonts to bundle;
        add more files.
        * WebKitTestRunner/fonts: Added.
        * WebKitTestRunner/fonts/AHEM____.TTF: Added.
        * WebKitTestRunner/fonts/ColorBits-A.png: Added.
        * WebKitTestRunner/fonts/ColorBits.ttf: Added.
        * WebKitTestRunner/fonts/WebKit Layout Tests 2.ttf: Added.
        * WebKitTestRunner/fonts/WebKit Layout Tests.ttf: Added.
        * WebKitTestRunner/fonts/WebKitWeightWatcher100.ttf: Added.
        * WebKitTestRunner/fonts/WebKitWeightWatcher200.ttf: Added.
        * WebKitTestRunner/fonts/WebKitWeightWatcher300.ttf: Added.
        * WebKitTestRunner/fonts/WebKitWeightWatcher400.ttf: Added.
        * WebKitTestRunner/fonts/WebKitWeightWatcher500.ttf: Added.
        * WebKitTestRunner/fonts/WebKitWeightWatcher600.ttf: Added.
        * WebKitTestRunner/fonts/WebKitWeightWatcher700.ttf: Added.
        * WebKitTestRunner/fonts/WebKitWeightWatcher800.ttf: Added.
        * WebKitTestRunner/fonts/WebKitWeightWatcher900.ttf: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20 files changed:
WebKitTools/ChangeLog
WebKitTools/WebKitTestRunner/InjectedBundle/ActivateFonts.h [new file with mode: 0644]
WebKitTools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp
WebKitTools/WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm [new file with mode: 0644]
WebKitTools/WebKitTestRunner/InjectedBundle/win/ActivateFonts.cpp [new file with mode: 0644]
WebKitTools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj
WebKitTools/WebKitTestRunner/fonts/AHEM____.TTF [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/ColorBits-A.png [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/ColorBits.ttf [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/WebKit Layout Tests 2.ttf [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/WebKit Layout Tests.ttf [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/WebKitWeightWatcher100.ttf [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/WebKitWeightWatcher200.ttf [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/WebKitWeightWatcher300.ttf [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/WebKitWeightWatcher400.ttf [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/WebKitWeightWatcher500.ttf [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/WebKitWeightWatcher600.ttf [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/WebKitWeightWatcher700.ttf [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/WebKitWeightWatcher800.ttf [new file with mode: 0644]
WebKitTools/WebKitTestRunner/fonts/WebKitWeightWatcher900.ttf [new file with mode: 0644]