View Single Post
Old 12-28-2019, 04:41 AM   #1
Vroni
Banned
Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'
 
Posts: 168
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
bk.font_iter() is listing no fonts

Hi,

what am i doing wrong?

Code:
def run(bk):
    print('xxx-|Start|-xxx')
    for (id, href, mime) in bk.font_iter():
        print('xxx-|',id , '|-xxx')
        print('xxx-|',href , '|-xxx')
        print('xxx-|',mime , '|-xxx')
   
    print('xxx-|End|-xxx')

    return 0
i am getting no fonts listet

mac os mojave, sigil 1.0.0

The fonts i have in the book are valid as they do show up in preview, in ADE and on my devices.

Regardless of what fonts i'm adding the list is always empty
Vroni is offline   Reply With Quote