'Use one font face from a font family with PIL.ImageFont
I am trying to use bahnschrift to automate making some words on images, but I need bahnschrift semi condensed and not any other font face. I've tried to remove the other font faces so I can just use the bahnschrift semi condensed. It didn't work.
title_big = ImageFont.truetype("bahnschrift.ttf", 48, index=0)
Anything other than index=0 throws an error. I'm on windows 10 by the way.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
