From: sfeam <sf...@us...> - 2018-03-15 01:10:58
|
On Thursday, 15 March 2018 09:38:21 Tatsuro MATSUOKA wrote: > On Ubuntu on WSL and Cygwin > > At first plot in gnuplot in the bash session. > > $ gnuplot-qt > gnuplot> pl x > > Warning: slow font initializationgnuplot> qt_processTermEvent received a GE_fontprops event. This should not have happened > > plot is > http://www.geocities.jp/tmgpltwin/Files/gnuplot_qt_first_20180315.png > > If re-execute > pl x > plot becomes correct. > > Then > > gnuplot> exit > And re-execute gnuplot > $ gnuplot-qt > > gnuplot> pl x > > Then plot is correct. > > Perhaps interaction between gnuplot and X-sever has some issue. > Am I right? Not the X-server, the font server. If the font is not yet in the system font cache it must be processed and stored. This can be slow, so the first time a font is requested you may get the error message about "slow font initialization". After that the font is in the cache so access is fast. On my systems the font cache is persistent so you would generally only see such a message if you have not logged in or run gnuplot for a long time. I do not know how persistent the cache is under Windows. > Does anyone know work around? If it only happens once per session I don't think it an an error. The font server really is slow on the first access and gnuplot is telling you that. The same thing would happen for any other program that requested a font for the first time, but it might not print a message. Ethan |