Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 4th, 2008, 11:15 AM
Php Developer
Guest
 
Posts: n/a
Default Embed Font

Hi, please help me i want to embed font in a webpage.I like it to show
in IE as well as in FF..Is there any technique for that.Thanks a lot.
  #2  
Old July 4th, 2008, 11:55 AM
Joe Scylla
Guest
 
Posts: n/a
Default Re: Embed Font

Php Developer wrote:
Quote:
Hi, please help me i want to embed font in a webpage.I like it to show
in IE as well as in FF..Is there any technique for that.Thanks a lot.
sIFR
http://www.mikeindustries.com/blog/sifr/

Joe
  #3  
Old July 4th, 2008, 12:35 PM
Michael Fesser
Guest
 
Posts: n/a
Default Re: Embed Font

..oO(Php Developer)
Quote:
>Hi, please help me i want to embed font in a webpage.I like it to show
>in IE as well as in FF..Is there any technique for that.Thanks a lot.
Not a PHP issue. HTML doesn't allow to embed fonts. You have to live
with what is available on your visitors systems. If you need a special
font for a heading for example, you have to use an image.

Micha
  #4  
Old July 4th, 2008, 01:05 PM
The Natural Philosopher
Guest
 
Posts: n/a
Default Re: Embed Font

Php Developer wrote:
Quote:
Hi, please help me i want to embed font in a webpage.I like it to show
in IE as well as in FF..Is there any technique for that.Thanks a lot.
Sure. Make a gif image.

  #5  
Old July 4th, 2008, 02:15 PM
Radek N.
Guest
 
Posts: n/a
Default Re: Embed Font

Michael Fesser pisze:
Quote:
.oO(Php Developer)
>
Quote:
>Hi, please help me i want to embed font in a webpage.I like it to show
>in IE as well as in FF..Is there any technique for that.Thanks a lot.
>
Not a PHP issue. HTML doesn't allow to embed fonts. You have to live
with what is available on your visitors systems. If you need a special
font for a heading for example, you have to use an image.
1. PHP: possible solution -http://pl2.php.net/imagettftext
2. Flash + JS: sIFR
2. CSS: You have to wait for web fonts
http://www.alistapart.com/articles/cssatten :)

--
Radek N.



  #6  
Old July 5th, 2008, 05:45 PM
AnrDaemon
Guest
 
Posts: n/a
Default Re: Embed Font

Greetings, Michael Fesser.
In reply to Your message dated Friday, July 4, 2008, 15:27:51,
Quote:
.oO(Php Developer)
Quote:
Quote:
>>Hi, please help me i want to embed font in a webpage.I like it to show
>>in IE as well as in FF..Is there any technique for that.Thanks a lot.
Quote:
Not a PHP issue. HTML doesn't allow to embed fonts. You have to live
with what is available on your visitors systems. If you need a special
font for a heading for example, you have to use an image.
Not "embed" but you can use CSS to allow visitors to download fonts from web,
if their browser support @font-face declaration.


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

  #7  
Old July 5th, 2008, 07:55 PM
Michael Fesser
Guest
 
Posts: n/a
Default Re: Embed Font

..oO(AnrDaemon)
Quote:
>Greetings, Michael Fesser.
>In reply to Your message dated Friday, July 4, 2008, 15:27:51,
>
Quote:
>Not a PHP issue. HTML doesn't allow to embed fonts. You have to live
>with what is available on your visitors systems. If you need a special
>font for a heading for example, you have to use an image.
>
>Not "embed" but you can use CSS to allow visitors to download fonts from web,
>if their browser support @font-face declaration.
This rule was removed from CSS 2.1 years ago, but might come back with
CSS 3. However, the main problem with fonts is the same as with images
downloaded from other sites - you are usually not allowed to distribute
them on your own site. Doing that would violate the copyright.

Micha
  #8  
Old July 7th, 2008, 01:25 PM
wedphp@gmail.com
Guest
 
Posts: n/a
Default Re: Embed Font

