Open BaiterYamato opened 1 year ago
I got the same error.
I needed to download DejaVuSans.ttf from https://www.1001fonts.com/dejavu-sans-font.html and put it in stable-diffusion-webui\venv\Lib\site-packages\cv2\qt\fonts\
.
worked, thx!
same error, but after I put DejaVuSans.ttf to \venv\Lib\site-packages\cv2\qt\fonts\
still not work,
Even installing DejaVuSans.ttf font in my computer and restarting the computer, and try in 4 different web browser , still not work.
How about adding print(font_path)
after this line?
It'll print where DejaVuSans.ttf
should be located.
jkawamoto, it work , thanks a lot, you are the master better than ChatGPT
My ppath is \python\lib\site-packages\cv2\qt\fonts\DejaVuSans.ttf
this error appears when i try to draw anything in the canvas, idk why