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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 07-14-2014, 06:10 AM   #1
arslonga
Enthusiast
arslonga began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jul 2011
Device: none
epub fonts embedding

Many epubs do not have their fonts embedded, which means that the original publisher font will not be displayed by an erader unless the font is installed in the device.

I was wondering: is it possible to have Calibre embed the fonts in an epub even if those fonts are not installed on my PC? If so, how? Perhaps some settings in the Look & Feel screen? Thank you for your attention.
arslonga is offline   Reply With Quote
Old 07-14-2014, 09:19 AM   #2
theducks
Grand Sorcerer
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: 14,843
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by arslonga View Post
Many epubs do not have their fonts embedded, which means that the original publisher font will not be displayed by an erader unless the font is installed in the device.

I was wondering: is it possible to have Calibre embed the fonts in an epub even if those fonts are not installed on my PC? If so, how? Perhaps some settings in the Look & Feel screen? Thank you for your attention.
You can use the ebook-editor to manually embed ANY (this applies to books for personal use. You need to license those used for commercial usage. ) fonts you have .

Remember, there needs to be the matching '@fonts' entry for each font embedded
theducks is offline   Reply With Quote
 
Enthusiast
Old 07-14-2014, 10:07 AM   #3
faltradl
Addict
faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.
 
Posts: 364
Karma: 803048
Join Date: Feb 2013
Location: germany
Device: PocketBook Touch
I think "... even if those fonts are not installed on my PC ..." says not only "not installed". The fonts wont't be in any form on his PC. So he can't embed them manually.

He only can let it be as it is. Used fonts, which are not embeded, ara not a real problem. When there are not special characters used, which fail when other font are used for diplaying on the reader. For example the german characters ─,Í,▄.
faltradl is online now   Reply With Quote
Old 07-14-2014, 07:03 PM   #4
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 629
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
As Faltradl said, if the fonts are not on your personal computer, they cannot be embedded.

However, I wanted to add that font names are not used definitively. While commercial typographic font makers try to come up with a unique name that could be trademarked if their product is wildly popular, most knock-off and hobby font makers do not.

Commercial fonts generally include a larger selection of glyphs/characters than most free fonts offered. Another difference is the usage rights; many free fonts are for "personal use" and cannot be used in/for commercial products. So embedding the font for anything other than your own use can be an issue.

So, for example, the font Times New Roman (one of the most well know and used fonts in western publishing), there can be wildly different appearances between the same letters over several different maker's interpretations and skills at font crafting & hinting. In other words, you could download 20 versions of Times New Roman and get 20 different fonts. Admittedly, most of these variations will be minor and quite possibly will not appear except at larger font sizes (20 points and up), but sooner or later the differences will appear - particularly in accented letters or ligatures.

So even if you:
  • search the internet,
  • find a comparably named font,
  • install it on your computer, and
  • then embed the font into the ebook
you still might not have the same visual appearance as the author/publisher intended because it's not the exact same font.

The best that you can do is embed an acceptable font, to you, by using the Editor to replace the font references and re-save the ebook.

Last edited by Sabardeyn; 07-14-2014 at 07:12 PM.
Sabardeyn is offline   Reply With Quote
Old 07-14-2014, 07:13 PM   #5
theducks
Grand Sorcerer
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: 14,843
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
I have 3 folders of Fonts.

1)Installed. You want this lean as it does impact system performance when it gets bloated.

2)Open source (GPL) fonts like you can get from http://www.google.com/fonts/ (note: some link to Paid font$ )

3)Licensed fonts (only for personal use) that came with software packages (eg Corel Wordperfect 8 Pro)


Calibre will only find #1.

I embed #2 and #3 manually, includes makein the proper stylesheet entries.
theducks is offline   Reply With Quote
Old 07-15-2014, 03:40 AM   #6
arslonga
Enthusiast
arslonga began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jul 2011
Device: none
Thank you all for your replies.

My initial question was about the possibility of embedding fonts using the epub to epub conversion with the appropriate settings in Look and Feel. I have also been told that I can always change the .epub extension to .zip, unzip the resulting archive, find the aptly named fonts folder and install these fonts on my PC. After that, convert epub to epub instructing Calibre to embed those fonts. Convoluted as it appears, this may be the way to do it. Thank you for your attention.
arslonga is offline   Reply With Quote
Old 07-15-2014, 04:25 AM   #7
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,068
Karma: 777825
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by arslonga View Post
Thank you all for your replies.

My initial question was about the possibility of embedding fonts using the epub to epub conversion with the appropriate settings in Look and Feel. I have also been told that I can always change the .epub extension to .zip, unzip the resulting archive, find the aptly named fonts folder and install these fonts on my PC. After that, convert epub to epub instructing Calibre to embed those fonts. Convoluted as it appears, this may be the way to do it. Thank you for your attention.
this is confusing!

