Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7810141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:40:00+00:00 2026-06-02T03:40:00+00:00

I need to add a metadata.xml to a WOFF file that I have created

  • 0

I need to add a metadata.xml to a WOFF file that I have created using font-squirrel in order to use it with @font-face.

I want to add a metadata.xml to WOFF file like this one (that explains all about it):

http://www.w3.org/TR/WOFF/#appendix-a

I was told I can do it with this sfnt2woff but it is NOT USER FRIENDLY and quite complicated. I was wondering if there are other ways to do it (font-squirrel? other font convertors?)

thanks,
Alon

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:40:03+00:00Added an answer on June 2, 2026 at 3:40 am

    Im not sure why you would need to add the metadata to the font, it works perfectly well without the metadata.xml

    The xml file only adds information for font designers or vendors to include licensing or other information.

    Top of css file:

    @font-face {
    font-family: font_name";
    src: url('fonts/font_name.eot');
    src: url('fonts/font_name.woff') format('woff'),  url('fonts/font_name.ttf') format('truetype'),  url('fonts/font_name.svg') format('svg');
    font-style: normal;
    font-weight: normal;
    }
    

    And then for example:

    body {
    font-family: "droid sans", Verdana;
    }
    

    Edit1:

    Create somewhere a folder called myfonts
    place in that folder your metadata.xml the font.ttf(source font) and the sfnt2woff.exe (located here: http://people.mozilla.org/~jkew/woff/sfnt2woff.exe)

    Create a text file open it, place this inside it

    sfnt2woff -v 1.0 -m metadata.xml droid_sans.ttf
    

    save it to that folder and call it: do-it-now.bat

    Go to the folder and click once you are done.
    A font.woff should appear with metadata.xml added to it.

    Usage for sfnt2woff:

    sfnt2woff [-v <maj>.<min>] [-m <metadata.xml>] [-p <private.dat>] <otffile>
    package OpenType <otffile> as WOFF, creating <otffile>.woff
    Options:
    -v <maj>.<min>     set font version number (major and minor, both integers)
    -m <metadata.xml>  include metadata from <metadata.xml> (not validated)
    -p <private.dat>   include private data block
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created a project using PyDev plugin for Eclipse. Now I need to add
I have a need to add metadata about a HABTM relationship. I wanted to
I need to add additional metadata to an Icecast stream (beyond Artist and Song
I am using Propel 1.6 and have a need to version all tables in
I have a question about Paperclip. Many modern cameras and phones add GPS metadata
I have created (using an online example) a custom binding and I'm trying to
I want to add metadata to my object graph for non-domain type data that
I have writted a Java program that will be able to add customers to
How do I add XML documentation for Methods in c# that comes in .NET
I need to add new version of the file to SPFileCollection without changing version

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.