#180 -nofontconfig has no effect

svn
closed-fixed
nobody
fontconfig (1)
5
2014-12-10
2014-02-22
Josh
No

-nofontconfig had no effect for a long time and still made fontconfig create a cache (which might be undesirable especially with performance issues some people experience), it was fixed in r36741. However, your verbose font scanning patch seems to make it create a cache unconditionally. I think I found a solution to keep the spamming when fontconfig is actually used by wrapping that code in a 'if' block:

/* force cache creation here and display fontconfig scan activity */
if (font_fontconfig >= 0) {
  FcDebugVal = 128;
  FcConfigEnableHome(FcFalse);
  FcInit();
  FcDebugVal = 0;
}

Tested with latest svn & FontConfig 2.11 on Windows. -nofontconfig doesn't create a cache and omitting it/-fontconfig still gives a verbose scan.

Discussion

  • Gianluigi Tiesi

    Gianluigi Tiesi - 2014-02-22

    it is reasonable, I've integrated the patch thanks

     
  • Gianluigi Tiesi

    Gianluigi Tiesi - 2014-03-09
    • status: open --> closed-fixed
     
  • Gianluigi Tiesi

    Gianluigi Tiesi - 2014-03-09

    integrated in r36986+g9c99bc1

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks