473,326 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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.
Jul 4 '08 #1
10 2823
Php Developer wrote:
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
Jul 4 '08 #2
..oO(Php Developer)
>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
Jul 4 '08 #3
Php Developer wrote:
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.

Jul 4 '08 #4
Michael Fesser pisze:
.oO(Php Developer)
>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.

Jul 4 '08 #5
Greetings, Michael Fesser.
In reply to Your message dated Friday, July 4, 2008, 15:27:51,
.oO(Php Developer)
>>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 <an*******@freemail.ru>

Jul 5 '08 #6
..oO(AnrDaemon)
>Greetings, Michael Fesser.
In reply to Your message dated Friday, July 4, 2008, 15:27:51,
>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
Jul 5 '08 #7
On Jul 5, 9:43*pm, AnrDaemon <anrdae...@freemail.ruwrote:
Greetings, Michael Fesser.
In reply to Your message dated Friday, July 4, 2008, 15:27:51,
.oO(Php Developer)
>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.
Jul 7 '08 #8
On Jul 4, 6:07*pm, "Radek N." <nara...@poczta.onet.plwrote:
Michael Fesser pisze:
.oO(Php Developer)
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.
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
Jul 7 '08 #9
On Jul 5, 11:54*pm, Michael Fesser <neti...@gmx.dewrote:
.oO(AnrDaemon)
Greetings, Michael Fesser.
In reply to Your message dated Friday, July 4, 2008, 15:27:51,
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 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
Jul 7 '08 #10
Greetings, we****@gmail.com.
In reply to Your message dated Monday, July 7, 2008, 16:16:19,
>>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.
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 <an*******@freemail.ru>

Jul 7 '08 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Kathryn | last post by:
Hello, I am trying to read an xml file into a web page via vb.net. I am current using an rss format and reading it directly into a DataSet with the following command:...
11
by: Anna | last post by:
Hi all. I want to embed the EMBED tag in the object tag. I understood that I need to provide a PARAM tag inside the OBJECT whose value will hold the content of EMBED src attribute, but after...
7
by: Scott | last post by:
Sorry if this is a dumb question - bit of a newbie to Access: Just getting to grips with OfficeXP Developer, the intention being to be able to deploy a simple Access application to various...
2
by: Jan | last post by:
Hi, What I want is to add a text file to my project which will be included/embedded in my exe file. So not a link to a text file in a folder but a text file physical in the exe. Is this...
1
by: McDermott Miller | last post by:
Is there any way to programmatically (in VB.net) control a Command Window, e.g change its size, display font size, embed it in GUI etc? It seems that the Console class will not allow you to do...
0
by: scott.mankowitz | last post by:
Hi! Does anyone know if there is an easy way to embed fonts into a vb2005 application? Ideally, I would like to add the .ttf files as resources and just set the font using the forms designer. I...
24
by: Manuel | last post by:
Is it possible to embed an image, like a company logo in a CDOSYS generated message? If yes, I´ll apreciate some code sample. I´ve been able to format messages in html the way I like, but I...
0
by: flaviosemeao | last post by:
Hi guys, I am gonna ask the same question again regarding tweening in text fields. I already read some Adobe documentation and I understood that text field has its property _alpha available just...
0
by: =?Utf-8?B?TWFyazEyMw==?= | last post by:
I have two pieces of VB.NET code below: a) Sends an email b) Returns a programmatically created jpeg image to a webpage. How can I embed the programmatically created jpeg into an HTML...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.