471,075 Members | 1,395 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.

Does Intelligent Font Matching Work?

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
1 3336


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.

Similar topics

22 posts views Thread by Martin Ernst | last post: by
7 posts views Thread by Fabian Neumann | last post: by
98 posts views Thread by Pamel | last post: by
2 posts views Thread by Harry Haller | last post: by
4 posts views Thread by L | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.