By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,206 Members | 998 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,206 IT Pros & Developers. It's quick & easy.

Does Intelligent Font Matching Work?

P: n/a
I am unable to get intelligent font matching to work. I used a @font-face
with a Panose-1 descriptor. I tried it with both Internet Explorer 6 and
Firefox on Windows 98 SE. The Panose numbers are from the Windows Registry
key HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Panose. I am unsure
if I made a coding error, or if the browsers do not support intelligent font
matching, or if there is some other cause.

In the example shown below, in the @font-face for MadeUpName, the Panose-1
numbers are from the Courier New font. I was hoping that Line 1 would be
printed in Courier New. But with both browsers, it actually prints in the
default font, which is Times New Roman.
<HTML>
<HEAD>

<STYLE TYPE="text/css" MEDIA="screen, print">
@font-face {
font-family: MadeUpName;
panose-1: 2 7 3 9 2 2 5 2 4 4;
}
<!--
Panose Numbers Font

2 7 3 9 2 2 5 2 4 4 Courier New
2 4 5 2 5 4 4 2 3 3 Georgia
5 5 1 2 1 7 6 2 5 7 Symbol
-->
</STYLE>

</HEAD>
<BODY>

<P Style="font-family:MadeUpName">Line 1<BR>
<FONT FACE="Courier New">Line 2</FONT>
</P>

</BODY>
</HTML>

Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a


Stephen wrote:
I am unable to get intelligent font matching to work. I used a @font-face
with a Panose-1 descriptor. I tried it with both Internet Explorer 6 and
Firefox on Windows 98 SE. The Panose numbers are from the Windows Registry
key HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Panose. I am unsure
if I made a coding error, or if the browsers do not support intelligent font
matching, or if there is some other cause.


I think browsers have so far not supported that stuff and that is why it
has been removed in CSS 2.1:
http://www.w3.org/TR/CSS21/changes.html#q23

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.