View Single Post
Old 03-30-2025, 06:11 PM   #917
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,199
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Upton testing and investigation found that for KFX need to under
"convert book--look&feel--text--Text justification" needs to be set to "original".

bernie

KFX is a nightmare of a format.

Quote:
Originally Posted by jhowell View Post
It works for me. I just converted a book using the calibre conversion dialog from KFX to EPUB that had a short chapter of centered text. Here is what KFX Input produced:
Code:
<body class="class-1">

.class-1 {font-family: sans-serif; font-weight: bold; text-align: center}
And here is the resulting EPUB produced by calibre conversion with text-align retained:
Code:
<body class="class">

.class {
    display: block;
    font-family: sans-serif;
    font-weight: bold;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    margin: 0 5pt;
    }
I suspect that you have some other conversion setting that is interfering. I might be able to tell from a full conversion log.
Attached Thumbnails
Click image for larger version

Name:	Screenshot at 2025-03-30 18-05-14.png
Views:	36
Size:	142.8 KB
ID:	214754  
gbm is offline   Reply With Quote