osx - using google web fonts on mac computer -


i'm building web page uses google webfonts (open sans) on pc , works perfectly, when try on mac computer shows question mark within text. why this?

enter image description here

the character seeing replacement character, used when font not contain particular unicode character, in case, "ñ" aka u+00f1 aka "latin small letter n tilde".

google open sans contain character, seems safari not correctly getting font web. rendering engine reverting font, , 1 missing offending character. able check in dev tools on mac font being grabbed script.

i checked script annotation posted in comment question. returning fonts in woff2 format. turns out woff2 not supported in safari of version 9, woff is. therefore recommend changing format woff , serving page locally:

  • download script posted (http://fonts.googleapis.com/css?family=open+sans:300,400,500,700)

  • save css file (e.g. fonts.css)

  • find-and-replace woff2 woff

  • save file

  • add web project (however add other files)

  • replace @stylesheet({"fonts.googleapis.com/css?family=open+sans:300,400,500,700";}‌​) reference newly uploaded file.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -