Hi,
Terminal seems to be unhappy about the font 'Droid-Serif':
I have attached Droid-Serif in the css like so:
What corrections do I need to make for Droid Serif to show up in the pdf?
Terminal seems to be unhappy about the font 'Droid-Serif':
cpe-124-181-130-216:~ sambodhiprem$ prince /Volumes/Silent\ Sky/Dropbox/Websites/MyWayTheWayOfTheWhiteClouds/White-Cloud-book/chapter01.html
prince: /Volumes/Silent Sky/Dropbox/Websites/MyWayTheWayOfTheWhiteClouds/White-Cloud-book/css/mywaythewayofthewhiteclouds.css: warning: failed to parse all CSS rules
prince: /Volumes/Silent Sky/Dropbox/Websites/MyWayTheWayOfTheWhiteClouds/White-Cloud-book/css/../img/hr-cloud.png: warning: can't open input file: No such file or directory
prince: warning: cyclic @font-face redirect to "Droid Serif"
prince: /Volumes/Silent Sky/Dropbox/Websites/MyWayTheWayOfTheWhiteClouds/White-Cloud-book/css/../font/Droid_Serif/DroidSerif.ttf: warning: cannot open resource
I have attached Droid-Serif in the css like so:
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic);
@import url(http://fonts.googleapis.com/css?family=Droid+Sans);
@import "clouds-pdf.css";
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: 400;
src: local('Droid Sans'), local('Droid-Sans'), url(../font/Droid_Sans/DroidSans.ttf) format('truetype');
}
@font-face {
font-family: 'Droid Serif';
font-style: normal;
font-weight: 300;
src: local('Droid Serif'), local('Droid-Serif'), url(../font/Droid_Serif/DroidSerif.ttf) format('truetype');
}
What corrections do I need to make for Droid Serif to show up in the pdf?