![]() |
#31 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
What's the language identifier set to in the OPF file and each content file?
|
![]() |
![]() |
![]() |
#32 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 603
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
|
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
In addition to xml:lang, can you set lang="nl" on each <html> element?
|
![]() |
![]() |
![]() |
#34 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 603
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
|
![]() |
![]() |
![]() |
#35 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
That's unfortunate. I'm out of ideas.
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Nov 2011
Location: france
Device: kobo libra 2
|
is there a way to overcome the line-height fixed to 1.3 in a paragraph with this custom css ?
|
![]() |
![]() |
![]() |
#37 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,471
Karma: 169115146
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
body {line-height: 1.1 !important;} Code:
* {line height: 1.1 !important;} Regards, David Last edited by DNSB; 08-03-2013 at 01:45 PM. |
|
![]() |
![]() |
![]() |
#38 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Nov 2011
Location: france
Device: kobo libra 2
|
It does not work. Or i make a mistake somewhere...
|
![]() |
![]() |
![]() |
#39 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Only an idea. Let us presume the renderer merges the user stylesheet with its own internal stylesheet in a way that the internal style blocks follow the style blocks of the user style sheet (and thereby overwrite them if there is an overlap and if it is possible). If this is true, one could search libnickel (in FW 2.8.1 maybe nickel) for "body, p { line-height: %1em !important; }" and remove !important.
Note: I haven't do this myself and therefore don't know whether it works. |
![]() |
![]() |
![]() |
#40 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,471
Karma: 169115146
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Here's what I've tried as a kepub-book.css. My main wants were to have the font size when I open a .kepub to be closer to the font size when I open a .epub and to reduce the left/right margins. From the Kobo GUI, the line height and margin sliders are fully to the left, the font size slider is in the middle.
Code:
body { -webkit-hyphens: auto !important; font-size: 150%!important; line-height: 1.0 !important; widows: 0 !important; orphans: 0 !important; margins: 5pt !important; padding-bottom: 0 !important; } div { font-size: 1em !important; line-height: 1.0; !important; margin-bottom: 0.2em !important; margin-left: 0 !important; margin-right: 0 !important; margin-top: 0 !important; text-align: left !important; text-indent: 4% !important; widows: 0 !important; orphans: 0 !important; padding-bottom: 0 !important; } p { font-size: 1em !important; line-height: 1.0; !important; margin-bottom: 0.2em !important; margin-left: 0 !important; margin-right: 0 !important; margin-top: 0 !important; text-align: left !important; text-indent: 4% !important; widows: 0 !important; orphans: 0 !important; padding-bottom: 0 !important; } Regards, David Last edited by DNSB; 08-03-2013 at 08:18 PM. |
![]() |
![]() |
![]() |
#41 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
Luck; Ken |
|
![]() |
![]() |
![]() |
#42 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,471
Karma: 169115146
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Regards, David |
|
![]() |
![]() |
![]() |
#43 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
Luck; Ken |
|
![]() |
![]() |
![]() |
#44 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,471
Karma: 169115146
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
1. All text including the chapter header is left aligned 2. Paragraphs are now ragged right rather than justified 3. Gap between paragraphs have not increased despite the larger font size 4. Paragraphs start with an indented line And please note the increase in font size is one of the most important items to me. I find it very annoying that the font size using the ACCESS renderer was about 60% of the size of text when the same file with the same css was rendered by Adobe RM requiring me to adjust the font size when switching books. Regards, David Last edited by DNSB; 08-04-2013 at 10:46 PM. |
|
![]() |
![]() |
![]() |
#45 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,471
Karma: 169115146
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Regards, David |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-950 A little web too to generate custom CSS | gsgleason | Sony Reader | 0 | 12-18-2011 06:51 PM |
Custom CSS | Japes | Conversion | 5 | 07-09-2011 08:15 PM |
PRS-300 Stuck in Opening Book, Loading, restart cycle | tiggertiffin87 | Sony Reader | 0 | 10-18-2010 08:33 PM |
Custom CSS for output | deckoff | Calibre | 1 | 08-28-2010 11:55 PM |
Custom covers for Kobo's book loading screen? | Gianorama | Kobo Reader | 7 | 07-28-2010 11:44 AM |