Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2005
    Posts
    1,115

    custom font in ie

    I tried using a custom font in a html document,
    but IE6 fails to show it (FF and Opera show it fine):

    Code:
    #barcodediv {
    	position:absolute;
    	left:9px;
    	top:160px;
    	width:130px;
    	height:28px;
    	text-align:center;
    	z-index:40;
    	overflow:hidden;
    	vertical-align:baseline;
    	font-family:"Free 3 of 9";
    	font-size:28px;
    }
    Code:
    <div id="barcodediv">*PAR7234931*</div>
    This is a free barcode font. I need to print a user card with bar code on it.
    Are there any workarounds for IE to show a custom font installed on the system?
    Attached Files
    Never know what life is gonna throw at you.
    (Based on a true story.)

  2. #2
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    No problems here.

    Ulrich
    Last edited by Ulrich; 09-01-2008 at 07:18 PM.

  3. #3
    Join Date
    May 2005
    Posts
    1,115
    Hm, I've tested it in VMWare in IE7 and it works fine there as well. What could it be?

    Thanks for the test, upeters .
    Last edited by bule; 08-26-2008 at 02:28 PM.
    Never know what life is gonna throw at you.
    (Based on a true story.)

  4. #4
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    I have no idea... the bare HTML below works correctly. But as you use z-index, there could be some glitch that makes the barcode appear below another layer, and ending up as invisible, depending on the rest of the code and elements you have on the page.
    Code:
    <html>
    <head>
    <style type="text/css" media="screen">
    #barcodediv {
        position:absolute;
        left:9px;
        top:160px;
        width:130px;
        height:28px;
        text-align:center;
        z-index:40;
        overflow:hidden;
        vertical-align:baseline;
        font-family:"Free 3 of 9";
        font-size:28px;
    }
    </style>
    </head>
    <body>
    <div id="barcodediv">*PAR7234931*</div>
    </body>
    </html>
    Ulrich

  5. #5
    Join Date
    May 2005
    Posts
    1,115
    No, my problem was that it was rendered as a text in IE, with default font.
    But now, in the AMPS web object, it works fine... God knows.
    Never know what life is gonna throw at you.
    (Based on a true story.)

Similar Threads

  1. Font Portability
    By AnubisTCP in forum AutoPlay Media Studio 6.0
    Replies: 4
    Last Post: 05-17-2006, 10:06 PM
  2. Font Names vs Font Filenames
    By ishopper in forum AutoPlay Media Studio 6.0
    Replies: 3
    Last Post: 04-06-2006, 10:34 AM
  3. How to reduce size of a file with custom font?
    By atrust in forum Setup Factory 7.0
    Replies: 3
    Last Post: 12-09-2004, 07:37 PM
  4. Validation of custom variable references?
    By John Schacher in forum Setup Factory 5.0
    Replies: 1
    Last Post: 07-18-2000, 01:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts