Menu

#2316 "Slow font init" with every first qt plot in a session (Windows)

open
2023-06-03
2020-09-19
No

Using the 5.4 windows binaries (rc1,5.4.0), the first plot of a gnuplot session with the qt terminal yields a broken plot and a "Warning: slow font initialisation" message. I assume this is a configuration problem of fontconfig as shipped with the binary. But I don't know enough about fontconfig to figure out what is going on.
This is particularly bad since qt is the default terminal (new from 5.2). If this cannot be fixed, I propose to change the default to windows or wxt terminals instead.

Discussion

  • Ethan Merritt

    Ethan Merritt - 2020-09-20

    Does it help to explicitly run fc-cache before running gnuplot?

     
    • Elwood Downey

      Elwood Downey - 2023-06-02

      No. Ran across this because I am getting the same error often (not always) on ubuntu 20.04 gnuplot 5.4. Running fc-cache -v -f -r did a lot of stuff but did not help gnuplot using term qt.

       
  • Tatsuro MATSUOKA

    For recent fast computers, this phenomena rarely happen on Windows.

     

    Last edit: Tatsuro MATSUOKA 2023-06-03

Log in to post a comment.