Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners., Inc., Computers Hardware, Software & Services, Tampa, FL View your cart in the IDAutomation Store    

"Not a TrueType font" Error Message


The "Only TrueType fonts are supported and this is not a TrueType font" error occurs when attempting to select an IDAutomation font using the control properties window in the Visual Studio .NET 2002 IDE. Below are two suggested solutions for this issue.


Solution 1:

After selecting the font in the properties window of the VS.NET IDE, the error message "Only TrueType fonts are supported and this is not a TrueType font" will be reported. Click OK, and then close VS.NET. Re-open VS.NET, followed by the project; select the font in the properties window, the error will no longer be generated.

Solution 2:

In the Visual Studio.NET application, reference and apply the fonts through the code window of the application. The following example assigns the evaluation version of IDAutomation's Code 39 Font with the human readable text displayed on a label in a form during the Form_Load event.

Private Sub Form1_Load(ByVal sender As System.Object, 
ByVal e As System.EventArgs) Handles MyBase.Load 
     Label1.Font = New Font("IDAutomationSHC39S", 12, FontStyle.Regular)
End Sub
private void Form1_Load(object sender, System.EventArgs 
     label1.Font = new Font("IDAutomationSHC39S", 12, FontStyle.Regular);
Related Documents:
 ©Copyright 2018, All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us

Training Videos on YouTube  Join us on Google Plus  Join us on LinkedIn  Follow us on Twitter  Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.