Skip to content

Commit

Permalink
[wptrunner] Install Ahem in Sauce Labs Windows VM (web-platform-tests…
Browse files Browse the repository at this point in the history
  • Loading branch information
jugglinmike authored and gsnedders committed Apr 18, 2018
1 parent 4a0df34 commit f76bdbf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fonts/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
This directory only contains auxiliary font files used by other tests. See
/css-fonts for tests covering the CSS Fonts Module specification.

The font named `Ahem.ttf` is referenced from the project documentation and the
CLI's scripts for provisioning virtual machines provided by Sauce Labs. If that
file is re-located, the references should be updated accordingly.
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
@echo off
reg add "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\New Windows" /v "PopupMgr" /t REG_SZ /d no


REM Download and install the Ahem font
REM - https://wiki.saucelabs.com/display/DOCS/Downloading+Files+to+a+Sauce+Labs+Virtual+Machine+Prior+to+Testing
REM - https://superuser.com/questions/201896/how-do-i-install-a-font-from-the-windows-command-prompt
bitsadmin.exe /transfer "JobName" https://github.com/w3c/web-platform-tests/raw/master/fonts/Ahem.ttf "%WINDIR%\Fonts\Ahem.ttf"
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Ahem (TrueType)" /t REG_SZ /d Ahem.ttf /f

0 comments on commit f76bdbf

Please sign in to comment.