Update src/utils/FontManager.js

Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
pull/21833/head
Bruno Windels 2019-05-29 10:09:10 +00:00 committed by GitHub
parent 66738e2284
commit 50f477dcd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function safariVersionCheck(ua) {
const colrFontSupported = macOSVersion[0] >= 10 && macOSVersion[1] >= 14 && safariVersion[0] >= 12;
// https://www.colorfonts.wtf/ states safari supports COLR fonts from this version on
console.log(`Browser is Safari - requiring macOS 10.14 and Safari 12,` +
`detected Safari ${safariVersionStr} on macOS ${macOSVersionStr},` +
`detected Safari ${safariVersionStr} on macOS ${macOSVersionStr}, ` +
`COLR supported: ${colrFontSupported}`);
return colrFontSupported;
}