Files
Crosspoint/lib/EpdFont
jpirnay ad52abf069 Close source TTFont after instantiateVariableFont rebind
instantiateVariableFont with default inplace=False returns a *new*
TTFont; rebinding `font` strands the source TTFont and its file handle
open until GC. The trailing font.close() then closes only the new
pinned-instance object.

Capture the source as a separate reference and close both with nested
try/finally: inner finally closes the static instance after save (or
on save failure), outer finally closes the source unconditionally.
2026-05-10 10:35:51 +02:00
..
2026-04-29 09:08:07 +02:00
2026-05-02 16:40:23 +12:00
2026-04-28 15:47:51 +02:00
2026-04-28 15:47:51 +02:00