Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedded fonts, is this possible? 2

Status
Not open for further replies.

1DMF

Programmer
Jan 18, 2005
8,795
0
0
GB
I've been searching to find a way to use my own fonts, I have heard there is OET & PFR formats to do this.

I have found a site called true docs which seems to have a solution, but when I try the sample code in my html file nothing changes. any ideas why, here is my code.

Code:
<head>
<title>Interior design</title>
<LINK REL=FONTDEF SRC="[URL unfurl="true"]http://www.truedoc.com/pfrs/Amelia.pfr">[/URL]
<script language="JavaScript" src="[URL unfurl="true"]http://www.truedoc.com/activex/tdserver.js">[/URL]
</script>
<link>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
[code]

then I simply use the the font face command like so
[code]
<font face="Amelia BT">Company Name</font>

but the text is displayed with the standard font in the css file.

why is this not working ?
 
nope i'm not thinking of anything to do with PHP, the only PHP i've ever seen is the the heading.php FoamCow supplied in this post.

your template example showed..
Code:
     <img  src="heading.php?text=my text?colour=mycol" />

pointing the image source to a PHP file not a PERL CGI.

anyway i'll will crack on with the script and let you know what error I get, might pick it up in the PERL forum...

i'm sure the whiz kids who hang out there (like yourself) can help if I get stuck ( which I probably will :) )

regards,

1DMF

 
your template example showed..
Ohhhhhh, thats what you were referring to... my bad.

It looks like you've got the hang of it, good job!

i'm sure the whiz kids who hang out there (like yourself) can help if I get stuck ( which I probably will )

Much thanks for the compliment, but I'm still a newbie myself.
However, thanks to "the whiz kids" that is quickly changing.

Best of luck!

X
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top