From: Zbigniew Diaczyszyn on
MSEdit schrieb:
> Try to find a way to keep the sizes relative.

For the moment I will offer the choice between some well working sizes
and fonts
(e.g. http://wiki.tcl.tk/451:
Courier 10/12/15/18
Times 10/12/15/18
Helvetica 10/12/15/18)

But I think it is a good idea to let the user decide the display and to
implement the possibility to increase the size point by point (like the
firefox browser does)

> Did you know that some fonts do not have bold/italic equivalents on
> Linux.

Well, I am working with Linux for years but, to be frank, I am just
using the option "sans-serif" which is normal Helvetica (Arial) or the
Dejavu family which is perfect and available on each Linux system. Sure
there will be some obscure fonts with restricted capabilities in Linux,
but they will be in Windows or in Mac systems, too. But "fixed, serif
and sans-serif" work from point to point.

Apropos: My Xfce windowmanager has as setup "sans 10" (1024x768 TFT).
TkDefaultFont is telling me that my system font has size 12 and when
setting TkDefaultFont to size 9 I get the Xfce fontsize 10 ...



From: Zbigniew Diaczyszyn on
WJG schrieb:
> If your working on Linux and want that genuine native look, why not
> try Gnocl? Gtk+ allows the application wide reconfiguration of default
> widget settings using a 'resource' file. Check the manual page.
> http://sites.google.com/site/gnocltclgtk/gnocl-user-documentation/concepts/resource-files

I am very impressed by your project but I want platform independent
development. I hope your ideas will stream in the official Tk (like
tclmacbag for MacOS).

Technically seen I would like to try your widgets because my prefered
window manager Xfce is based on Gtk.

And if Tk mainstream is flowing to slowly it would be worth while to try
your widgets just to see what is possible.

Zbigniew


From: Zbigniew Diaczyszyn on
Joe English schrieb:
[...]
> So my advice: modify TkDefaultFont, TkTextFont, etc.,
> just like you were doing.

Whew, it is not so easy.

Compiling my app in a starkit for MacOS with tclkit-darwin-aqua 8.5.8.1
modification of the Tk fonts fails :-(

But:

Starting my application with an embedded Wish version that has been
compiled with Daniel Steffen's Tk Cocoa 8.5.8 source code shows the
desired effect :-)

So, probably with Tk version 8.6 there will be platform independence in
this issue.

Zbigniew
From: WJG on
On Apr 10, 7:48 pm, Zbigniew Diaczyszyn <z....(a)gmx.de> wrote:
> WJG schrieb:
>
> > If your working on Linux and want that genuine native look, why not
> > try Gnocl? Gtk+ allows the application wide reconfiguration of default
> > widget settings using a 'resource' file. Check the manual page.
> >http://sites.google.com/site/gnocltclgtk/gnocl-user-documentation/con...
>
> I am very impressed by your project but I want platform independent
> development. I hope your ideas will stream in the official Tk (like
> tclmacbag for MacOS).
>
> Technically seen I would like to try your widgets because my prefered
> window manager Xfce is based on Gtk.
>
> And if Tk mainstream is flowing to slowly it would be worth while to try
>        your widgets just to see what is possible.
>
> Zbigniew

The source simply needs recompiling for other platforms that use Gtk.
From: Zbigniew Diaczyszyn on
WJG schrieb:

> The source simply needs recompiling for other platforms that use Gtk.

Well, on the Mac you can install X11 and mac-porting all the Unix-stuff
but I wonder for which purposes. A normal user bying a Mac wants a Mac
with Cocoa and not a Xfce Gtk. The same is valid for a normal Windows
user: He wants his "native" display and is not interested in cygwin
based experiments they might be as excellent as possible, e.g.: Try to
convince your spouse to use Linux instead of Windows ...

But thank you for the hint: I did not know of gnocl and I will project
to bind a version of my app with gnocl just to show the Windows fraction
that Linux is not just a console application ... :-)

Zbigniew