If you already have a fonts folder inside the epub file containing font files then they are already embedded!
itimpi is offline   Reply With Quote
Old 07-15-2014, 05:00 AM   #8
arslonga
Enthusiast
arslonga began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jul 2011
Device: none
If so, why is the ebook displayed in Times New Roman instead of the publisher font?
arslonga is offline   Reply With Quote
Old 07-15-2014, 05:03 AM   #9
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,068
Karma: 777825
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by arslonga View Post
If so, why is the ebook displayed in Times New Roman instead of the publisher font?
No idea - that is probably an artefact of the reader program you are using (or the settings within that program).
itimpi is offline   Reply With Quote
Old 07-15-2014, 11:46 AM   #10
theducks
Grand Sorcerer
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: 14,843
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by arslonga View Post
If so, why is the ebook displayed in Times New Roman instead of the publisher font?
a) Your reading program is set (by default) to ignore embedded fonts.
b) there is a typo/case difference in one of the filenames/CSS call outs Note: Validation will not usually catch this.
c) the fonts 'internal name' does not match the font-family: <name> (you will see an advisory note that appears in the book editor validation results)
d) spaces in the file name:eg. Times New Roman.ttf

You are wasting our time if you don't post the problem CSS (sections)
theducks is offline   Reply With Quote
Old 07-15-2014, 02:00 PM   #11
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
Posts: 6,470
Karma: 10683802
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch (Wifi only)
Quote:
Originally Posted by theducks View Post
b) there is a typo/case difference in one of the filenames/CSS call outs Note: Validation will not usually catch this.
...Except for the one in calibre's editor.
eschwartz is offline   Reply With Quote
Old 07-26-2014, 10:27 AM   #12
nqk
Enthusiast
nqk began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
I can embed fonts alright, but
1) Most of readers (in Android) bypass them. I see only MoonReader supports this.
2) To reduce font file size, I used subset feature, but the fonts become unreadable (Vietnamese Unicode characters)
nqk is offline   Reply With Quote
Old 07-26-2014, 11:12 AM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,646
Karma: 18475502
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by arslonga View Post
Many epubs do not have their fonts embedded, which means that the original publisher font will not be displayed by an erader unless the font is installed in the device.

I was wondering: is it possible to have Calibre embed the fonts in an epub even if those fonts are not installed on my PC? If so, how? Perhaps some settings in the Look & Feel screen? Thank you for your attention.
If there is no embedded font, then you either get the default font or you can choose the one you want from the list of possible fonts. It all depends on which reader you have. Some have more font capability then others. Kindle has limited font switching, Sony has some font switching depending on the model. Kobo has very good font switching with the ability to sideload your own choices.

Why would you want to embed a font just to get what the publisher left out? How do you even know which font to embed? Just because there is no embedded font does not mean there should be one.
JSWolf is offline   Reply With Quote
Old 07-27-2014, 08:56 AM   #14
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,861
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by JSWolf View Post
Quote:
Originally Posted by arslonga View Post
Many epubs do not have their fonts embedded, which means that the original publisher font will not be displayed by an erader unless the font is installed in the device.
Why would you want to embed a font just to get what the publisher left out? How do you even know which font to embed? Just because there is no embedded font does not mean there should be one.
I agree, if there was no font embedded then there was no original publisher font.
DoctorOhh is offline   Reply With Quote
Old 07-27-2014, 11:11 AM   #15
theducks
Grand Sorcerer
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: 14,843
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by DoctorOhh View Post
I agree, if there was no font embedded then there was no original publisher font.
Good Dr.

There are publisher remnants that indicate 'left out fonts'.
Like the(desired) font names commented out in the CSS.

For personal use, I can use ones I have available (My Wordperfect 8 came with a disk of hundreds. Other programs also shipped with font libraries).

The Publisher would have to spend Thousands to be able to include them.

So, Yes! I do embed fonts (and remove the comment marks in the CSS) so I can view the book the way the designer intended (and the paper version was printed).
theducks 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
Embedding fonts in ePub using Sigil yaip Sigil 26 07-19-2013 09:23 AM
Embedding fonts in ePub/Kindle NoEarthlyReason Workshop 3 05-27-2013 09:01 PM
Embedding Fonts in EPUB- iPad matteino10 Apple Devices 0 03-15-2012 09:32 AM
Embedding fonts in EPUB? Acey Calibre 19 11-06-2011 10:01 AM


All times are GMT -4. The time now is 04:17 AM.


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