|
On Thu, 11 Apr 2002 Dietmar.Buerkle@tsp-gis.de wrote: > > Hello everybody Hello Dietmar! > > First of all thank you all for tn5250. I realy like it. Here > are two annotations on the windows version to make it even better: > > When I tried the first Version of tn5250-0_16_3w-setup.exe > (map=273) I thought my umlauts (non ASCII-Characters) are broken. > As the Problem remained when I got the 2nd version I did some > further investigation. It seems that tn5250 on my Windows uses > the "Terminal" font as default. As Terminal is not based on > cp125x but on a DOS-Codepage, all your fancy EBCDIC to cp125x > magic gets broken. It took me quite a while to realize what the > problem is. > > Is there a way to prevent tn5250 from using Terminal as default > (at least if ccsid 37 is not used)? I know now that I MUST set > a font, but someone just trying tn5250 (and not using an > command line option) would think it is still to bugy to use > (This was my first impression too). Sorry about that. You have to understand that I'm from the United States, and I don't have any way to test the character sets from other countries. That's why I'm so lucky to have people like you, Marek and Elias to help me test it! So, which font would you recommend? Courier New? > There is a second (minor) problem: > When I use > tn5250 font_80="Courier New" font_132="Courier New" +resize_fonts > as400name > and maximize the window, only a vew pixels of the last line > are visible (using 1024x768). 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 :)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.