Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a woff file I downloaded from a website that I want to convert for use in word documents and such.

Is there any (free) way to do this?

After much searching I have not found a way, so I am turning to superuser for help.

share|improve this question
1  
If you had included the name of the font (or the url of where you found the WOFF file), we might have been able to find a source for TTF or OTF version that wouldn't need conversion and might include more characters. –  Dan D. Apr 29 '12 at 6:47

4 Answers 4

Yes, the WOFF format is a container for the table-based sfnt structure (used by TrueType and OpenType). It adds some meta data to the TTF/OTF font and can also compress the actual font data.

If you want to convert from WOFF to the wrapped TTF/OTF font, you can use the woff2sfnt-tool created by Jonathan Kew at Mozilla. He provides pre-compiled binaries for the sfnt2woff-tool (convert from TTF/OTF to WOFF) for OS X and Windows, but not for the woff2sfnt-tool (convert from WOFF to TTF/OTF), so you have to compile from the source. Easily done if you have a working compiler toolchain — just download the source-zip-file and run make.

When you have a working woff2sfnt binary, you just do:

$ ./woff2sfnt font.woff > font.otf

The resulting font is an ordinary TTF/OTF font that you can use, but please note that if you download a WOFF font from a web site, you are supposed to comply with the license of this font. Licensing information can be included in the WOFF meta data.

share|improve this answer
3  
woff2sfnt-tool can't find it... –  Muhammad Umer Dec 21 '13 at 2:46
    
-1 didn't provide the correct link –  Supuhstar Aug 13 at 22:23
    
Excuse me? The links I provided (over a year ago) still works. I also clearly state you have to compile the tool yourself. Please read before down voting. –  Erik Tjernlund Aug 17 at 21:07

Following Erik Tjernlund's link, I downloaded the source and compiled a i386 executable of woff2sfnt and sfnt2woff for Windows. You can download it from my Dropbox here.

(Note that this works on x86-64 machines as well. In fact, you can't build it for x86-64 because the binary object provided by Jonathan Kew is for the i386 architecture type.)

share|improve this answer
    
cygwin1.dll was not found –  Muhammad Umer Dec 21 '13 at 2:47
    
@MuhammadUmer Evidently you need to install Cygwin in order to get it working. –  Paul Lammertsma Dec 22 '13 at 18:05

You can use FontForge to convert it - it is an application that can create and edit font files.

You install it, and then you can right click on the Font file and select 'Properties'. Next to 'Open With' click 'Change', then go to 'Browse': enter image description here

You then need to find the location of the FontForge executable - on Windows 7 64bit it is located here:

C:\Program Files (x86)\FontForge\run_fontforge.exe

Once you have opened the font, you ignore most errors about wrong table types and stuff, and click 'Generate Fonts':

Select the save location, and ttf or otf as the export format. OTF fonts sometimes can have higher quality depending on the font you are importing.

enter image description here

Fontforge can use a variety of export and imported font types, so it can be used to conver other fonts as well. It is also very useful for making or recreating your own fonts. There is a guide here with other uses of FontForge.

enter image description here

share|improve this answer

You can use an online font converter, like these:

http://www.fontconverter.org

http://onlinefontconverter.com

http://www.freefontconverter.com

share|improve this answer
    
None of those do batch conversions :/ –  Supuhstar Aug 14 at 2:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.