Answered Terminal Font

  • Thursday, May 25, 2006 10:53 PM
     
     
    Is there a way to use the font 'Terminal?' Or any other font on your system. I notice that the Font dialog box doesn't include all the fonts on my system. Would I have to include the font in my project?

    I am trying to use this font for a label.

Answers

  • Friday, May 26, 2006 12:46 PM
    Moderator
     
     Answered
    Sorry to disagree, device fonts belong in the Windows 3.0 museum.  However, Forms mapping a fixed-width font like Terminal to a proportionally spaced font like Microsoft Sans Serif is a questionable design decision.  There are good alternatives, try using Courier New or Lucinda Console (my favorite).
  • Saturday, May 27, 2006 2:17 PM
    Moderator
     
     Answered

    Additionally, even if you include the font as a resource, this is still distribution: don't think you can get around distribution licenses by doing this.

    (Lucida Console.....Lovely).

All Replies

  • Friday, May 26, 2006 3:23 AM
     
     

    I'm not sure that why the terminal font is not included on the system - I would have thought it was a standard system font.    The following will set up the terminal font for a label.

    Me.Label1.Font = New Font("Terminal", 12, FontStyle.Regular, GraphicsUnit.Point)

    You should not have to distribute the windows fonts with your application as they should already be available on the system.   

    Also legally, I dont think the fonts are redistributable according to the windows license agreement.

  • Friday, May 26, 2006 3:52 AM
     
     
    I have already tried that and it doesn't work. It uses a default font (not sure which one) but it is definately not Terminal.

    Also, I didn't mean distribute the fonts. I meant include them like a resource, so it would show it even if the user didn't have it.

    BTW, I use this: Label_Clock.Font() = New Font("Terminal", 12, FontStyle.Regular, GraphicsUnit.Point)

  • Friday, May 26, 2006 4:04 AM
    Moderator
     
     
    This doesn't work, Windows Forms override the name of the old device fonts like Terminal and System to Microsoft Sans Serif.  Guessing a bit, it only supports TrueType fonts.  http://gotdotnet.com/Community/MessageBoard/Thread.aspx?id=38411
  • Friday, May 26, 2006 4:18 AM
     
     
    So, there is no way to do this then. Sounds pretty unreasonable. Since programs like notepad can use the font. If anyone has found a way around this I would love to know.

    Thanks.

  • Friday, May 26, 2006 12:46 PM
    Moderator
     
     Answered
    Sorry to disagree, device fonts belong in the Windows 3.0 museum.  However, Forms mapping a fixed-width font like Terminal to a proportionally spaced font like Microsoft Sans Serif is a questionable design decision.  There are good alternatives, try using Courier New or Lucinda Console (my favorite).
  • Saturday, May 27, 2006 2:17 PM
    Moderator
     
     Answered

    Additionally, even if you include the font as a resource, this is still distribution: don't think you can get around distribution licenses by doing this.

    (Lucida Console.....Lovely).

  • Thursday, November 23, 2006 5:12 AM
     
     

     

    I'm porting some software, which I need Hexadecimal view of the data as well as a Raw data view (in other words the true ASCII char)

    I've had the same problem, I have no choice.  I'm upgrading from VB6 and Delphi6 to VB.Net 2.0, Terminal font works fine with them.  So I've searched the net and found a True-Type font which supports ALL Ascii characters!  Yes ALL.  Plus it works fine with .NET, I've already tested it.

    Visit :   http://www.apollosoft.de/ASCII/indexen.htm

    It's a RAR file with 2 diffrent versions of the font.

    I just un-Rar'd the TrueType version, then installed (copied file) into font's directory of Windows.  Then just use it within your code.

    Dim f As New System.Drawing.Font("ASCII", 16)

    txtAscii.Font = f

     

    Ascii is very far from dead!  ANSI art is still used within some Terminal applications we use here a work, Ansi art makes it easier to read (from very, very old scientific devices).  So this font allows me to upgrade the custom ANSI Art editor I have...  At least old hardward can now be FULLY supported, instead of only half supported.  Put that in your pipe and smoke it Microsoft :p