On Jul 5, 9:43*pm, AnrDaemon <anrdae...@freemail.ruwrote:
Quote:
Greetings, Michael Fesser.
In reply to Your message dated Friday, July 4, 2008, 15:27:51,
>
Quote:
.oO(Php Developer)
Quote:
>Hi, please help me i want to embed font in a webpage.I like it to show
>in IE as well as in FF..Is there any technique for that.Thanks a lot.
Not a PHP issue. HTML doesn't allow to embed fonts. You have to live
with what is available on your visitors systems. If you need a special
font for a heading for example, you have to use an image.
>
Not "embed" but you can use CSS to allow visitors to download fonts from web,
if their browser support @font-face declaration.
>
--
Sincerely Yours, AnrDaemon <anrdae...@freemail.ru>
I try to make that work in ie and ff but @font-face declaration is not
working for ttf fonts as said by tutorial.
  #9  
Old July 7th, 2008, 01:25 PM
wedphp@gmail.com
Guest
 
Posts: n/a
Default Re: Embed Font

On Jul 4, 6:07*pm, "Radek N." <nara...@poczta.onet.plwrote:
Quote:
Michael Fesser pisze:
>
Quote:
.oO(Php Developer)
>
Quote:
Quote:
Hi, please help me i want to embed font in a webpage.I like it to show
in IE as well as in FF..Is there any technique for that.Thanks a lot.
>
Quote:
Not a PHP issue. HTML doesn't allow to embed fonts. You have to live
with what is available on your visitors systems. If you need a special
font for a heading for example, you have to use an image.
>
1. PHP: possible solution ->http://pl2.php.net/imagettftext
2. Flash + JS: sIFR
2. CSS: You have to wait for web fonts http://www.alistapart.com/articles/cssatten:)
>
--
Radek N.
http://www.alistapart.com/articles/cssatten
I try to make that work in ie and ff but @font-face declaration is not
working for ttf fonts as said by tutorial.

http://asitusi.net
  #10  
Old July 7th, 2008, 01:25 PM
wedphp@gmail.com
Guest
 
Posts: n/a
Default Re: Embed Font

On Jul 5, 11:54*pm, Michael Fesser <neti...@gmx.dewrote:
Quote:
.oO(AnrDaemon)
>
Quote:
Greetings, Michael Fesser.
In reply to Your message dated Friday, July 4, 2008, 15:27:51,
>
Quote:
Quote:
Not a PHP issue. HTML doesn't allow to embed fonts. You have to live
with what is available on your visitors systems. If you need a special
font for a heading for example, you have to use an image.
>
Quote:
Not "embed" but you can use CSS to allow visitors to download fonts fromweb,
if their browser support @font-face declaration.
>
This rule was removed from CSS 2.1 years ago, but might come back with
CSS 3. However, the main problem with fonts is the same as with images
downloaded from other sites - you are usually not allowed to distribute
them on your own site. Doing that would violate the copyright.
>
Micha
I try to use this concept http://www.alistapart.com/articles/cssatten
but it is not working well @font-face declaration or @font-face ..Help
if any one can..

http://asitusi.net
  #11  
Old July 8th, 2008, 12:05 AM
AnrDaemon
Guest
 
Posts: n/a
Default Re: Embed Font

Greetings, wedphp@gmail.com.
In reply to Your message dated Monday, July 7, 2008, 16:16:19,
Quote:
Quote:
Quote:
>>Hi, please help me i want to embed font in a webpage.I like it to show
>>in IE as well as in FF..Is there any technique for that.Thanks a lot.
Not a PHP issue. HTML doesn't allow to embed fonts. You have to live
with what is available on your visitors systems. If you need a special
font for a heading for example, you have to use an image.
>>
>Not "embed" but you can use CSS to allow visitors to download fonts from web,
>if their browser support @font-face declaration.
Quote:
I try to make that work in ie and ff but @font-face declaration is not
working for ttf fonts as said by tutorial.
I didn't said it will "work well" or even "work"...
Try this.

@font-face {
font-family: "Exact Font Name";
/* i.e.
font-family: "DejaVu LGC Sans";
*/
src: url('relative or absolute URL to font file');
/* i.e.
src: url('/static/fonts/DejaVuLGCSans.ttf');
}

DejaVu fonts available at http://dejavu.sourceforge.net/wiki/index.php/Download
(Not very good for my taste, but good enough and free of charge)


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles