![]() |
embed font
Hi!
I wanted to put in my forum external font "Myriad Pro". I have the code: Code:
@font-face |
You can't do it that way. You have to use either a .pfr font or a .eot font. If you use the .eot font, then it only works with internet explorer, so you should find/use a .pfr instead.
You can use a program like this one to convert the font: http://www.fontlab.com/font-converter/transtype/ After you have the correct font type... Use this code (for the PFR fonts) in the headinclude template: Code:
<LINK rel = "fontdef" src="url/YourFontName.pfr"> Use this code (for the EOT fonts) anywhere on the page (headinclude template is best): Code:
<STYLE TYPE="text/css"> You should consider that people will have longer download times when viewing your pages, so watch out for large font files. Also, some browsers will complain about security concerns. Embeddable fonts on websites have been a method of attack on a user's computer for years and some browsers will prompt security dialogues about it. |
All times are GMT. The time now is 11:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|