View Single Post
Old 03-19-2024, 07:28 AM   #1
moldy
Enthusiast
moldy began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Oct 2015
Device: Kindle
Issue with Font Sizes in Epub - AZW3 Conversion

Modern books often contain text messages. To differentiate them from regular text I usually convert them to sans-serif font at 0.9em in the epub css.

Example:
Code:
.txt {
  font-family: sans-serif;
  font-size: 0.9em;
}
However after conversion to AZW3 the css is changed to:
Code:
.txt {
  font-family: sans-serif;
  font-size: 0.75em;
}
This arbitrary change can make the text difficult to read so I then have to edit the AZW3 to change the size back to my original setting.

I have noticed other font size changes (headings for example) but these are not as critical. Is there a way for me to keep the font sizes as I would prefer them to be?

I have not attached a file or log because this happens on every conversion so should be easy to replicate.
moldy is offline   Reply With Quote