|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Terminal Font ?We have used Terminal Font in the past with Microsoft tools like VS6 / VB6,
etc... We need to use the Terminal Font in .net and on Windows XP machines. It appears that the Terminal Font is no longer available for use. Can anyone shed some light on this subject? There are some ascii characters that are displayed with this font and not with most other fonts. Any help is greatly appreciated! JerryM JerryWEC <JerryWEC@newsgroups.nospam> wrote:
> We have used Terminal Font in the past with Microsoft tools like VS6 / VB6, All genuine ASCII characters are displayed in almost all text (rather > etc... > > We need to use the Terminal Font in .net and on Windows XP machines. It > appears that the Terminal Font is no longer available for use. Can anyone > shed some light on this subject? There are some ascii characters that are > displayed with this font and not with most other fonts. than symbol) fonts I know of. Chances are you don't *really* mean ASCII characters: which characters *do* you mean? -- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet If replying to the group, please do not mail me too Jon,
I'm not sure. We need to display the Ascii character's 10 and 13. I'm not sure if this is a font issue or a convert the current character to an ascii character from (UTF8 or UTF16, etc.). Previously we had this terminal font that display ascii character that were normally not printable like ascii 10 and 13. I'm posting this for another person. JerryM It looks like now that the Textbox control can't display the newline
characters (chrw(10) & charw(13)). We need to be able to display these special ascii characters in the textbox with scrollbars turn. (at lease the horizontal scrollbar). Any ideas? JerryM Hi,
When I want to display something for non-text characters, I use a method that replaces each with the specific sequence of characters needed. For example, here is one sequence that I use: "NUL ,SOH ,STX ,ETX ,EOT ,ENQ ,ACK ,BEL ,BS ,HT ,LF ,VT ,FF ,CR ,SO ,SI ,DLE ,DC1 ,DC2 ,DC3 ,DC4 ,NAK ,SYN ,ETB ,CAN ,EM ,SUB ,ESC ,FS ,GS ,RS ,US" I split this into an array of strings and use the index in the array to select the display character "set." I actually add some open and close brackets (with leading and trailing spaces), so that carriage return is displayed as [CR] . For some time I played with creating my own mono-spaced font for these purposes, but decided that it wasn't worth the effort. Dick -- Richard Grier, MVP Hard & Software Author of Visual Basic Programmer's Guide to Serial Communications, Fourth Edition, ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March 2006. See www.hardandsoftware.net for details and contact information. I agree with Dick that you could use some special notation to display the
non-print characters. Regards, Walter Wang (waw***@online.microsoft.com, remove 'online.') Microsoft Online Community Support ================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. I don't think there is such a thing as 'terminal' font. (By default it was
courier I believe) However you could try 'Consolas', very good looking monospace font (when clear type is on) . It's a download from MSDN. Show quote "JerryWEC" <JerryWEC@newsgroups.nospam> wrote in message news:%23G6aeq8HHHA.3668@TK2MSFTNGP02.phx.gbl... > We have used Terminal Font in the past with Microsoft tools like VS6 / > VB6, etc... > > We need to use the Terminal Font in .net and on Windows XP machines. It > appears that the Terminal Font is no longer available for use. Can anyone > shed some light on this subject? There are some ascii characters that are > displayed with this font and not with most other fonts. > > Any help is greatly appreciated! > JerryM > Hi Jerry,
It seems Terminal font will look different in different applications on Windows 2000 or later: #Terminal (font) - Wikipedia, the free encyclopedia http://en.wikipedia.org/wiki/Terminal_(font) If you're looking for a monospace font in IDE, besides Courier New and Consolas from Microsoft, you can also find following monospace fonts useful: #Monospace/Fixed Width Programmer's Fonts http://www.lowing.org/fonts/ Let me know if I've misunderstood your question. Sincerely, Walter Wang (waw***@online.microsoft.com, remove 'online.') Microsoft Online Community Support ================================================== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif ications. If you are using Outlook Express, please make sure you clear the check box "Tools/Options/Read: Get 300 headers at a time" to see your reply promptly. Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscriptions/support/default.aspx. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. |
|||||||||||||||||||||||