View Single Post
Old 05-05-2021, 02:42 PM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,845
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I was able to convert this eBook into a non-fixed layout eBook. But it's divided into pages to it's not yet properly reflowable. You would have to merge the pages. Also, one other issue is sometimes the last paragraph is split between two HTML files.

I did this with a lot of searching/replacing using regex and Diaps Editing Toolbag plugin for the Calibre editor.

But just WOW! That eBook is one heck of a disaster. But it can be fixed if you want to put the work into it.

In order to save you from having to edit the CSS, here is the CSS I ended up with after my editing.

Code:
@font-face {
  font-family: Constantia;
  font-style: normal;
  font-weight: normal;
  src: url(../font/Constantia.ttf);
}
@font-face {
  font-family: Constantia;
  font-style: normal;
  font-weight: bold;
  src: url(../font/Constantia-Bold.ttf);
}
@font-face {
  font-family: Constantia;
  font-style: italic;
  font-weight: bold;
  src: url(../font/Constantia-BoldItalic.ttf);
}
@font-face {
  font-family: Constantia;
  font-style: oblique;
  font-weight: bold;
  src: url(../font/Constantia-BoldItalic.ttf);
}
@font-face {
  font-family: Constantia;
  font-style: italic;
  font-weight: normal;
  src: url(../font/Constantia-Italic.ttf);
}
@font-face {
  font-family: Constantia;
  font-style: oblique;
  font-weight: normal;
  src: url(../font/Constantia-Italic.ttf);
}
@font-face {
  font-family: "Milton Two Bold";
  font-style: normal;
  font-weight: normal;
  src: url(../font/MiltonTwoBold.otf);
}
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
img {
  max-height: 100%;
  max-width: 100%;
}
p {
  margin-top: 0;
  margin-bottom: 0;
  text-indent: 1.2em;
}
p.ParaOverride-1 {
}
img._idGenObjectAttribute-1 {
  min-width: 100%;
}

Last edited by JSWolf; 05-05-2021 at 02:54 PM.
JSWolf is offline   Reply With Quote