You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(I hope i didn't overlook a matching thread on this topic, i would also like to point out that i am not nearly a professional on this whole topic)
I am creating an application with customtkinter using pycharm in a virtual machine. The application works fine when i run it there.
After converting it into an executable file and exporting it to my host computer, i have problems with the rendering.
I could track the problem to this line: num_fonts_added = add_font_resource_ex(byref(path_buffer), flags, 0) (customtkinter/windows/widgets/font/font_manager.py)
The .otf-file-path used on my host machine seems to be correnct as far as i could debug, but i am also not able to install the font manually on my host pc, while it is possible to do so in the virtual machine. Both machines are running on Windows 10 Pro Version 22H2 (although slightly different builds).
The problem could lie with the authorization settings, as it is a company computer, therefore i am looking for a solution in which i do not need to dynamically load the font-file into the systems list of fonts (windll.gdi32.AddFontResourceExW).
Is there any way?
The text was updated successfully, but these errors were encountered:
(I hope i didn't overlook a matching thread on this topic, i would also like to point out that i am not nearly a professional on this whole topic)
I am creating an application with customtkinter using pycharm in a virtual machine. The application works fine when i run it there.
After converting it into an executable file and exporting it to my host computer, i have problems with the rendering.
I could track the problem to this line:
num_fonts_added = add_font_resource_ex(byref(path_buffer), flags, 0)
(customtkinter/windows/widgets/font/font_manager.py)The .otf-file-path used on my host machine seems to be correnct as far as i could debug, but i am also not able to install the font manually on my host pc, while it is possible to do so in the virtual machine. Both machines are running on Windows 10 Pro Version 22H2 (although slightly different builds).
The problem could lie with the authorization settings, as it is a company computer, therefore i am looking for a solution in which i do not need to dynamically load the font-file into the systems list of fonts (windll.gdi32.AddFontResourceExW).
Is there any way?
The text was updated successfully, but these errors were encountered: