You can comment out the line in CSS:
@import url(https:
Then open the URL above in the browser, you will get a CSS file as shown below:
@font-face { font-family: 'Source Sans Pro'; font-style: italic; font-weight: 300; src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightItalic'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/fpTVHK8qsXbIeTHTrnQH6MAjkyiewWYrWZc50I8hK7I.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215; }
Download each font specified in the URL of each block and enter your assets.
- Save CSS in your assets (say
google-fonts.css ) after changing the URLs (relative to your resource directory).
Now your application will use Google fonts from the same origin, and you will not feel any difference.
source share