Dear Bruce, thanks for the fast response. Ihave checked, the perl/Tk version which I use is 804.028 and there is no problem in the athenarc with fonts or colours. I any case I copied it to the end of the mail. The funny thing is, that Artemis works well, so there should not be anything wrong with the perl or Tk. I am not sure for 100% of course. Anyway, thanks! Regards! Csaba # These variables determine the color palette used by Athena. All of the # default values are named colors from X11's rgb.txt file. You can use X11 # named colors, any other named colors that your system recognizes, or # hexadecimal triplets (i.e. "#0000FF" for blue and so on). [colors] marked=darkviolet foreground=black background=cornsilk3 inactivebackground=antiquewhite3 activebackground=cornsilk2 darkbackground=cornsilk3 background2=bisque3 activebackground2=bisque2 disabledforeground=grey50 highlightcolor=blue2 activehighlightcolor=blue3 requiresupdate=steelblue4 button=red4 activebutton=brown3 mbutton=darkviolet activembutton=mediumpurple current=indianred1 frozencurrent=palegreen2 hlist=white single=red4 # These are the fonts used by Athena. There is currently no way of # modifying these within the preferences dialog. You will have to edit the # athenarc file directly. [fonts] smbold=Helvetica 10 bold tiny=Helvetica 8 normal med=Helvetica 12 normal medit=Helvetica 12 italic bold=Helvetica 12 bold boldit=Helvetica 12 bold italic large=Helvetica 14 normal fixed=Courier 12 entry=Courier 10 entrybold=Courier 10 bold small=Helvetica 10 normal -- Cserháti Csaba
On Tuesday 29 January 2008 10:02:26 cserhati csaba wrote:
thanks for the fast response. Ihave checked, the perl/Tk version which I use is
804.028
Csaba, I just installed 804.028 on this computer and I see the same the same error message you are reporting. (I had been using 804.027.) I think this is a bug in the 028 distribution. Searching through the perl/Tk source code, I find several places where default fonts are defined with size -12. I am a little confused by the whole color thing in the error message. But dashes have a special meaning in perl/Tk's syntax, so the error be thrown from the wrong place. I hasten to point out that is labeled as an "unauthorized release" on CPAN: http://search.cpan.org/~srezic/Tk-804.028/. Is this the version that gets installed via YAST these days on a SUSE system? Or did you install from CPAN? While I think this is not my fault, I also suspect that this is an avoidable bug. That is, I suspect that there is a particular place somewhere in Athena where I am relying on the default font rather than explicitly specifying a font. I don't know how long it will take me to find that place in the code, but I'll try. I think the simplest work-around for you is to downgrade Tk to 804.027. You seem like a capable linux user, so I don't feel bad telling you to do so. ;-) Here's the direct link: http://search.cpan.org/~ni-s/Tk-804.027/. Good luck, B -- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Methods Group at NSLS --- Beamlines U7A, X24A, X23A2 Building 535A Upton NY, 11973 My homepage: http://xafs.org/BruceRavel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
Csaba, FYI, When I downgraded my machine back to 804.027 (I am going to work on the 028 thing at home), several of the test failed. Using cpan, I had to force the installation. If you build by hand rather than using the cpan wrapper, you can (I presume!) ignore the failed tests and go ahead and install anyway. B -- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Methods Group at NSLS --- Beamlines U7A, X24A, X23A2 Building 535A Upton NY, 11973 My homepage: http://xafs.org/BruceRavel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
participants (2)
-
Bruce Ravel
-
cserhati csaba