DescriptionSupport sideloaded fonts via command line option for blink layout_tests
Blink side is: https://codereview.chromium.org/235553003/ which
must land and roll first.
Adds support for --register-font-files which adds the given
file(s) to the sandbox policy (readonly), creates and warms up
the font, and passes it to blink.
Also, modify the setup code for layout tests so "Ahem" will be
found correctly.
R=jschuh@chromium.org,eae@chromium.org
BUG=333029
TEST=out\debug\content_shell d:\src\tmp\a.html --enable-direct-write --register-font-files=D:\src\cr3\src\content\shell\renderer\test_runner\resources\fonts\AHEM____.TTF
TEST=ninja -C out\Debug blink_tests && webkit\tools\layout_tests\run_webkit_tests fast/parser/fonts.html --debug --nocheck-sys-deps (with directwrite forced on)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263842
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264126
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : . #Patch Set 5 : . #Patch Set 6 : . #
Total comments: 10
Patch Set 7 : fixes #Patch Set 8 : wip; move to content/shell #Patch Set 9 : move to content/shell #
Total comments: 2
Patch Set 10 : remove blank line #Patch Set 11 : guard for xp #Messages
Total messages: 31 (0 generated)
|