Closed takaakifuji closed 2 years ago
Please add "try ... except AttributeError:" like other places in raw.py, and perhaps also a comment about what version of freetype the routine was introduced. This construct is there to allow version differences and for adding recently introduced routines.
try:
except AttributeError:
pass
Thank you so much for pointing this out! I didn't realise the function was relatively new one.
Apparently it first appeared in 2.5 (released in 2013), so not particularly new, but certainly rarely used.
Thanks.
I noticed that
FT_Outline_EmboldenXY()
looks missing inraw.py
, which is an enhanced variant toFT_Outline_Embolden()
.Adding a Pythonic binding should be trivial, but I'm not sure it's worth it.