There's already a tweak to specify the font paths. If you want a UI for the tweak, use the FontFamilyModel from gui2.widgets, see the lrf output or mobi output plugins for an example.
Qt doesn't make paths to fonts available, because of DRM (windows tries to prevent programs from accessing font data unless they have the embed bit set).
|