How to define fonts used in book #949
Replies: 5 comments
-
You can't. You have to edit the book's stylesheet. There is a feature request for setting the monospace font: #222 |
Beta Was this translation helpful? Give feedback.
-
I was able to change the stylesheet in Calibre. The change appears to have been effective, the monospace text appears bigger int the Calibre reader. However, in Foliate, the text size was not affected. Of course, I have made sure that I am looking at the newly edited book in Foliate, I think, |
Beta Was this translation helpful? Give feedback.
-
You can try using WebKit's inspector in Foliate to see which styles are applied to the element. WeKit's Developer Tools can be accessed by going to the primary menu > Advanced > Enable Developer Tools. After that, you can right click on any element and select Inspect Element. |
Beta Was this translation helpful? Give feedback.
-
Thank you John, |
Beta Was this translation helpful? Give feedback.
-
There is a bug when merely reloading the book (#544). But it should work if you close Foliate then re-open the file. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm trying to read a book that contains code samples. The font used for the code samples looks tiny. I'm on Gnome 40.7 and on a high dpi screen that is being scaled at 300%. Is there a way for me to detect which style these fonts correspond to? Is there a way for me to make this font bigger? I know I can change the overall font size, but that makes regular (non-code) text look really big.
Thanks for your help and really nice software.
Version:
Beta Was this translation helpful? Give feedback.
All reactions