On Thu, 2002-04-11 at 16:36, Scott Klement wrote:
[snip]
> Here's what it does:
>
>        1) TN5250 takes the size of the window and divides it by the
>            number of columns, and rows to figure out how big of a
>            character we need.
>
>        2) It then asks Windows to create a font in the size that
>             we need.
>
>        4) Windows will pick the closest size that the font supports.
>
>        5) We then resize the window to the size font that Windows
>             gave us.
>
> The problem seems to be that Windows is picking a larger font than the
> size that we requested, and it causes the TN5250 window to be too big
> for the screen.
>
> This is one of those non-intuitive things that made me want to get rid
> of the +resize_fonts capability in the first place :)

Hi Scott

I get some interesting side effects with the font switching too. Full
screen and Courier New are spot on for me. On the other hand if the
window isn't maximized, say 90% of the width & height in 24x80 mode and
you display a spoolfile in 27x132 it makes the window longer (filling
the screen top to bottom) but slightly narrower (down to 80%). Exit the
spool file to 24x80 and it leaves the window nearly the same size. View
the spool again and width is down to 70% or so. I assume it's using the
most recent width in the calculation, rather than the original each
time. I tried this a few times and ended up with a window only an inch
across ;-)

One other thing. I still don't see defaults from tn525rc showing up in
the Quick Connect dialog. Have I missed something (command line option
maybe)?

Regards, Martin
--
[EMAIL PROTECTED]  [EMAIL PROTECTED]  http://www.dbg400.net
/"\
DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open        \
/
Source free test environment tools and others (file/spool/misc)
X
[this space for hire]  ASCII Ribbon Campaign against HTML mail & news  /
\

_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Reply via email to