Embed Font

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Php Developer

    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.
  • Joe Scylla

    #2
    Re: Embed Font

    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


    Joe

    Comment

    • Michael Fesser

      #3
      Re: Embed Font

      ..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

      Comment

      • The Natural Philosopher

        #4
        Re: Embed Font

        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.

        Comment

        • Radek N.

          #5
          Re: Embed Font

          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.



          Comment

          • AnrDaemon

            #6
            Re: Embed Font

            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 <anrdaemon@free mail.ru>

            Comment

            • Michael Fesser

              #7
              Re: Embed Font

              ..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

              Comment

              • wedphp@gmail.com

                #8
                Re: Embed Font

                On Jul 5, 9:43 pm, AnrDaemon <anrdae...@free mail.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...@free mail.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.

                Comment

                • wedphp@gmail.com

                  #9
                  Re: Embed Font

                  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.
                  Ten years ago, Håkon Wium Lie and Bert Bos gave us typographic control over web pages via CSS. But Verdana and Georgia take us only so far. Now Håkon shows us how to take web design out o…

                  I try to make that work in ie and ff but @font-face declaration is not
                  working for ttf fonts as said by tutorial.


                  Comment

                  • wedphp@gmail.com

                    #10
                    Re: Embed Font

                    On Jul 5, 11:54 pm, Michael Fesser <neti...@gmx.de wrote:
                    .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..


                    Comment

                    • AnrDaemon

                      #11
                      Re: Embed Font

                      Greetings, wedphp@gmail.co m.
                      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.t tf');
                      }

                      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@free mail.ru>

                      Comment

                      Working...