05-04-2019, 12:48 AM | #16 | ||
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Quote:
My first ereader was a Sony years ago. That's when I started stripping publisher line-height and font-size to establish a consistent base-line. Then I would add the line-height and font-size I needed in order to read comfortably. This had the added benefit of making all of my ebooks consistent. I never changed this workflow after moving to Kindle, but mariowarner's question makes me wonder. Does publisher line-height and font-size have any effect on a Kindle or does the Kindle override it? |
||
05-04-2019, 01:18 PM | #17 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
But, if you use your bog-standard 1em body font--it's 1.2, no matter what. I had this client that went b*tshit over the fact that the mobi we gave him had that line-height and spacing. His "other formatter's" work was "better" because the file that guy gave him was 1x line-spacing. I told him and demonstrated that no matter what, when that other, "better" file (yup, that's the sound of my teeth grinding) was uploaded to the KDP, the resulting final for-sale file had the ubiquitous 1.2em line-height. So, if you're making it for yourself, sure, you can probably do what you want. However, if you are uploading it to the KDP, be aware that it's unlikely to work. Also--if you force it, by putting in some "large-print edition" fontsize, say, 1.8 or what-have-you, you should fully expect an Amazon nastygram in the form of a KQN--Kindle Quality Notice, telling you, "Hey, boyo, fix this or we'll remove the book from sale." The KPGuidelines are pretty clear about fonts, font sizes, etc. Remember, the publisher isn't Amazon's customer, the readers are, and they can be very, very annoyingly demanding about vanilla interiors, by and large. Hitch |
|
Advert | |
|
05-04-2019, 02:23 PM | #18 | |
Resident Curmudgeon
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I've never set a negative margin in body. I just did it in html at the top of the CSS. Code:
html { margin-right: -45px; margin-left: -45px; } |
|
05-04-2019, 02:27 PM | #19 |
Resident Curmudgeon
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
There is a way to reduce the line-height. Use my ChareInk font as the metric in the font have been adjusted so on a Kindle it is less then default line height.
One thing I am going to try is a negative line-height and see if that works. I'll try it with Bookerly and see if I can fix the line-height. |
05-04-2019, 03:35 PM | #20 | ||||
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Quote:
Quote:
Quote:
However, if the book has left/right margins set at a higher level in the CSS cascade (e.g., <p>), then don't those need to be deleted? Otherwise, wouldn't the <p> margins override alter the <html> margins? Last edited by odamizu; 05-04-2019 at 05:01 PM. Reason: added link to Kindle Publishing Guidelines |
||||
Advert | |
|
05-04-2019, 03:47 PM | #21 | |
Resident Curmudgeon
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
As for margins in <p>, I make sure there are no margins and I use a plain <p>. I edit out the <p="someuselessclass"> and make it just <p>. it's very easy to do this. Then for every class that has a center, I make sure there is a text-indent of 0. |
|
05-04-2019, 04:28 PM | #22 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
To the best of my knowledge left/right margins are additive. For instance, if you had CSS like Code:
body {margin-left: 1em; font-size: 1.5em; font-family: serif} blockquote {margin-left: 2em; font-size: 0.75em; font-family: monospace} p {margin-left: 0.5em; font-size: 2em; font-family: sans-serif} Code:
<body> <blockquote> <p>The text in these paragraphs will all have:</p> <p>- an additive left-margin of 1+2+0.5 = 3.5em</p> <p>- a multiplicative font-size of 1.5*0.75*2 = 2.25em</p> <p>- the most specific override font-family = sans-serif</p> </blockquote> </body> |
|
05-04-2019, 04:51 PM | #23 | ||
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
However, if the publisher has set margins at the <p> level, then you need to delete or adjust those margins, otherwise the negative margins at the <html> level won't work as desired. Note: I'm not arguing against setting negative margins at the <html> level; in fact, I may start using <html> instead of <p>. I'm just saying it's not always as simple as inserting a couple lines of CSS to add negative margins to <html>. Quote:
If you set negative margins of -45px for <html> and the publisher has margins of 5px for <p>, then I think you end up with with <p> margins of -40px. So if you want negative margins of -45px you need to delete or adjust the margin settings for <p>. Last edited by odamizu; 05-05-2019 at 03:35 PM. |
||
05-05-2019, 03:47 PM | #24 | ||
Resident Curmudgeon
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Quote:
|
||
05-07-2019, 09:32 PM | #25 |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2018
Device: kindle
|
|
05-07-2019, 09:35 PM | #26 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2018
Device: kindle
|
Quote:
|
|
05-07-2019, 09:42 PM | #27 |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2018
Device: kindle
|
Hehe, I do not get everything you are talking about so I will come back to this when I have a better understanding of the editor and have more time to fool around Thanks to you guys I was able to reduce the margins, which is a great deal for me!
Now, for one of the books I added the html line to reduce the margins, it somehow also changed the font size of the wholel book to something smaller... Any ideas how this happened? |
05-08-2019, 12:00 AM | #28 |
Wizard
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
Can you use the Preferences > Conversion > Common Options > Look & feel > Styling and check the boxes at the bottom for Margins and Padding? I have all of them checked. For my kindle I download the books in EPUB format, then convert them to AZW3. If it's a book from amazon, on the Manage Your Content and Devices page I've set the Default Device to Kindle Cloud so that it doesn't send the book to my kindle, then on the page that lists the books I click on the 3 dots button and select Download & transfer via USB. Then add that to calibre and convert it to EPUB, then delete calibre's AZW3 and convert the EPUB to AZW3; at that point it's ready for calibre to send it to my kindle. The conversion removes all that styling stuff whose boxes I've checked.
Last edited by lumpynose; 05-08-2019 at 12:03 AM. |
05-08-2019, 11:50 AM | #29 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
|
05-11-2019, 01:11 PM | #30 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2018
Device: kindle
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to reduce line spacing int the main window ? | PO40600 | Library Management | 8 | 12-29-2015 04:15 PM |
How do I reduce line spacing when I have superscripts | jrjung | Conversion | 2 | 09-04-2015 03:36 PM |
Hack to reduce KF8 line height | JSWolf | Kindle Developer's Corner | 2 | 10-05-2014 05:06 PM |
Icarus 9.7 'Pdf Reader' app and spacing, margins and fonts | einkuser | Onyx Boox | 2 | 03-21-2014 08:04 PM |
Line Spacing and Margins | la3541 | Sony Reader | 0 | 06-02-2008 06:35 PM |