]> git.donarmstrong.com Git - lilypond.git/commitdiff
Build: Reset fonts after every processed file.
authorGraham Percival <graham@percival-music.ca>
Thu, 4 Mar 2010 10:52:54 +0000 (10:52 +0000)
committerGraham Percival <graham@percival-music.ca>
Thu, 4 Mar 2010 10:52:54 +0000 (10:52 +0000)
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)

scm/lily.scm

index b8a1af59a0b625993e0c795619b24038710cae0d..6726125964ef9e0f10998bc3eb23816cecbbb110 100644 (file)
@@ -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.