i want to use a font that is in the same directory with my python program but actually python will search windows fonts folder for it, how should i fix it?
(i want to give my program the font path or import the font to use it in my labels)
for e.g :
here if the font myfont
located in fonts folder my program will work but if not , it will be shown by the default font.
from tkinter import *
root = Tk()
my_lab = Label(root,font=("myfont" ,10 )).place(x=1,y=1)
i have use font=(f"path/to/font",10)
but it doesnt work