10-07-2013, 03:01 PM | #16 |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
I presume you mean the "Validate Stylesheets with W3C" thing? Oddly, that does nothing at all when I click on it -- nothing happens, no report, doesn't take me anywhere, no dialog box or anything at all. However, the "Validate EPUB with FlightCrew" works just fine. :/
|
10-07-2013, 03:59 PM | #17 | |
Well trained by Cats
Posts: 30,107
Karma: 57259780
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
What version of Sigil? What is your default browser? |
|
Advert | |
|
10-07-2013, 04:12 PM | #18 | |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
And at the moment my default browser is Firefox -- but what difference would that make? I do realize that it can view epubs, but I don't use it for that. |
|
10-07-2013, 04:45 PM | #19 |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Okay! I've attached here what I've accomplished (so far) today.
Two questions... I wanted to increase the page margins just a LITTLE bit, now that I've added a background image, and found out how to do that via a page in these forums, but it doesn't seem to be working (I've tried all kinds of different things) -- what am I doing wrong??? Also, re the background image, is there a way to get it to stretch (or shrink) to fill the entire viewing area but without wrapping? I'm not sure if I'm explaining that well, but I was thinking that it would be cool if I could do a background of that "old paper", but have it fade to white at the edges around all four sides -- but at the same time resize if one is in landscape or portrait mode (or in another ebook software). Does that make sense? Or is trying to do what I'm trying to do with a background too buggy -- and should I just scrap it? I guess I'm getting off-topic for what was my initial question here (re font embedding), but I thought I'd ask you folks here since you've been so wonderfully helpful for me today. |
10-07-2013, 06:23 PM | #20 | |
Well trained by Cats
Posts: 30,107
Karma: 57259780
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
XP here also and Firefox 24 and it now works (did not work on only XP with earlier versions) did you look at the CSS background-repeat: |
|
Advert | |
|
10-07-2013, 07:09 PM | #21 | |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
And re the background-repeat that I have now, I do realize that that's how it's set now, but that's for lack of knowing much else. I don't really know if there's a way to get the image to stretch (or shrink) to fill the viewing window. If I set the background to not repeat, that wouldn't re-size it to fit the window -- I could center it or something, but that's not what I want to do, of course. |
|
10-08-2013, 03:41 PM | #22 |
Wizard
Posts: 1,085
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
@psymon --
http://web.sigil.googlecode.com/git/.../Text/faq.html Next to last topic "Why doesn’t my font show up in iBooks?" Paul |
10-08-2013, 03:58 PM | #23 | |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
|
|
10-08-2013, 09:23 PM | #24 | |
Bookmaker & Cat Slave
Posts: 11,468
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Secondly, where is it that you perceive that you're setting margins for the page--which is what I infer your intent to be--that you want to increase "just a bit?" Is that the page 4pts setting, at the top of your stylesheet? The background image question--if you're only trying to publish on iBooks, I suppose they won't care, and it will likely work. If you're trying to publish in other readers, you're likely to run into issues with the background image and you may run into problems with some of those TTF's. On a bright note in an otherwise dreary day, I am, however, eternally grateful that I'm not the poor bugger stuck proofing this. No reflection on your book; my eyes are simply too old for that. ;-) Hitch |
|
10-08-2013, 09:28 PM | #25 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
10-08-2013, 10:31 PM | #26 | |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
Open the browser of choice, go to http://jigsaw.w3.org/css-validator/, and select your parameters. For font related issues I'd recommend CSS level 3, though in reality epubs need CSS level 2.1, which probably won't return anything useful for font declaration problems. Proceed to copy your CSS into the "direct input" window and go from there. YMMV, and all that. But be advised if it passes CSS level 3, it still may not pass epbub CSS standards. If there's an error there (apart from font declaration related errors) readers like Adobe will ignore youir CSS and substitute their own. Hoping this is not all that opaque, I remain Albert |
|
10-09-2013, 04:55 AM | #27 | ||||
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Hi, Hitch, what a GREAT reply! You actually ask some very good (if not important) questions which I clearly should be addressing -- I just didn't know they needed to be addressed.
I'll answer each of them separately -- I'd be deeply appreciative if you (or someone) could follow up on this for me, in fact... Quote:
In any case, you reference to my "setting various margins in px", I presume you're referring to my styling of paragraphs (etc.)? When I first started this epub, I just lifted the CSS file from my website on which this text is based, so I guess that's where that/those came from. Again, I'm just admittedly a bit of a dummy here when it comes to CSS and epubs, and still have a great deal to learn -- but I do want to learn! Quote:
Obviously it adds quite a bit of "bulk" to the code, but in ibooks in the ipad, at least, it does seem to work! And I just don't know of any other solution for keeping those words from breaking at the end of lines -- if you know of an alternative that would work in all e-readers, I would naturally be deeply grateful. Quote:
And it looks just fine in ibooks (at least), especially with the sepia viewing option which almost simulates an "old paper" look, too. Oh, no! Really? I thought TTF fonts were the prefered font? I read somewhere that one can use either TTF or OTF fonts, but that TTF were preferred -- did I get it backwards? I found a website where one can convert fonts from one format to the other. ANY suggestions you have about font embedding with regard to this little project of mine are most welcome -- as you can see, without that particular font showing up correctly, my text here (in that late-Middle English) will just end up showing up as utter gobbledygook otherwise, so it's only naturally imperative that it work correctly. Quote:
Thank you so much for your reply, Hitch! Ron |
||||
10-09-2013, 05:13 AM | #28 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Margins, indents and font sizes are usually much better done with relative sizes like em or percentages. That way they will scale with the reader.
You can use TTF or OTF, that does not really matter. However, not all fonts render that well on readers. I would advise to check the epub in ADE on the PC to see if the fonts show up. If the font does not render, you should check the OS/2 version mapping in the font (yes, I mean OS/2...). It should be 3 or less. |
10-09-2013, 06:25 AM | #29 | |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
This does bring up a related question, actually. For website design, there's a site somewhere (I forget the URL, off-hand) where one can check one's site in a TON of browsers -- like 20 or 30 or something, both different browsers and different versions of them -- all at the same time. Is there any kind of site that's similar for checking epubs? Ideally, it would be nice to have an iPad, a Kindle, a Nook, and every other ereader -- but who the hell can afford that? And the "Kindle Previewer", but I really have to wonder if what one sees in that is actually how things look in the real thing. It would be nice if there was a website like that other one for website design. Of course, it would be even nicer if all these manufacturers could just come up with ONE standard -- and then all comply with it, of course. |
|
10-09-2013, 06:31 AM | #30 | |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
Well, that's kinda discouraging -- so I might get my CSS to validate, and yet it might still be "invalid" as far as epubs go? Is there not a CSS validator out there anywhere that's specifically geared for epubs? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font Embedding? | teh603 | Writer2ePub | 75 | 01-08-2013 07:57 PM |
Another problem embedding font | Alabala | ePub | 26 | 08-02-2012 05:19 PM |
Font embedding | sachin | Sigil | 36 | 03-30-2012 03:26 AM |
Font embedding | sachin | Sigil | 3 | 03-21-2012 09:19 AM |
Do I need a font license if all I'm doing is referring to the font (not embedding)? | Stodder | Workshop | 21 | 04-21-2011 04:19 AM |