Can you point me to some docs about how this can be done?
https://freetype.org/patents.html
Make sure you don't have this in your fontconfig:
<match target="font"> <edit name="autohint" mode="assign"> <bool>true</bool> </edit> </match>
Can you point me to some docs about how this can be done?