I had also the same problem but I solved it by the following steps:
1) As you may know, you can import google fonts by using googleapi, so first of all I maked appropriate url such as:
'https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700'
and
'https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700'
These urls should return a css file that contains source of fonts.
2) Save these files to the appropriate path.
3) You need to download source url in 'src' of 'font-face', one by one, and then put it to the appropriate path. For example on the following snipped css:
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 300;
src: local('Poppins Light'), local('Poppins-Light'), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLDz8Z11lFc-K.woff2) format('woff2');
unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
You should download the font from the address:
'https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLDz8Z11lFc-K.woff2'
4) Finally correct the 'url' of 'src' in the css file, according to the local font files.
Hope that it helps.