On Thu, 2002-04-11 at 16:36, Scott Klement wrote:
> 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

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

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].