Hi Andrea: Thanks for the patch! In fact I have local modifications that is exactly the same (well except my font is size 14) :-) Anyways the reason I brought this up is because most of the functions (like yesno_window, done_window, error_window) in lib/OSCAR/Tk.pm duplicate/overload functions in lib/SystemInstaller/Tk/Common.pm. But since functions from both files are used throughout OSCAR installation, both need to be modified therefore I suggest we merge the changes. Thanks, Bernard
________________________________ From: [EMAIL PROTECTED] on behalf of Andrea Righi Sent: Wed 02/08/2006 08:15 To: [email protected] Subject: Re: [Oscar-devel] Fedora Core 5 Gnome default Tk font Regarding lib/OSCAR/Tk.pm we could force in this way (see the attached patch). BTW, it's the same font used in si_monitortk... Cheers, -Andrea Bernard Li wrote: > Hi guys: > > I was talking to Stu on IRC regarding how I found that Fedora Core 5's > default Tk font is slightly different than that of what it was on Fedora > Core 4 and other distroes. > > I decided to take screenshots of what the dialog box looks like after > the completion of "Install OSCAR Server Packages". > > Here are the files for Fedora Core 4 and Fedora Core 5 respectively: > > http://www.bcgsc.ca/downloads/oscar/fc4.png > http://www.bcgsc.ca/downloads/oscar/fc5.png > > Notice that the font size for Fedora Core 5 is slightly bigger. > > Stu mentioned that he didn't notice anything strange - well it could be > because I'm using Gnome and he's using KDE. > > One way I have found to get around this issue is to hardcode the font we > use for all our Tk widgets in one common place so that we can change it > easily and make sure that all calls that require fonts use this > variable. However this needs to be updated in two places - namely in > SystemInstaller's lib/SystemInstaller/Tk/Common.pm and lib/OSCAR/Tk.pm. > At some point we should look into merging the two... > > Cheers, > > Bernard
<<winmail.dat>>
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
