HTTrack Website Copier
Free software offline browser - FORUM
Subject: httrack and google fonts
Author: pzd
Date: 07/13/2015 22:06
 
Hi,
I'm mirroring a site which has links to google fonts, like "open sans
condensed"

The website uses the following syntaxe :
<link href=http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300
rel='stylesheet' type='text/css'>

httrack save the link as a css file, the first css instruction is :

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'),
url(../external.html?link=http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTYnF5uFdDttMLvmWuJdhhgs.ttf)
format('truetype');


whereas the original is :

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'),
url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTegdm0LZdjqr5-oayXSOefg.woff2)
format('woff2'),
url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff)
format('woff');
}

My fonts are broken

How can i configure httrack in order to work with google fonts ?
Regards
Pzd
 
Reply


All articles

Subject Author Date
httrack and google fonts

07/13/2015 22:06




b

Created with FORUM 2.0.11