I am using MAC OSX and my Safari version is 13.0.3. I tried installing some custom fonts into my machine. I installed the font great-vibes from https://www.fontsquirrel.com/fonts/list/popular (just an example) on my machine and it now shows under User Font section in my Font Book. I am using .otf format of the font. I now tried using it on my web application like this:
@font-face {
font-family: 'Great Vibes'; //Added postscript name as well, did not work
font-style: normal;
font-weight: 400;
src: local('Great Vibes')
}
body {
font-family: 'Great Vibes' !important;
}
This works in Chrome and Firefox (even without the @font-face) declaration. But this is NOT working on Safari. I have tried options like -webkit-text-stroke: .5px; text-rendering:optimizeLegibility; but it does not work. I tried installing different custom fonts into my machine and they don't work on Safari either. I see that the font has been installed correctly.
NOTE: Keeping the custom font within my application code and using @font-face/src/url works just fine. The issue is when trying to access custom installed fonts on the machine.
defaults.write
for this or a preference to allow this! – Impacted