|  10-16-2013, 08:33 PM | #16 | |
| doofus            Posts: 2,555 Karma: 13089041 Join Date: Sep 2010 Device: Kobo Libra 2, Kindle Voyage | Quote: 
 | |
|   |   | 
|  10-16-2013, 09:08 PM | #17 | 
| Grand Sorcerer            Posts: 6,111 Karma: 34000001 Join Date: Mar 2008 Device: KPW1, KA1 | 
			
			That's one of the reasons I use Modify EPUB first; to strip all embedded fonts (except on books where I know they will be needed). I would like it if Modify EPUB would also contain an option to actually remove the font-family; it leaves that behind, referring to fonts that are actually not in the EPUB, but if they are in/on the reader, it could be that they actually supersede the font you set yourself; this depends on the device, of course.
		 | 
|   |   | 
|  10-16-2013, 10:10 PM | #18 | |
| Reader of Books            Posts: 249 Karma: 178096 Join Date: Oct 2012 Device: Kobo Libra Colour, Clara Colour, Libra 2, Elipsa | Quote: 
 A bit kludgy, but it works. | |
|   |   | 
|  10-17-2013, 02:04 AM | #19 | 
| Wizard            Posts: 1,731 Karma: 3472866 Join Date: Apr 2008 Device: Sony PRS-650 & 350; Kindle Voyage; Kobo Aura HD, Aura One, and Forma | 
			
			This is what I'm doing as well--actually I convert ePub to ePub--removing embedded fonts.  Then I convert ePub to azw3 and embed my font of choice.  That way, I can load the ePubs on my Sonys (350/650 with PRS+) and use the fonts of my choice.  But to use these same fonts on my KPW2, I have to embed them into the AZW3 file.  The bummer about this is depending on my mood/lighting/etc I might want to change to a different font--but on the KPW2, I'm stuck with one embedded font (plus the default options.)
		 | 
|   |   | 
|  10-17-2013, 09:55 AM | #20 | |
| Grand Sorcerer            Posts: 6,111 Karma: 34000001 Join Date: Mar 2008 Device: KPW1, KA1 | Quote: 
 Calibre cannot convert them to AZW3; somehting needs to be done to create "multiple indices", and Calibre does not yet know how. However, it *can* convert the books from EPUB to EPUB, and I've found that KindleGen can convert them to a MOBI/KF8 combination format. KindleUnpack (the script) can split that up to AZW3. So, after fixing the metadata, I do an EPUB->EPUB conversion to embed the fonts, save the book to disk, and then use KindleGen and KindleUnpack to create the AZW3's. Kludgy... but it works. And the AZW3's display fine. I keep my original files safe; what happens to the files during conversion for my current reader doesn't matter a thing to me as long as they display fine after the conversion. | |
|   |   | 
|  10-17-2013, 10:43 AM | #21 | 
| dangerous when cornered            Posts: 1,865 Karma: 22891237 Join Date: Dec 2011 Location: USA Device: Kobo H2O, Kobo Libra 2, Kindle Paperwhite | 
			
			Thanks so much for the replies and helpful tips everyone. I really appreciate it. I'm sure it will be helpful to others too.  So far I cannot seem to embed the font I want into the book. However, I made the realization it's only one particular book that it won't take on. Or it least it seems that way so far. I tried another book with that font and it worked fine. Hmm. | 
|   |   | 
|  10-17-2013, 10:49 AM | #22 | |
| Nameless Being | Quote: 
 | |
|   | 
|  10-17-2013, 10:58 AM | #23 | |
| dangerous when cornered            Posts: 1,865 Karma: 22891237 Join Date: Dec 2011 Location: USA Device: Kobo H2O, Kobo Libra 2, Kindle Paperwhite | Quote: 
 | |
