View Single Post
Old 08-25-2023, 05:15 PM   #3
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,111
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
I did some testing and I can verify that the KFX renderer has a bug that sometimes causes centered text to be rendered off-center if the block element is styled with negative left and right margins. The problem is worst with short text and large negative margins.

In the attached example all of the lines text should be centered. As the length of each line increases the centering becomes more accurate.

This is not a problem with conversion to KFX. The formatting in the KFX file is correct. It is the KFX reading software that is failing to center the text properly.

I doubt Amazon is going to do anything to fix this since this situation does not come up with books that are properly formatted for publishing.
Attached Thumbnails
Click image for larger version

Name:	uncentered.jpg
Views:	110
Size:	34.0 KB
ID:	203352  

Last edited by jhowell; 08-25-2023 at 05:46 PM.
jhowell is offline   Reply With Quote