|
From: Procházka L. <lp...@po...> - 2010-05-06 20:11:10
|
Hello, I'm a WinXP user. I'm trying to change the default window font from "Terminal" to "Courier New". In the manual I found this could be done by specifying "TextFont" in the wgnuplot.ini, which is placed in the directory where the system variable "AppData" points. So here is the content of my wgnuplot.ini: [WGNUPLOT] TextOrigin=44 44 TextSize=567 460 TextMinimized=0 TextFont=Courier New,10 SysColors=0 The problem is that gnuplot still uses the (default) terminal. What's wrong? I have a "suspicion": My country is the Czech Republic; that means our language uses diacritics in words; and Windows gladly use spaces in file/directory names. So here is the contents of my AppData variable: D:\Lukas\Docs\GNUPlot>set appdata APPDATA=C:\Documents and Settings\Lukas\Data aplikací As you can see, there is the "í" letter - could this be the problem? And one more idea - - if the gnuplot doesn't find the wgnuplot.ini in the directory where the %AppData% points, would it try to find it in the directory where the %GNUPLOT% points? The idea is based on that I (and maybe more people) synchronize their data between more computers (devices). It may be probable that if the wgnuplot.ini was placed in the %GNUPLOT% directory, it would be involved for synchronization process (especially if it contains gnuplot.ini startup file). But I don't believe so if it was placed in %AppData%. Maybe one more question concerning keeping the window position - it might be useful to keep it separately for each computer name. The reason is that each computer might have another resolution for the same user - e.g. "normal" monitor at work, wide monitor at home and a small monitor at laptop. Than it would be useful to keep window positions for each %ComputerName% (which would distinguish the computer used). So the .ini section would look like (supposing "set computername" gets e.g. "Lukas-Home"): [WGNUPLOT] TextFont=Courier New,10 [WGNUPLOT.WindowSize.Lukas-Home] Left=0 Right=120 Top=0 Bottom=90 IsMaximalized=0 (Just a suggestion.) Thank you. Best Regards, Lukas |