View Single Post
Old 08-07-2014, 10:04 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
epub-azw3 @page in comment prevents publisher fonts

I think there is a conversion problem epub --> azw3 that affects Publisher Fonts in my Kindle touch

I have this is my style sheet for an epub. Doing a 'defaults' conversion makes the Publisher Font what looks like bold Helvetica

If I insert a space between '@' and 'page' or '@ page' then the publisher font setting is correct.

I would have thought that the comment would be ignored during conversion or by the KT

Code:
/* Pixels are used for @page and body (for the ereaders that will recognize 
 them) because pixels don't scale and if a reader increases the text size, we 
 don't want the margins to blow up. Note that these values will produce 
 extra-wide margins on the Kindle Fire, because the view for that ereader is 
 narrow already. */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  border-width: 0;
  font-family: "Georgia", serif;
}
@page {
  margin: 5pt;
  }
It's easy enough to fix, but I have to re-edit a number of epubs to insert that space
phossler is offline   Reply With Quote