View Single Post
Old 05-31-2016, 10:39 AM   #27
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
FWIW, I have several stylesheets for various fonts that I can 'plug in' depending on what I think will work best

This is my Charis.css with 4 weights/styles

All have the same Family Name which is the internal name (see screen shot), but different file names



Code:
/* ----------------------------------------------*/
/* Style sheet to use Charis fonts -------------*/
/* ----------------------------------------------*/
@font-face {
  font-family: "Charis SIL Compact";
  font-weight: normal;
  font-style: normal;
  src: url(../fonts/CharisSILR.ttf);
  }
@font-face {
  font-family: "Charis SIL Compact";
  font-weight: bold;
  font-style: normal;
  src: url(../fonts/CharisSILB.ttf);
  }
@font-face {
  font-family: "Charis SIL Compact";
  font-weight: normal;
  font-style: italic;
  src: url(../fonts/CharisSILI.ttf);
  }
@font-face {
  font-family: "Charis SIL Compact";
  font-weight: bold;
  font-style: italic;
  src: url(../fonts/CharisSILBI.ttf);
  }
body {
  font-family: "Charis SIL Compact", serif;
}
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	189
Size:	103.9 KB
ID:	149064  
phossler is offline   Reply With Quote