Ok, understood. I got the same output:
-family {DejaVu Sans} -size 12 -weight normal -slant roman -underline
0 -overstrike 0
It's weird, 'cause aMSN is using Droid Sans 10, an my system font is
Droid Sans 9...

Montblanc

2009/4/25 Youness Alaoui <kakar...@kakaroto.homelinux.net>:
> Well that's what i just explained, Tk already takes care of finding the
> system font for us, it's the special font name 'systemfont'.
> this is what happens in the Tk console if i type "font actual systemfont"
> (font actual is the command to say 'give me the info on the font' and
> systemfont is the name of the font) :
> (amsn) 1 % font actual systemfont
> -family {DejaVu Sans} -size 12 -weight normal -slant roman -underline 0
> -overstrike 0
> Type it yourself and see what the result is...
> and yes, we could use the systemfont as the default...
> On Fri, Apr 24, 2009 at 4:20 PM, Montblanc <toto...@gmail.com> wrote:
>>
>> Uhm, I took a look at my fonts configuration files both in /etc/fonts
>> and in my home, but couldn't find the "unique way of getting system
>> default font" as expected. :( I don't have much free time to mess with
>> tcl/tk, and I'm still working on langit, which has priority for now,
>> but why don't you just set the line to look like this?
>> -family {DejaVu Sans} -size 10 -weight normal -slant roman -underline
>> 0 -overstrike 0
>> I think DejaVu Sans is the best default font available to GNU/Linux
>> users, it's way better than Helvetica imho. Would this setting even be
>> possibile?
>>
>> Montblanc
>>
>> 2009/4/23 Youness Alaoui <kakar...@kakaroto.homelinux.net>:
>> > Ah I see what you mean now, you've got a good point... so yes, maybe the
>> > Helvetica font itself is bigger than most fonts and so when amsn fonts
>> > appear big, it's not a dpi issue or whatever, it only appears big *IN
>> > COMPARISON* with other apps because those other apps are using a
>> > different
>> > font/size...
>> > so if the ubuntu default is Deja Vu Sans 9, then it's a problem, we
>> > would
>> > then need to have aMSN take the default font from the system.. is there
>> > any
>> > 'unique' way of getting what the system default font is ? is it a
>> > gnome/kde
>> > setting or is it an X setting ?
>> > If there is, then yeay, let's use that if not (or if it fails) then
>> > fallback
>> > on Arial 10, or Ms Sans Serif 10, if none are available then fallback on
>> > Helvetica 10...
>> > ahhh... a quick look at tcl.tk man page
>> > http://www.tcl.tk/man/tcl8.4/TkCmd/font.htm#M15 :
>> > (amsn) 1 % font actual systemfont
>> > -family {DejaVu Sans} -size 12 -weight normal -slant roman -underline 0
>> > -overstrike 0
>> > so I guess we could set it to [list [font actual systemfont -family]
>> > [font
>> > actual systemfont -size]
>> > Thanks Montblanc for bringing this up and helping us understand the
>> > issue!
>> > KaKaRoTo
>> > On Wed, Apr 22, 2009 at 6:47 PM, Montblanc <toto...@gmail.com> wrote:
>> >>
>> >> Well, kakaroto, it's not our duty to solve AMD/Ati drivers problems,
>> >> aMSN is not to blame for that! :)
>> >> I'll give you an example: as you said, aMSN default font size is 11.
>> >> Let's suppose our system default general font is DejaVu Sans 9 (I
>> >> think it actually is, on Ubuntu...). To make its size look like all of
>> >> the other apps, you have to reduce font size to 10.
>> >> Now, let's suppose I set Ubuntu fonts to Dejavu Sans 10 and keep
>> >> Helvetica 11 on aMSN. There's no difference.
>> >> <detective_mode>I think we should consider aMSN font size as *system
>> >> default size +1".</detective_mode>
>> >> I tried this on my friend's system too (Kubuntu 8.10), and I had to
>> >> set his font size from Nimbus Sans 11 to Nimbus Sans 10 (by the way,
>> >> it's really a nice font), while his system fonts were Bitstream Vera
>> >> 9.
>> >> SOLUTION:
>> >>
>> >> if { [OnMac] } {
>> >> setGlobalKey basefont [list {Lucida Grande} 12 normal] ;
>> >> base font
>> >> } elseif { [OnWin] } {
>> >> setGlobalKey basefont [list Arial 10 normal]
>> >> } else {
>> >> setGlobalKey basefont [list Helvetica 10 normal] ;
>> >> }
>> >>
>> >> And, obviously, decreasing main window and chat windows resolutions
>> >> accordingly.
>> >>
>> >> These are just my suppositions; I'm human and I might be wrong. ^_^"
>> >> Just tell me what you think about it.
>> >>
>> >> Montblanc
>> >>
>> >> 2009/4/22 Youness Alaoui <kakar...@kakaroto.homelinux.net>:
>> >> > By the way, compare these :
>> >> > http://www.postimage.org/image.php?v=aV1vAd7r
>> >> > http://www.postimage.org/image.php?v=aV1P5csi
>> >> > You can see how the font size can change from one person to another..
>> >> > and
>> >> > no, all their other applications were fine (so no dpi problem or
>> >> > whatever it
>> >> > is)...
>> >> > And from this forum thread :
>> >> > http://www.amsn-project.net/forums/viewtopic.php?t=4202
>> >> > "Changed from Xinerama to TwinView, and all works great. Thanks to
>> >> > nvidia
>> >> > drivers I suppose."
>> >> > so maybe the problem is elsewhere... it may be dependent on the
>> >> > drivers...
>> >> > I don't know! How could we solve that?
>> >> > On Wed, Apr 22, 2009 at 10:37 AM, Youness Alaoui
>> >> > <kakar...@kakaroto.homelinux.net> wrote:
>> >> >>
>> >> >> Well, I use {MS Sans serif, 10} on windows, and I think on linux, I
>> >> >> use
>> >> >> {Arial 12}.. The default we use I think is {Helvetica 11}.. if
>> >> >> someone
>> >> >> has a
>> >> >> better font to suggest, then please suggest it and we can discuss
>> >> >> it...
>> >> >> But
>> >> >> note that it should be a font available on a bare system (without
>> >> >> msfonts
>> >> >> installed and stuff like that).. for the size, 10 to 12 is pretty
>> >> >> nice,
>> >> >> we
>> >> >> use 11 by default i think which should be perfect... maybe
>> >> >> Helvetica's
>> >> >> 11 is
>> >> >> a bit big though, I don't know...
>> >> >> anyways, here are the defaults :
>> >> >>   if { [OnMac] } {
>> >> >>   setGlobalKey basefont [list {Lucida Grande} 12 normal] ;#AMSN Mac
>> >> >> OS
>> >> >> X
>> >> >> base font
>> >> >>   } elseif { [OnWin] } {
>> >> >>   setGlobalKey basefont [list Arial 10 normal]
>> >> >>   } else {
>> >> >>   setGlobalKey basefont [list Helvetica 11 normal] ;#AMSN base font
>> >> >>   }
>> >> >> which I think are pretty good already!
>> >> >>
>> >> >> 2009/4/22 Stéphane Bisinger <stephane.bisin...@gmail.com>
>> >> >>>
>> >> >>> 2009/4/22 Montblanc <toto...@gmail.com>:
>> >> >>> > I'm using Kubuntu. Experiences I heard were from friends using
>> >> >>> > Ubuntu
>> >> >>> > Netbook Remix, Ubuntu, Puppy and Fedora.
>> >> >>>
>> >> >>> Gosh! :P
>> >> >>>
>> >> >>> > If you're really sure it's
>> >> >>> > distro specific, we should tell aMSN package maintainers about
>> >> >>> > this.
>> >> >>>
>> >> >>> I do not seem to have a problem with that on Gentoo, but it may be
>> >> >>> subjective. Georgia size 13 is big compared to other fonts, but it
>> >> >>> is
>> >> >>> also very readable. I tried using other fonts, but after the "cool"
>> >> >>> factor cools down (sorry for the pun :P) I realize that text is
>> >> >>> straining my eyes and go back to Georgia with size 13. Also
>> >> >>> consider
>> >> >>> that if the font is too big, users may not like it, but they can
>> >> >>> still
>> >> >>> use the program (and maybe find out they can resize the font size),
>> >> >>> on
>> >> >>> the other hand if font is too small well... good luck using a
>> >> >>> program
>> >> >>> you can't read!
>> >> >>>
>> >> >>> --
>> >> >>> Stéphane
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> ------------------------------------------------------------------------------
>> >> >>> Stay on top of everything new and different, both inside and
>> >> >>> around Java (TM) technology - register by April 22, and save
>> >> >>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> >> >>> 300 plus technical and hands-on sessions. Register today.
>> >> >>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>> >> >>> _______________________________________________
>> >> >>> Amsn-devel mailing list
>> >> >>> Amsn-devel@lists.sourceforge.net
>> >> >>> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > ------------------------------------------------------------------------------
>> >> > Stay on top of everything new and different, both inside and
>> >> > around Java (TM) technology - register by April 22, and save
>> >> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> >> > 300 plus technical and hands-on sessions. Register today.
>> >> > Use priority code J9JMT32. http://p.sf.net/sfu/p
>> >> > _______________________________________________
>> >> > Amsn-devel mailing list
>> >> > Amsn-devel@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/amsn-devel
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> Stay on top of everything new and different, both inside and
>> >> around Java (TM) technology - register by April 22, and save
>> >> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> >> 300 plus technical and hands-on sessions. Register today.
>> >> Use priority code J9JMT32. http://p.sf.net/sfu/p
>> >> _______________________________________________
>> >> Amsn-devel mailing list
>> >> Amsn-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Stay on top of everything new and different, both inside and
>> > around Java (TM) technology - register by April 22, and save
>> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> > 300 plus technical and hands-on sessions. Register today.
>> > Use priority code J9JMT32. http://p.sf.net/sfu/p
>> > _______________________________________________
>> > Amsn-devel mailing list
>> > Amsn-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/amsn-devel
>> >
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Crystal Reports &#45; New Free Runtime and 30 Day Trial
>> Check out the new simplified licensign option that enables unlimited
>> royalty&#45;free distribution of the report engine for externally facing
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> Amsn-devel mailing list
>> Amsn-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>
>

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to