]> git.donarmstrong.com Git - lilypond.git/commit
Fontconfig: simplify font caching process.
authorPatrick McCarty <pnorcks@gmail.com>
Thu, 28 Jan 2010 21:04:37 +0000 (13:04 -0800)
committerPatrick McCarty <pnorcks@gmail.com>
Thu, 28 Jan 2010 21:16:05 +0000 (13:16 -0800)
commit7a68f092092cec5f0005bab83daa7bdb228bc4ab
tree31b269643539732b501134c3c9159f3526b046e1
parentbc95f4434f760d41191341ab4508b2064eb19025
Fontconfig: simplify font caching process.

- Remove FcConfigGetCache(), since it returns NULL in all modern
  Fontconfig versions.

- Remove obsolete code.  Fontconfig automatically sets up rescanning
  intervals for font caches and does not use per-user cache files
  anymore.

- Use FcInitBringUptoDate(), which takes care of all caching issues
  behind the scenes.  For example, it will automatically call
  FcConfigBuildFonts() and FcConfigSetCurrent(), if necessary.
lily/font-config.cc