|
From: sfeam <sf...@us...> - 2014-02-26 05:16:24
|
On Tuesday, 25 February 2014 10:36:59 PM Mojca Miklavec wrote: > I now also tested with Qt4. Qt 4 doesn't print that long list of > errors and starts instantly (as opposed to Qt 5). > > But if I exit the Qt window and plot again, it now also takes about 30 > seconds to plot a new window. > > Mojca So if I understand correctly, OSX + Qt4 is now working correctly except for a problem with font intialization elsewhere in the system. OSX_+ Qt5 has at least the same problem with font initialization and possibly an additional delay before the first plot. These don't really seem to be gnuplot problems at all, so I suggest you hunt around to see what other OSX users are reporting about font problems. I found a couple of reports that say OSX has a problem with large numbers of installed fonts, and the only solution they offered was to uninstall as many fonts as possible. That sounds like a crock to me, but in any case it's not something we can fix in gnuplot. That isn't to say that no workaround is possible. Based on my current understanding, you could work around this problem entirely with Qt4 by having gnuplot save its font cache at the end of each qt session and read it in again at the start of the next session. Then you would hit this lethargic system response only when you requested a never-used-before font. Maintaining a private font cache would be wasted effort on linux, but if you want to code up something for OSX-only inclusion go right ahead. Ethan |