Link to home
Start Free TrialLog in
Avatar of occr
occr

asked on

Barcode font does not work

I have a small program that puts some text on a tiff image. It converts a string of numbers into a barcode using the "3 of 9 Barcode" font. It has been working fine. Now I need to change the barcode font from "3 of 9 Barcode" to "IDA Code39 HR SHORT".  But for some reason it does not work. I tried a few different fonts listed in Windows\Fonts.  Some work and some don't.  The program does not produce an error message when it does not use the specified font. It just uses a different font that looks like Arial. Any idea why is that?  I can use "IDA Code39 HR SHORT" in other programs such as Word.

Thank you in advance for your help.
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Any time your system does not have a specific font, it will substitute some other font.  It's not surprising that your program does no produce an error message because it doesn't know that one was created.  Have you installed a "IDA Code39 HR SHORT" font?
SOLUTION
Avatar of tncode
tncode
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of occr
occr

ASKER

The "IDA Code39 HR SHORT" font is installed and I can use it in other applications.  I can also display it by double-clicking it in the the Windows/Font folder.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of occr

ASKER

The problem is with the function I am using to place the text string (barcode) on the image. It's supposed to support all Windows fonts but if you look deeper in the documentation it only supports certain barcode type fonts and the one i want to use is not one of them.
Sorry to hear that but thanks for the points.