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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

embedding fonts

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Sorry I am reposting... but there seems to be so much going on here, and the answer I got only helped a little, I still don't know what sort of file to use (see thread215-201187 started on Jan 29). So here goes...

Hello there,

hope someone can give me a little input. The thing is, I am using a certain font on my pages most of the time, and I'd like to make it viewable for visitors via the CSS @font-family command. BUT, I can only supply the font in .ttf format... I know there are embedding tools like WEFT and HexWeb Typograph but for some reason I couldn't properly install either. Now... would it do for me to link to the .ttf file as well as a corresponding Mac file, or would some browsers (which?) not be able to interpret this? If that'd solve it, how do I convert the PC font? Or, generally, does anyone happen to have a brilliant idea (or even better, experience) on the subject?

Absolutely any help really appreciated.

So long,
Lil.
 
Sorry i didnt get a chance to finish it the last day.

To embed it you need to convert it to a Portable Font Resources (.pfr) or a Embeddable Open Type (.eot).

Then you you need to link to them in your head section:

either
<LINK rel = &quot;fontdef&quot; src=&quot;url-myfont.pfr&quot;>
or
<STYLE TYPE=&quot;text/css&quot;>
<--!
@font-face {
font-family: Tahoma;
src:url(}
-->
</STYLE>


To convert your font you need something like Bitstream( or Microsoft WEFT (

Hope this helps, maybe someone can double check what I posted?

É enzo@endamcg.com
 
Hello cian,

Thanks for your reply :) but the thing is, this is the theory and quite as far as I got. My problem is actually EMBEDDING. These WEFTs and HexWeb Tools won't work, for some reason that I still cannot figure out, and so I cannot make the actual .eot and .pfr files... and thus I was wondering whether or not I might just supply one .ttf file and one source file for MAC. - Well, now I come to think of it, this is probably not the appropriate place to post the question because the CSS part is not actually the problem... but still someone might know, I hope...

So long then again
fla~
 
Ok getya,
I think the only option is to get the .eot and .pfr files working. I if you like I can download WEFT and try it, if it works I can do your file also!?!
Just a thought...


?É enzo@endamcg.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top