Technology Questions

Go Back   Technology Questions > Software Questions > Internet > Internet Explorer

Internet Explorer Discuss IE7 or any other IE version.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 10-03-2007, 08:20 PM
Mike
Newsgroup Contributor
 
Posts: n/a
IE 7 and Embedded Fonts

Hi -

We have an application that utilizes embedded fonts to provide a specific
Fixed Font for our screens. We use Andale Mono for the font, and utilize
WEFT to create 'ANDALEM.EOT'. Our pages then use:

<STYLE TYPE="text/css">
@font-face {
font-family: Andale Mono;
font-style: normal;
font-weight: normal;
src: url(ANDALEM.eot);
}

#DIVA {...;font-family:'Andale Mono', sans-serif;font-size:9pt}
#DIVB {...;font-family:'Andale Mono', sans-serif;font-size:9pt}
...
</STYLE>

We then specify the font via DIV's that specify the font family and size.
The text is formatted by a legacy application that communicates with the web
pages. This mechanism worked fine on IE5 and IE6 (and I thought an earlier
release of IE7 worked as well, but...)

Here is what I see. Suppose I have the following output:

ABCefgHIJklmNOP
ABC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;NOP
ABC&nbsp;&nbsp;&nbsp;HIJ&nbsp;&nbsp;&nbsp;NOP

What I expect is to see the ABC's lined up and the NOP's lined up. Instead,
I see, where lines have more &nbsp;'s the NOP's are indented, as if a
proportional font was used instead. However, with a fixed font, a space (in
this case an &nbsp;) should be the same width as any other character.

On a whim, I tried enclosing the lines in <pre>...</pre>, and I received it
the way I expected, however, this was never required in the past.

Why is this happening on IE7? Is there anyway to get this behavior back
(short of making a code change to include opening and closing 'pre' tags on
each line?

Thanks in advance,

Mike


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 10-03-2007, 08:20 PM
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fonts disappearing from Windows\Fonts folder homemerf Windows XP 17 07-15-2009 04:40 AM
No Fonts in Fonts Folder under Control Program & display problems Chris Haupt Windows XP 0 06-11-2007 11:30 AM
Fonts disappearing out of Windows/Fonts homemerf Windows XP 0 05-19-2007 08:10 AM
Embedded video... ~L Desktop Computers 0 02-06-2007 06:53 PM
WMP still won't recognize embedded art Dale Windows Media 0 02-04-2007 10:36 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 06:49 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0