From: Graham Percival Date: Thu, 4 Mar 2010 10:52:54 +0000 (+0000) Subject: Build: Reset fonts after every processed file. X-Git-Tag: release/2.13.15-1~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=62cb573600b69a0d723080c5f5918ab20d0271e6;p=lilypond.git Build: Reset fonts after every processed file. If the font configuration is reset roughly 1 in 40 times when compiling the regtests, fonts from the Pango_font hash table (physical_font_tab_) can potentially leak into any regtest, causing unwanted bloat in the tarball. TEST COMMIT, DO NOT MERGE WITH MASTER. (if possible) --- diff --git a/scm/lily.scm b/scm/lily.scm index b8a1af59a0..6726125964 100644 --- a/scm/lily.scm +++ b/scm/lily.scm @@ -726,8 +726,7 @@ PIDs or the number of the process." (ly:set-option 'debug-gc-assert-parsed-dead #f) (if (ly:get-option 'debug-gc) (dump-gc-protects) - (if (= (random 40) 1) - (ly:reset-all-fonts))))) + (ly:reset-all-fonts)))) files) ;; we want the failed-files notice in the aggregrate logfile.