View Single Post
Old 07-01-2016, 02:51 AM   #1322
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,149
Karma: 169815798
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Andrew Ashling View Post
I'd like for Kobo to fix the dropcaps settings in the Kobo Glo HD & Kobo Aura H2O.

They were perfect on the Kobo Glo (and I checked on the Onyx Boox C67ML Carta2 which renders them also perfectly), but somehow the dropcaps of the same books are too high on both the Glo HD and the Aura H2O.
I've seen the same issue in several ebooks where some (expletive deleted) munged the CSS by using absolute units instead of relative units. So a dropcap that was specified in pixels might look good on a Glo (768x1024) but not on a H2O (1080x1430) or Glo HD (1072x1448). The same lack of thought that leads to image sizes specified in pixels so they are look decent on a Touch (600x800), a bit small on a Glo and downright tiny on a H2O or Glo HD.

Sample code for both styles:

Code:
span.dropcap {
    float: left;
    font-size: 72px;
    line-height: 56px;
    padding-top: 3px;
    padding-right: 6px;
    padding-left: 3px;
    font-family: "Times New Roman";
    }
Code:
span.dropcap2r {
    float : left;
    font-size : 3.07em;
    margin-top : -0.45em;
    margin-right : 0.05em;
    margin-bottom : -0.5em;
    line-height : 1.5em;
    }
I have seen some blame placed on Kobo for following the ebook specified style (a shocking thought!) and not scaling pixels to compensate for the screen resolution changes. An issue that can so easily be avoided by using relative measurements which scale.
DNSB is online now   Reply With Quote