Here's a test version for you guys to try out. Before attempting to tweak the fonts, you may want to try it out as is. I changed the defaults to a sans-serif font and changed the font-size to 10 point (I was using a pixel default before). Regardless, you'll need to install the plugin and run it/close it at least one time before the tweak-able preferences will be created in the preferences json file.
As far as tweaking goes, there's two settings available: "font_family" and "font_size". Both are under the "font_tweaks" section.
@Thasaidon: if you're unfamiliar with manually editing a plugin's preferences file, the easiest way to get to it is to open the "Manage Plugins" dialog and click the "Open Preferences Location" button in the bottom right-hand corner of the dialog box. From there you'll want to open the "plugins_prefs" folder and look for the folder with the plugin's name (in this case "TagMechanic") and open it. In that folder you should find a "TagMechanic.json" file. Open it in a text editor to make the following changes.
Look for the new font_tweaks section. The default (after first run) will be:
Code:
"font_tweaks": {
"font_family": "Helvetica",
"font_size": "10"
}
Tkinter guarantees that the following font names will always map to a working font-family:
Helvetica (sans-serif)
Times (serif)
Courier (Monspaced)
So while you're free to experiment with other system font names, I can't guarantee they'll work with Tkinter (or my code).
A positive font size value (yes, I know it's a quoted string in this file ... humor me!) specifies points and a negative value ("-12") specifies pixels.
Make your changes (carefully, so as not to change other settings) and they should take effect when you next run the plugin.
Let me know if it's working for you.
@odamizu: remember that installing this new version of the plugin will mean you'll have to redo your code-tweaks from the previous discussion here:
https://www.mobileread.com/forums/sh...8&postcount=54