Quote:
Originally Posted by cisaak
One more request: My masthead title is truncated when viewed on my Kindle. Is this because the font is too large? How can I fix?
|
If that is your problem, then extra CSS will let you control fonts.
I have no particular expertise on CSS or the Kindle so I can't really give you the fix, but try looking at the css file in your EPUB resulting from the recipe. Look at the masthead text and the css that controls it. Change the css until it works, then add it to your recipe. Here is some stock extra css as an example that can be added to a recipe:
Code:
extra_css = '''
h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
h2{font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:small;}
p{font-family:Arial,Helvetica,sans-serif;font-size:small;}
body{font-family:Helvetica,Arial,sans-serif;font-size:small;}
'''
Copy and add it as is, with the triple single-quotes on both ends, then modify as needed.