What if you chafe the font size to 10 on the Mac side? That always works for
me.
Tim
On Feb 14, 2014, at 8:47 AM, Bhaskar Chaudhary wrote:
> Thanks Kevin
>
> So what do you suggest to make it render compatibly on both platforms.
> Do we need to remove font="Times 8 bold" from mytext as follo
On Feb 14, 2014, at 8:39 AM, Kevin Walzer wrote:
> On 2/14/14, 10:21 AM, Bhaskar Chaudhary wrote:
>> Hi Kevin
>>
>> On Windows it looks like the following attachment.
>>
>> regards
>> Bhaskar
>
> Thank you. As I expected, that is simply the difference in the font rendering
> engines on both p
Stupid Apple autocorrect - that should have been “change” not “chafe” :)
Tim
On Feb 14, 2014, at 9:01 AM, Tim Jones wrote:
> What if you chafe the font size to 10 on the Mac side? That always works for
> me.
>
> Tim
>
> On Feb 14, 2014, at 8:47 AM, Bhaskar Chaudhary wrote:
>
>> Thanks Ke
Hi,
On Fri, 14 Feb 2014 19:50:13 +0530
Bhaskar Chaudhary wrote:
> Hello
>
> Thanks Michael for the suggestions.
>
> I tried inserting root.tk.call('tk', 'scaling', '-displayof', '.',
> root.winfo_fpixels('1i') / 72.0) before adding any children to the
> root.
with this you "change" the applic
Thanks Tim/Kevin
"What if you chafe the font size to 10 on the Mac side"
Seems like this suggestion by Tim is a better way to do this. But then
there will have to be different code for different platform.
thanks
Bhaskar
On 2/14/14, Tim Jones wrote:
> What if you chafe the font size to 10 on
On 2/14/14, 10:47 AM, Bhaskar Chaudhary wrote:
mytext = Text(root, background='#101010', foreground="#D6D6D6",
borderwidth=18, relief='sunken',width=16, height=5)
Does that render properly on Mac.
Yes--without specifying a font or size, Tkinter simply uses the default
setting for the platform
Thanks Kevin
So what do you suggest to make it render compatibly on both platforms.
Do we need to remove font="Times 8 bold" from mytext as follows:
mytext = Text(root, background='#101010', foreground="#D6D6D6",
borderwidth=18, relief='sunken',width=16, height=5)
Does that render properly on Ma
On 2/14/14, 10:21 AM, Bhaskar Chaudhary wrote:
Hi Kevin
On Windows it looks like the following attachment.
regards
Bhaskar
Thank you. As I expected, that is simply the difference in the font
rendering engines on both platforms. 8 point Times Bold is as unreadable
on Word on the Mac is it is
On 2/14/14, 9:44 AM, Bhaskar Chaudhary wrote:
The only place I specify a font is on this line:
mytext = Text(root, background='#101010', foreground="#D6D6D6",
borderwidth=18, relief='sunken',width=16, height=5, font="Times 8
bold" )
Well, now I'm confused. I translated the code to Tcl and ran i
Thanks Kevin
The only place I specify a font is on this line:
mytext = Text(root, background='#101010', foreground="#D6D6D6",
borderwidth=18, relief='sunken',width=16, height=5, font="Times 8
bold" )
I am using native Aqua version as I don't explicitly change it anywhere.
I am not sure of what yo
On 2/14/14, 9:20 AM, Bhaskar Chaudhary wrote:
Any more suggestions on how to correct this issue will be really appreciated.
A few observations:
1. That font looks pixellated, which means it's a bitmap font. Are you
using the native Aqua version of Tk or an X11-based one? Bitmaps fonts
can st
Hello
Thanks Michael for the suggestions.
I tried inserting root.tk.call('tk', 'scaling', '-displayof', '.',
root.winfo_fpixels('1i') / 72.0) before adding any children to the
root.
I also tried using negative size value ("Times -8 bold") as suggested.
Neither of the two made any difference on
Hi,
On Tue, 11 Feb 2014 14:49:31 +0530
Bhaskar Chaudhary wrote:
> Hi
>
> The following piece of code displays correctly on Windows PC but it
> displays all messed up in OS X (10.9.1 and others) as shown in
> attachment below.
(...)
>
> Any reasons why it shows the way it does on Mac.
> Thanks.
Hi
The following piece of code displays correctly on Windows PC but it
displays all messed up in OS X (10.9.1 and others) as shown in
attachment below.
from Tkinter import *
root = Tk()
root.geometry('142x280+150+200')
root.configure(background='#4D4D4D')
mytext = Text(root, background='#101010',
14 matches
Mail list logo