I’m working on a small app where I can generate a list of barcodes. I have the correct fonts installed on my computer. Right now I am printing them directly to a webpage and it works properly in Chrome and IE 7, but not Firefox. Does anyone know what Firefox would be doing differently than IE and Chrome?
Here is my code:
<html> <head> <title>Barcode Font Test</title> <style type='text/css' media='screen'> .barcode { font-family: 'wasp 39 m', verdana, calibri; font-size: 36pt; } </style> </head> <body> <div class='barcode'>*574656*</div> </body> </html>
EDIT: I probably should have mentioned that this is more of a personal project at the moment and not meant to be released to the world. While I will take a solution that works, I would like something that does not involve Javascript/Flash/etc.
A simpler solution might be to generate images server side to generate the bar codes. That way you don’t have to rely on the user having a font installed and you don’t have to access the font in your html.