View Single Post
Old 03-01-2019, 10:21 AM   #106
Julie34
Enthusiast
Julie34 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Oct 2017
Location: where is my heart
Device: Kobo Glo, and...
Many thanks for this plug-in. It works fine, even with very big files (I converted today a book: 1185 pages on Prince PDF, 453 notes: perfect conversion). Some kick small changes with Foxit PhantomPdf (full page image for front page, open full screen, and so on).
A small problem however. At the end of an epub3, there is a table of content. And the characters on Prince table become really to big. I do 18 pt for body (PDF to be readen on small screens). The configuration I use (could be certainly better but works):

Code:
@font-face {
  font-family: serif;
  src: local("Droid Serif")
}
*/

@page {
  size: 9cm 12cm;
  margin: 5mm 1mm 1mm 1mm !important;
  @top-left {
    font-size: 30%;
    font-style: italic;
    border-bottom: solid thin black;
    margin-bottom: 1mm;
    content: string(booktitle);
  }
  @top-center {
    font-size: 40%;
    font-style: italic;
    border-bottom: solid thin black;
    margin-bottom: 1mm;
    content: string(chaptertitle);
  }
  @top-right {
    font-size: 30%;
    border-bottom: solid thin black;
    margin-bottom: 1mm;
    content: counter(page) "/" counter(pages);
  }
}

@page:first {
  margin: 1mm 1mm 1mm 1mm;
  @top-left {
    border-width: 0;
    margin: 0;
    content: normal;
  }
  @top-center {
    border-width: 0;
    margin: 0;
    content: normal;
  }
  @top-right {
    border-width: 0;
    margin: 0;
    content: normal;
  }
}

body {
  font-size: 18pt;
  font-family: Amasis30;
  text-align: justify;
  prince-image-resolution: 166dpi;
  hyphens: auto;
  string-set: booktitle "@{@{title}@}@" author "@{@{author}@}@";
}
For the table, I get: PXAAB+Amasis30 (Embeded), 18 pt characters and it is really too big!
I do not succeed to correct it, except manually on Foxit (but it is fastidious).
Any possibility to adapt my (clumsy) configuration ?
Thanks.

Last edited by Jellby; 03-11-2019 at 03:25 PM.
Julie34 is offline   Reply With Quote