none
Embedded fonts - RRS feed

  • Question

  • Hi,

    Is it possible to use embedded fonts used in presentation directly in web browser ?

    After creating a zip the embedded font's are coming as font1.fntdata. 

    IE can understand this but other browsers are not able to render this file. Can you please suggest how can it be possible to convert .fntdata to woff/ttf ?

    Thanks,

    Vishal Sood

    Wednesday, December 26, 2018 1:11 PM

All replies

  • Hi Xornor,

    The following code is a simple example:

    <html>
       <head>
          <title>Chill</title>
          <style type="text/css">
          @font-face{
            font-family: Chiller;
            src: url('font1.fntdata');
          }
          .Chiller{
            font-family: Chiller;
            font-size:60px;
            color:#000;
           } 
          </style>
       </head>
       <body>
          <div class="Chiller">Cold Beer</div>
          Free!
       </body>
    </html>

    For more information, please see the following link:

    Convert a .fntdata file into a .ttf

    Hopefully it helps you.

    Best Regards,

    Lina



    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread.


    • Edited by Lina-MSFT Thursday, December 27, 2018 1:58 AM
    Thursday, December 27, 2018 1:54 AM
  • Hi Xornor,

    Thanks for your asking. Please remember to mark the replies as answers if they helped and please help us close the thread.

     

    Thank you for understanding. If you have any question, or update, please feel free to let us know.

     

    I wish you a happy life!

     

    Best Regards,

     

    Lina


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread.

    Saturday, December 29, 2018 3:05 AM
  • Hi Lina,

    These types of font only works in internet explorer. Is there any way or any type of conversion (TTF, WOFF) to run in all browsers.

    Thanks,
    Sumit Bhatia


    Wednesday, January 9, 2019 8:42 AM