View Single Post
Old 11-09-2022, 06:41 PM   #7
lysakowski
Junior Member
lysakowski began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2015
Location: Boston area
Device: Adobe Acrobat, iPad 2, Android Phone, Windows 10
Thank you for the answers. Disabling font size rescaling appears fixed the problem of making the Python code font smaller font.

It looks like part of the problem is the source ePub files themselves. Many ePub books use a font face for Python-highlighted code that is smaller than the surrounding (non-highlighted) text, making it harder to read. It would be nice if I could actually INCREASE Python highlighted code font size 1-2 points, to improve the readability of the PDF over the original ePub.

Does anyone have any examples of how to accomplish this, i.e., selectively increase the output of specific styles of text? It looks like the publishers are using <pre> tags or pygments package for rending the code. I will open the ePub in the Editor to see if I can find the CSS code for highlighted Python.

@BetterRed, Do you mean that the change applies to ALL CONVERTERS, or just the ePub to PDF converter?

@theducks, where is the tick or button to make Conversions "forget previously used settings"?

This is what I want when I am tuning the conversion process. I don't want to have to make the change every time I do a conversion, because I may not remember the settings that result in a good conversion.

Also, I would like to be able to give the converted file a different name so that I can distinguish my conversion process trial runs from one another.

Thanks guys.

I will report back when I get a working solution.

Richard
lysakowski is offline   Reply With Quote