![]() |
#61 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,966
Karma: 131375774
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#62 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,485
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yep, the issue with Gentium (and a few other 'old' fonts) is that their truetype bytecode was optimized for some old and forgotten rendering engines, and freetype's bytecode interpreter just plain mangles it.
On a proper Linux system, you can simply workaround that by enforcing autohinting on these specific families via fontconfig. But ttfautohint provides a 'cross-platform' answer, by rebuilding the bytecode hinting with the help of freetype's autohinter ![]() Last edited by NiLuJe; 10-17-2015 at 10:55 AM. |
![]() |
![]() |
![]() |
#63 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,966
Karma: 131375774
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#64 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,485
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
FWIW, you also have a number of systems that will *never* honor bytecode hinting, AFAIK: Android and anything Apple, be it iOS or OS X, for instance
![]() |
![]() |
![]() |
![]() |
#65 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,966
Karma: 131375774
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#66 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
|
Quote:
pre {font-family: DejaVuSansMono;} and nothing about styling of body or p. So the first part of your post, before editing, answers my question - I can use specific font name (for everything that I don't want to be in user selected font) and not just font family name. To say it simple - everything in ebook that is not <p> or <body> and has its font-family defined, will be using this defined font-family, whether it is font family (e.g serif) or specific font (e.g DejaVuSansMono). Tomorrow I will test it after firmware update. |
|
![]() |
![]() |
![]() |
#67 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37,654
Karma: 149865198
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
I will admit holding the opinion that many ebooks are created by high school students doing work experience -- preferably high school students who have managed to avoid any knowledge of typography or book and ebook design. After all, it's obvious that if a paragraph can indented or have a full lines worth of blank space separating it from another paragraph, it's an even better idea to use both. It is a good idea to add blank lines at the end of a chapter to make it look like a dead tree book totally disregarding the point that on any device without the same window size as the ebook was created on, you're very like to see blank pages (without even the "This page intentionally left blank" declaration). That ebooks should use absolute sizing for images so on a high-res device we get the thumbnail sized images that we all love seeing. When embedding fonts, you should choose the fugliest fonts you can find. |
|
![]() |
![]() |
![]() |
#68 | |
Bookworm
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
Quote:
Last edited by Nick_1964; 10-18-2015 at 06:06 AM. |
|
![]() |
![]() |
![]() |
#69 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Sep 2014
Device: none
|
Well, there are currently no colour-ePaper-displays AFAIK, so every eBook reader with a colour display will be (more or less) a tablet, and will have to fight for market shares with a myriad of other tablets. There's 0 chance for a company like Kobo to make money in a market dominated by Microsoft, Apple, Google, etc. .
eBook layout/design: I'm glad I'n not the ony one who thinks that eBooks are created by people neither very good a typography/layout nor HTML/CSS coding (or monkeys with computer keyboards, not sure which) (; . I've also started editing my eBooks, which is probably the only way of making them display as nicely as possible. It's a lot of work, but worth it. There's so many ways if implementing stuff in HTML/CSS that there probably never will be an easy solution for "polishing" badly designed eBooks. |
![]() |
![]() |
![]() |
#70 | |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
|
|
![]() |
![]() |
![]() |
#71 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,485
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@idoit: The ones using Carta screens (H2O, Glo HD) definitely *should*, but for baffling reasons, Kobo (I assume) chose not to. The waveforms are not tailored for it, and the eInk driver might not be up to the job either as-is...
Was a huge disappointment when I got my H2O, to tell you the truth. That this is *still* the case on the Glo HD even more so. |
![]() |
![]() |
![]() |
#72 | |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
![]() Mini uses Vizplex or Pearl?! I guess former, but there are posts referring to latter! |
|
![]() |
![]() |
![]() |
#73 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
|
Sorry for the offtopic, but what is the "regal" waveform tech?, and why it's a shame that H2O don't have it?
|
![]() |
![]() |
![]() |
#74 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,485
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
In short, a bit of trickery making non-flash refreshes much more efficient (i.e., faster and with much, much, much less ghosting, while still being as accurate as a proper refresh).
|
![]() |
![]() |
![]() |
#75 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
When fullScreenReading=true the following is added to the built-in KePub stylesheet:
Code:
img { display: block; margin-left: auto !important; margin-right: auto !important; width: auto !important; height: auto !important; } The screenshots below show a book where the publisher has included an image of some hebrew letters (instead of doing a proper job and embedding a font containing glyphs for the letters) in the following way: Code:
<p class="indent">It was quite by accident that Brother Francis finally discovered the pilgrim’s stone. While wandering thereabouts, he stumbled over the stake which the old man had driven into the ground as a marker. He found himself on his hands and knees staring at a pair of marks freshly chalked on an ancient stone: <img alt="image" height="15" src="images/Art_P11.jpg" width="18"/></p> 2. Patched, KePub, fullScreenReading=true This patch disables that added style by replacing img --> _mg, so that images are displayed the same way in KePub full-screen mode as they are in KePub normal reading mode (and ePubs in both modes). Multi-version patch, paste into libnickel.so.1.0.0.patch: Spoiler:
Last edited by GeoffR; 10-26-2015 at 02:25 AM. Reason: ... some hebrew letters ... |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.15.0 | GeoffR | Kobo Developer's Corner | 146 | 05-24-2016 06:10 AM |
Instructions for patching firmware 3.17.3 | GeoffR | Kobo Developer's Corner | 60 | 09-17-2015 05:35 PM |
Instructions for patching firmware 3.17.0 | GeoffR | Kobo Developer's Corner | 49 | 08-16-2015 05:20 AM |
Instructions for patching firmware 3.16.10 | GeoffR | Kobo Developer's Corner | 12 | 08-14-2015 03:40 AM |
Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x | GeoffR | Kobo Developer's Corner | 285 | 08-27-2014 10:06 AM |