Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-19-2015, 05:21 AM   #1
Hobb
Junior Member
Hobb began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2015
Device: New Kindle Paperwhite
How to embedd/use medium typeface from a font family

Hi,

I hope someone can help me with this problem. I would like to embed a Medium typeface from a font family into my epub. When I select Look & Feel / Embed font family, I can select a family, but how do I specify that the Medium typeface should be used instead of the Regular?

Do I need to edit the Extra CSS box?

body { text-align: left;
font-family:"xxxxx-Medium"; }

Or is there a different way to do it?

TIA
Hobb is offline   Reply With Quote
Old 06-19-2015, 10:42 AM   #2
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,062
Karma: 60358908
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 Hobb View Post
Hi,

I hope someone can help me with this problem. I would like to embed a Medium typeface from a font family into my epub. When I select Look & Feel / Embed font family, I can select a family, but how do I specify that the Medium typeface should be used instead of the Regular?

Do I need to edit the Extra CSS box?

body { text-align: left;
font-family:"xxxxx-Medium"; }

Or is there a different way to do it?

TIA
(I don't use this. I mostly hand code things like this using the editors S&R)
Look on Conversion: Look and Feel (tab): (fonts area)

IIRC Polish will also do this if this is YOUR 'standard' setting in Preferences: Common: Look and feel (tab)
theducks is online now   Reply With Quote
Advert
Old 06-22-2015, 04:07 PM   #3
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
I use the editor to add the file(s) to the epub and add this this CSS

Code:
@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;
}
phossler is offline   Reply With Quote
Old 06-26-2015, 03:18 AM   #4
Hobb
Junior Member
Hobb began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2015
Device: New Kindle Paperwhite
Thanks, manual editing does the trick.
Hobb is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Open Font Licensed typeface? Brad Reid Kindle Formats 5 02-25-2013 02:25 AM
Best Typeface and Font Size for ePub Creation Lenora ePub 14 01-26-2013 02:31 PM
Font size difference between medium and large musteman iRex 0 04-02-2010 03:01 PM
Font Family should help Contrast jbruce Sony Reader 31 04-17-2009 12:43 AM
PDF images not visible in Medium size font asaxena11 Sony Reader 3 12-20-2008 10:10 PM


All times are GMT -4. The time now is 02:52 PM.


MobileRead.com is a privately owned, operated and funded community.