summaryrefslogtreecommitdiff
path: root/src/fontloader/misc/fontloader-font-cid.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-04-10 11:01:50 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-04-10 11:01:53 +0200
commitcc17dcae6df9247b32cbeeee59af677838d1b3f5 (patch)
treea1d44c1dc76c46ef7787b8d8e4cb8de5a694bd0d /src/fontloader/misc/fontloader-font-cid.lua
parent2a802efe6456f8cfeda53b6df1201413e199812f (diff)
downloadluaotfload-cc17dcae6df9247b32cbeeee59af677838d1b3f5.tar.gz
[db] do not rely on __gc for font object lifetimes
The penalty for having font object closed automatically is huge: It takes around nine seconds more to rebuild the font database: 58 s with __gc, 49 s by closing manually. Even if it’s not the default, we reintroduce the code for closing fonts manually to avoid that situation.
Diffstat (limited to 'src/fontloader/misc/fontloader-font-cid.lua')
0 files changed, 0 insertions, 0 deletions