|   |   | 
|  10-17-2013, 11:21 AM | #24 | |
| Grand Sorcerer            Posts: 6,111 Karma: 34000001 Join Date: Mar 2008 Device: KPW1, KA1 | Quote: 
 The only way to fix that is to open the book in Sigil (if it's not an EPUB you must convert to it first, further messing up the code), and then use a regular expression to rip all the font-family properties out of the <p> tags. Maybe the book is even using <font> tags... Coding like that is really old style. If you do it on a website nowadays, you'll probably get ridiculed, fired, stoned, or shot. | |
|   |   | 
|  10-17-2013, 11:21 AM | #25 | 
| Wizard            Posts: 1,817 Karma: 23400001 Join Date: May 2012 Location: USA Device: K1/K3/BasicK Voyage/Oasis1/Oasis3 | 
			
			I tried that embedding thingy too in calibre, but I am calibre and "hack" challenged, so of course I wasn't going to figure that one out.   I have the PW1 and couldn't even figure out how to get fonts on there and then I realized, I didn't really want to to that in case something goes wrong. So I tried the embedding to see what another font would look like, but none of the books I tried it on show it on my PW. Oh well, it is what it is. | 
|   |   | 
|  10-17-2013, 11:58 AM | #26 | ||
| dangerous when cornered            Posts: 1,865 Karma: 22891237 Join Date: Dec 2011 Location: USA Device: Kobo H2O, Kobo Libra 2, Kindle Paperwhite | Quote: 
  Quote: 
 | ||
|   |   | 
|  10-17-2013, 12:25 PM | #27 | |
| Wizard            Posts: 1,817 Karma: 23400001 Join Date: May 2012 Location: USA Device: K1/K3/BasicK Voyage/Oasis1/Oasis3 | Quote: 
 I have no clue about some of the other stuff that is being talked about here like sigil or CSS. No clue what that is. So for me, unless amazon gives me the option to unlock or put properly more fonts on my PW, its just way above my skill. Maybe one day they give us more fonts on the kindles. That is all I can hope for really. | |
|   |   | 
|  10-17-2013, 01:11 PM | #28 | |
| Nameless Being | Quote: 
 Basically, if they use the STYLE tag with any formatting within the HTML tags, that is a no no. I also hate it when idiots use all P tags even for headings, and just change the style of the P tags' class(es) to match an H1, H2,...Hx. Bad form if you ask me. Last edited by jswinden; 10-17-2013 at 01:15 PM. | |
|   | 
|  10-17-2013, 04:29 PM | #29 | |
| Bookmaker & Cat Slave            Posts: 11,503 Karma: 158448243 Join Date: Apr 2010 Location: Phoenix, AZ Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2 | Quote: 
 You mostly won't find all those spans in a straight-up Word-->HTML file. Those spans tend to be exclusively from Adobe. (Of course, you will see them for things like "text-transform" or "smallcaps," and any special font features that an author may use, even directly from Word.) Hope that helps. Use regex to clean up valueless spans--you can do it in one-two passes. Then you'll have fundamentally clean HTML to work with. In the alternative, I highly recommend Toxaris' Word eBook Tools program--works a treat. P.S.: on the font-embedding front, I'll tell you guys what I tell my clients. The biggest "bang" for the buck is simply embedding a title page and chapter heads. Leave the body text, so that you can change it depending on time of day, lighting and mood. I do. Hitch | |
|   |   | 
|  10-17-2013, 06:52 PM | #30 | 
| Nameless Being | 
			
			I created a simple test book in Sigil to illustrate how a few different fonts look on the Paperwhite 2nd generation (see attached). I included a short paragraph for each font as follows: 
 I just wanted to see what various fonts would look like on my PW2. I deleted the ePub and mobi attachments because I'm not sure about the distribution of all of these fonts. I attached a screen capture from PW2 in their place. Last edited by jswinden; 10-17-2013 at 07:55 PM. | 
|   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Embedding font produces strange spacing | northstar7 | Sigil | 6 | 09-17-2013 01:52 PM | 
| Fonts embedding | 1drey | Writer2ePub | 3 | 06-17-2011 11:15 PM | 
| Embedding fonts | JaneFancher | Calibre | 14 | 04-10-2010 09:28 PM | 
| Embedding fonts | AprilHare | ePub | 6 | 01-02-2010 11:42 AM | 
| Embedding fonts | jash | Calibre | 2 | 09-09-2008 05:05 PM |