tkfont some fonts are not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • greenpy
    New Member
    • Oct 2012
    • 4

    tkfont some fonts are not working

    i try to use all fonts in tkfont. But some fonts are not working.
    I must use tt fonts in tkfont
    please give a solution
  • dwblas
    Recognized Expert Contributor
    • May 2008
    • 626

    #2
    i try to use all fonts in tkfont
    What does that mean as we can not tell without some code? This will print all fonts available to Tkinter
    Code:
    from Tkinter import *
    from tkFont import families
    root=Tk()
    
    print families(root)
    We can not answer your question without knowing the operating system and if the fonts are listed by the above print statement. If the font you want you use is not listed then it is not in your font path and/or is not recoginzed by the desktop manager. Did you install additional fonts (perhaps incorrectly) and are those the ones that can not be found?

    Comment

    Working...