[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ft2-demo ot-svg support ported to python freetype-py/pycairo
From: |
Werner LEMBERG |
Subject: |
Re: ft2-demo ot-svg support ported to python freetype-py/pycairo |
Date: |
Sat, 08 Jul 2023 04:27:00 +0000 (UTC) |
> I think I have a 4th thing to raise: not very clear about the
> life-cycle of rec_surface - I think there is a possibility of
> leaking them if preser_slot() is called with cached multiple times.
> (I sort of notice these non-pairing create()/destroy() as pycairo
> etc don't have explicit destroy() methods). There is an extra
> destroy() in render(), but there probably should be a destroy() just
> before create in preset_slot() too to clear the previous
> rec_surface() if one blindly creates()?
My knowledge of Cairo is essentially zero. Moazin, what do you think?
Werner
- Re: ft2-demo ot-svg support ported to python freetype-py/pycairo,
Werner LEMBERG <=