View Single Post
Old 09-23-2025, 07:14 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,194
Karma: 60406678
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by rockster View Post
How is that different than specifying the font in the Fonts section?
Fonts Section is what will be used when a generic is called or no font WAS specified in the stylesheet/book.
Styles is where you make your desires (font family) known. The font must be available (system or embedded in the book)

eg
Code:
@font-face {
  font-family: Cinzel;
  font-weight: normal;
  font-style: normal;
  src: url(fonts/00002.ttf);
}
and the Stylesheet call:
Code:
.first-letter2 {
  float: left;
  font-family: Cinzel, serif;
  font-size: 300%;
  font-style: normal;
  font-weight: normal;
  margin-right: 0.18em;
  margin-top: -0.25em;
  text-decoration: none;
  text-transform: uppercase;
}
Note what i made bold
That is the fallback if the font is not available (should not be needed if embedded in the book)
theducks is online now   Reply With Quote