![]() |
#136 |
my parent's oops...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 492
Karma: 1477572
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW
|
Please, I always appreciate looking at the css that people use in their ebook customization/fixing.
|
![]() |
![]() |
![]() |
#137 | ||
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,691
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Quote:
Code:
@font-face { font-family: Charis; font-style: normal; font-weight: normal; src: url(../Fonts/CharisSILR.ttf) } @font-face { font-family: Charis; font-style: normal; font-weight: bold; src: url(../Fonts/CharisSILB.ttf) } @font-face { font-family: Charis; font-style: italic; font-weight: normal; src: url(../Fonts/CharisSILI.ttf) } body { font-family: Charis; oeb-column-number: 1; widows: 0; orphans: 0; margin-top: 0; margin-bottom: 0; text-align: justify; font-size: 92.5% } p { margin-top: 0; margin-bottom: 0; text-indent: 1.2em; margin-left: -30px; margin-right: -30px } h2 { text-align: center; margin-bottom: 0.8em; margin-top: 0.8em } .spacebreak { margin-top: 2em; text-indent: 0 } .sans { font-family: sans-serif; text-indent: 0 } .sans2 { font-family: sans-serif } blockquote { margin-top: 1em; margin-bottom: 1em; margin-left: 1.5em; margin-right: 1.5em } .center { text-align: center; text-indent: 0 } .noindent { text-indent: 0 } .space { margin-top: 0.2em } h1 { margin-top: 2em; margin-bottom: 2em; text-align: center } .h2a { margin-bottom: 3em } h3 { text-align: center } |
||
![]() |
![]() |
Advert | |
|
![]() |
#138 |
doofus
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,548
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
Jswolf, have you tried body { padding-left:.... }
Unlikely, but who knows |
![]() |
![]() |
![]() |
#139 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,691
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#140 |
doofus
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,548
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
If negative padding on body works, it's certainly more reliable than margin on p. Not all books are well marked up and may use div or, horrors, br everywhere.
|
![]() |
![]() |
Advert | |
|
![]() |
#141 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,691
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Do a search/replace to convert div to p. I do it when I edit a book that uses div instead of p.
|
![]() |
![]() |
![]() |
#142 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,691
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Be careful when using negative margins. Make sure that there are no other left/right margins that you don't want. For example, if you have a CSS class that uses a left/right margin of 0, it will give you the normal margins for that class. Also, if you have simulated blockquotes, don't use left/right margins with any value other then 0. That will give you the normal margins which would be good for a blockquote (even if simulated).
|
![]() |
![]() |
![]() |
#143 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
I'm wondering if there is a way to add user css to Katsunami's script?
Without this option I cannot control output text patameters like font size, line spacing etc. |
![]() |
![]() |
![]() |
#144 |
Treasure Seeker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
|
![]() |
![]() |
![]() |
#145 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,691
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
But if you embed one of my modified versions of Charis SIL, you will have a smaller line height as well as more text per line vs the fonts in the Kindle. |
|
![]() |
![]() |
![]() |
#146 | |
Treasure Seeker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
Quote:
On the Kindle Fire you can. I remove the Line Height from my stylesheets because it seems to either be too large or too close. Soo many books to reconvert. ![]() |
|
![]() |
![]() |
![]() |
#147 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,691
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#148 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
Thanks, but editing multiple epubs is out of question.
Well, Calibre stays as the only applicable tool for me... |
![]() |
![]() |
![]() |
#149 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
|
![]() |
![]() |
![]() |
#150 |
Nameless Being
|
Yes, they are running different firmware. No telling what all differences there are between them.
|
![]() |
![]() |
|
![]() |
||||
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 |