View Single Post
Old 04-22-2021, 02:35 PM   #3
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,106
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Embedding a font is more than just adding a Font file
That is step 1
Then you need the appropriate @fontface to link it to a font family
eg.
Code:
@font-face {
   font-family: "Bembo Std";
   src: url(../Fonts/BemboStd.otf);
   font-style: normal;
   font-weight: normal;
}
Then you need to have a style (stylesheet entry is best)
Code:
span.bembo{
   font-family: "Bembo Std";
    
}
last each word/phrase needs to be wrapped in a span
Code:
<span class="bembo">the words</span>
OH
and your reading devise MUST support some form of 'Use Publishers Styles'

Last edited by theducks; 04-22-2021 at 02:50 PM. Reason: fixed span code
theducks is offline   Reply With Quote