Use CTFontCreateForCharactersWithLanguageAndOption if available instead of CTFontCrea...
[WebKit-https.git] / LayoutTests / fast / text / user-installed-fonts / extended-character.html
index 4c23f9d..f67badb 100644 (file)
@@ -5,8 +5,10 @@
     </head>
     <body>
         <script>
-if (window.internals)
+if (window.internals) {
+    internals.invalidateFontCache();
     internals.settings.setShouldAllowUserInstalledFonts(false);
+}
 if (window.testRunner)
     testRunner.installFakeHelvetica("SingleExtendedCharacter");
         </script>