: [python-win32] Load custom font
Here’s a more windows centric approach and it foreaches through all the Windows
fonts:
** It’s interesting that it says that it was last modified today… odd, but
whatever
from win32com.client.dynamic import Dispatch
ids
Here’s a more windows centric approach and it foreaches through all the Windows
fonts:
** It’s interesting that it says that it was last modified today… odd, but
whatever
from win32com.client.dynamic import Dispatch
ids =
[0,1,2,3,4,5,6,9,10,19,21,25,33,34,58,62,165,166,167,170,191,192,193,
While this isn't win32ui, I hope it helps.
pip install Pillow
from PIL import ImageFont
font = ImageFont.truetype("c:\\windows\\Fonts\\verdana.ttf", 28,
encoding="unic")
font.font.family
font.font.height
font.font.style
google search revealed this:
https://stackoverflow.com/questions/24085996/