![]() |
#16 | |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Sometime after Sigil 0.2.0, I'll be forking Qt and working on this directly. Just FYI, If you're working with InDesign too, bear in mind it doesn't report the fonts it embeds in epubs in the manifest section of the OPF. And then Sigil doesn't load those fonts during import, since they're not declared. I just took a look at your "obvious.epub" and yeah, the font files are not reported in the OPF manifest. Sigil then displays the font in Book View but only because it can find the font on the system. The font is not in the book. You then export to epub and open it in ADE, and ADE can't load the font because it isn't there, and ADE doesn't check the system for missing fonts. From what I hear, InDesign's current epub export functionality is pretty terrible. Last edited by Valloric; 01-31-2010 at 05:56 AM. |
|
![]() |
![]() |
![]() |
#17 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Yes, the embedded fonts look fine with the txtr app.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Boo-Frickety-Hoo-Erizer
![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
|
In the manifest portion of the obvious epub, I agree, I don't see fonts showing up there. Indesign reported that "not all fonts could be embedded", which apparently botched several things in the output file.
In the manifest of the embedded test 2 epub, I am seeing fonts declared: Quote:
So the obvious example turned out to be not-so-obvious. The Indesign-built epubs can be functional, but it's much harder than I want it to be. Hyperlinks are a bitch in indesign, and the obvious things you'd think would just work (like picture placements, text wraps, drop caps, multiple multi-layer tocs) either just plain don't, or don't work as expected. And there doesn't seem to be an indicator/guide that says what works and what doesn't. I think that's all because of the approach adobe took into indesign: print first, epub should work like print, print forever, amen. Still causes me more problems than it solves. And an epub is something between print and the web: it's a new thing! -bjc |
|
![]() |
![]() |
![]() |
#19 | |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
What makes epub good is the stuff around the OPS documents: the OPF metadata, the NCX TOC etc. All this put together makes one very good standard. |
|
![]() |
![]() |
![]() |
#20 |
Boo-Frickety-Hoo-Erizer
![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
|
zuluexpress: nope.
freda: nope. fbreader: nope. mobipocket-translated: nope. Coolreader: nope. I don't have much luck getting any of my css to work in those, either (darn it). Anyone have android? -bjc Last edited by brewt; 02-01-2010 at 10:18 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Groupie
![]() ![]() Posts: 193
Karma: 192
Join Date: Apr 2009
Location: Vanuatu
Device: HTC touch Diamond, Ipaq 3115
|
Quote:
I don't use any off the shelf components or dll's for deciphering any part of an ePUB. My code literally examines one character at a time and works out what it all means. Then actually 'paints' it all onto the screen, one character or image at a time. So I have blocks of code for extracting and parsing all the bits of an ePUB like the Meta Data, TOC, Mainfest CSS etc. That means that I have unparalleled control over how an eBook displays based on it's content. If you email me a sample ePub with CSS that ZuluReader is unresponsive to, and a description of the discrepancy between what is expected and what you get, I will, as Jean Luc Picard would say..... "Make it so!" Cheers. |
|
![]() |
![]() |
![]() |
#22 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 310
Karma: 2025434
Join Date: Oct 2009
Device: Lumia 950 Phone
|
[QUOTE=brewt;767296]... freda: nope.
I don't have much luck getting any of my css to work in those, either (darn it). /QUOTE] By design. Freda ignores the author's view on font setup, and lets the reader decide what will work best for them (I assume that the author didn't design the book's appearance with the limitations of a WinMo phone screen in mind). As for style sheets, they should generally work in Freda, though there are some limitations (the imminent v1.1 has fewer limitations). If there's a particular sheet that you're trying to get working, please email me details (home@jim-chapman.net) and I will investigate. Thanks, Jim |
![]() |
![]() |
![]() |
#23 |
Boo-Frickety-Hoo-Erizer
![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
|
As this seems to be devolving from an embeddment thread to a css thread, let me first of all apologize to the developers who took my off-hand remark on my own problems with css to heart, as no offense was intended at all. All the developers' efforts are way more than I could do myself, and my appreciation of their efforts and generosity truly runs deep. Really really.
My css problems are largely my own. Neophyte: here. A lot of my troubles, I understand, are stemmed from the outrageously complex process I adopted, per se: 1) Start in Word 2007. I've built a Quickstyle set that has all the (current) permutations I'm interested in. I'm mapping to the basic fonts on the Sony Reader 700. Proves handy, as their metrics are close to things like times new roman and arial (and so fairly universal). Also, that's what's in the house. Edit until happy. 2) Save as HTM-Filtered, utf-8 encoding. 3) Open in DreamWeaver CS4. 4) Use Dreamweaver's "Clean up Word" function, then strip out word-implanted css <style>--</style> at top of file. 5) Attach styles.css, which happen to match the Quickstyle set in both style-call-names, and attributes. Well, close enough. 6) Convert to XHTML1.1 out of dreamweaver. Save. 7) import into calibre, add metadata, cover graphics, etc, render epub. The gauntlet I run through here is replicable, and with enough supporting visual basic scripts in word, fairly fast. So I can go back and fix in word, redo everything in the steps above and have it come out: fixed. I've got certain attribute calls in the css joined up at the top - makes it easier to change font sets (just once or twice, as opposed to several dozen places), and to factor out the left-quote variants. Mobipocket does not have the horizontal resolution that epub does, which is part of my process - to also make kindle-ready stuff. By changing a couple lines in the css, and re-importing the file into calibre, I can render the file both ways with an acceptable amount of fuss. All this horsing around is the warmups for embedding/encrypting fonts outside of indesign. My recent failure on encryption have been commented to the encryption-script developer. And yes, I'm doing something wrong there, too. Attached is the word 2007 quickstyleset, post-dreamweaver source html+css, calibre-generated source zip, and resultant epub. No font embedding. Still working on drop caps - hard to universalize without scripting in epub (ignore them, please). Oh, on left-quote variants. The typography sites, books and blogs I've been perusing all say the same thing: put the left quote marks in the margin, so the 1st actual letters of the paragraphs line up vertically. And they are right - it is nicer to look at. And any little tweak we can get out of epub, we should take advantage of. How it appears in ADE is what I keep hoping I can reproduce into a Windows Mobile Epub reader. Current softwares are continuing to improve, and I pray they do so until we are all happy. -bjc |
![]() |
![]() |
![]() |
#24 |
Boo-Frickety-Hoo-Erizer
![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
|
Gawd, somebody stop me. Guess I'm going to carrry on a little while more, 'cause that's just what I do.
Attached here is a mobipocket version of my base model file, created with mobipocketcreator. I know, how dare I bring up mobi here in the epub board. There is a method to my madness. Looking at this with Real MobiPocket, many of the things in my epub version work. Many do not: 1) Drop caps. Duh. 2) Text wrapping around pictures. Not demoed here, but at least I haven't gotten it to work. 3) Horizontal Resolution to compensate for quotes. Mobi is walled up at 1em, 2em, 3em horizontally. Better gradation vertically, but not as good as epub on the left-right. 4) And sure, my font calls are probably not on your machine, so there is font substitution on anybody elses device. 5) Embedding fonts doesn't either, not demoed here. However: Multiple font calls, lots of type sizes, text decoration, the aforementioned vertical resolution, it goes on, do work. Not to mention dynamic dictionaries, exportable annotations, the usual mobi selling points. What I keep hoping for is a something-better than Mobi in Windows mobile. And yes, I am reading on a WinMo screen about the size of 2 postage stamps. I'd really like to abandon Mobi, but until the something-better happens, for my modern lifestyle, I just can't bring myself to. Darn it. -bjc |
![]() |
![]() |
![]() |
#25 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 68
Karma: 526028
Join Date: Nov 2009
Location: New York, NY
Device: iphone
|
brewt: I know that you're anti-export from InDesign, but this does sound like an awful lot of steps to go through. Maybe you should give it one more try—just for fun. On the other hand, I know that what sounds complicated (to wit: my own seemingly crazy process) can become second nature.
|
![]() |
![]() |
![]() |
#26 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Quote:
|
|
![]() |
![]() |
![]() |
#27 | |
Boo-Frickety-Hoo-Erizer
![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
|
Quote:
For instance, one of the biggest issues I have with InDesign is with hyperlinking. Multi-document hyperlinking via Word is fairly transparent, and the hyperlinks survive the process, end to end. Let's take for the example, a multi-file, heavily hyperlinked book of books (mostly what I do). The Complete Works of, you know, So and So. If I want to change style sets, which I do often, it's a matter of creating the quickstyle set that does what I want (say, changing Times to Minion), adapting the css, and run the gauntlet. Doing the same thing in Indesign, if I start with Word, my hyperlinks all die on the transition back into ID and all need to be rebuilt, one at a time, by hand. If I restyle in Indesign, I have to hand redo every file (on a multi-file), and, because I'm no good at Indesign, every paragraph, too. THAT, to me, is the hard way. And God Save Me if I come up with a new component, say, a different way to handle poetry in the book. So maybe the problem is, as always, me, in that I consider my catalog a continual work in process and a learning experience, because as I continue to develop ideas, I tend to want to retro-fit them to previous efforts. And, I want multiple output formats. Epub & Kindle are both necessary outputs for me. Indesign is Ok for one file = 1 output book; if you can afford it and are willing to live with the limitations Adobe thought of 3 years ago, by all means, do it. However, The Complete Works of Jane Austen, with footnotes, is more effort via Indesign than I am willing to expend. Especially since I can't make up my mind between Minion, Garamond, Caslon, or Kepler, or just leaving it at defaults. My process will make those 5 example outputs less of a chore. And no, I'm not done with that; lots of fiddling around still to do. -bjc |
|
![]() |
![]() |
![]() |
#28 | |
Boo-Frickety-Hoo-Erizer
![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
|
Quote:
-bjc |
|
![]() |
![]() |
![]() |
#29 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
ClearType only works for text that's rendered on the screen using Windows API's (or API's that in turn use Windows API's). ADE is a flash/flex application, and that AFAIK doesn't use the Windows API's for text rendering.
|
![]() |
![]() |
![]() |
#30 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
Brewt,
On post #5 you mentioned you encrypted the fonts in your test epub. Perhaps I misunderstood this - I unzipped the epub file and looked at a couple of the fonts with 'FontCreator' and found that there did not seem to be any encryption that the font program was aware of. At least I could change the font characters' features (stretched the B in Ellington) without any trouble and saved it with new name. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can it embed fonts? | chalimac | Kobo Reader | 1 | 06-27-2017 05:46 PM |
Best Practice: Embed Fonts?? | luthar28 | ePub | 37 | 11-01-2011 04:16 AM |
Is it possible to UN embed fonts? | lmronan | Sigil | 14 | 06-04-2010 09:26 AM |
how to embed unicode font | atu1303 | LRF | 8 | 08-21-2009 10:06 PM |
how to embed title and author | gteague | Amazon Kindle | 3 | 11-26-2007 09:45 AM |