FontForge is an outline font editor officially distributed in only source code form. Expanding on prior work to create a Windows build system, this package aims to distribute user friendly FontForge binaries for Windows as well as the underlying build system itself.
If prompted with a Windows Firewall dialog, FontForge will function if “Keep Blocking” is selected.
FontForge Windows Binaries (2012-07-31) (official):
- Installer (6.6 MB)
- 7z Archive (6.2 MB)
FontForge Windows Binaries with Python Support (Git dd73d0a354) (unofficial):
- Installer (10.7 MB)
- 7z Archive (10.1 MB)
Note: A preexisting Python 2.7 installation is needed in one’s PATH.
FontForge Windows Binaries (2011-02-22) (unofficial):
- Installer (5.8 MB)
- 7z Archive (5.5 MB)
Build System (unofficial):
Development can be followed on the package’s Bitbucket site.
Separate but related, a Windows package of Glyphtracer:
- 7z Archive (5.6MB)
Are you planning to release a newer version of your FontForge pack for Windows? Waiting eagerly.
Thanks.
I plan on releasing a new version of my Windows build once a new version of FontForge is released. Currently, the latest version is still 2011-02-22.
Is autotrace included or is it possible to include?
I like this build, because I really dislike Cygwin.
The build provides autotrace functionality using potrace.
Thank you, Matthew. Your build saved me a bunch of time. Appreciate you doing this and making it available.
Thanks!!!!!!!!!
Thank you for this Win Port. It allows me to experiment with FF on Win (much better than do that in a VM)
A quote from the Sourceforge page for FontForge…
“You will need the default stuff, plus the X window system, binutils, libpng, libjpeg, and libxml2.”
For the kind of non-Linux and non-Unix-inclined person that I am (and probably a whole bunch of other people who’re like me), this is a great way to just dive into the act of making fonts instead of getting lost in all the installing, debugging, and frustration of dealing with the loose ends of all those libraries and components.
Seriously, only programmers care about that.
And the best part about FontForge that I was after is the ability to actually import glyphs from SVG… which is great for me since I do a lot of work on Inkscape (which also happens to be sweet and free).
So, I want to give a big THANK YOU for giving us non-programmers a nice, integrated solution!
Thank you very much for the port; it worked perfectly on Windows XP.
hi
i paid for a costly windows font editor software and later found that it cannot edit the substitution tables in OT and TT fonts (GPOS, etc); for indic characters, it is very essential; then i thought i would use fontforge as many references are available and it is open source and re-scritable;
however i am not a linux guy; and in linux you need to build build build….
so i took cygwin and installed a crappy 1.8 gb(yes!; windows xp sp3 is only 3.5 gb; leaving aside the program files etc) when i selected the base, lib, x11 utils option; and the system slows down drastically showing a snowy fontforge menu) and to open a font file it takes a lot of time; so i decided to move away from cygwin.
so i thought i would use your installer (or try from 7zip); it installs beautifully but nothing shows up; i waited for the xwindow… no go! when i check the task manager the fontforge.exe and Xming.exe are listed; i tried to force run the fontforge from within the bin folder ; it gives a pop up of missing pthreadgc2.dll (though it is present in the xming 6.9.0.31 folder; i copied it to the main folder (fontforge) and again tried fontforge.bat; now a command window opens
===
Copyright (c) 2000-2011 by George Williams.
Executable based on sources from 13:48 GMT 22-Feb-2011-ML-TtfDb-NoPython.
Library based on sources from 13:48 GMT 22-Feb-2011.
========
but nothing happens; a X window icon appears on the sytem tray; but no further progress; i could not close the xwindow or cmd window; i have to go to the bin folder and click on the xmingclose. and then kill the command window
i am using winxpsp3 (32 bit) on a dual core machine;
now my questions:
is your installer a standalone version; or it requires mingw preinstalled?
my windows system folder is called winxpsp3 (not windows); is c:\windows\… is referenced anywhere? or it is %system as is normally done in windows.
should i build the later version and try?
regards
rnkantan
Both the 7z archive and the installer are designed to be stand-alone. The system folder is referenced with %SystemRoot%, so a different system folder name should not be an issue, although I have never tested it. Running fontforge.exe from the the bin folder will not work because the PATH environmental variable is not correct. The main executable, run_fontforge.exe, is simply a wrapper that calls fontforge.bat, to configure the environment, without displaying a console window, so try running fontforge.bat and see if that works.
thanks for your response;
i spent already some time trying to figure out various files in your folder; i opened the bat file and noted the -notrayicon and -nosplash options.
i removed the notrayicon to get the xming icon on the tray; it is useful as i can open the log; in the log i found
=====
Could not init font path element C:\ff2011\bin\Xming-6.9.0.31/fonts/misc/, removing from list!
Could not init font path element C:\ff2011\bin\Xming-6.9.0.31/fonts/TTF/, removing from list!
Could not init font path element C:\ff2011\bin\Xming-6.9.0.31/fonts/Type1/, removing from list!
Could not init font path element C:\ff2011\bin\Xming-6.9.0.31/fonts/75dpi/, removing from list!
Could not init font path element C:\ff2011\bin\Xming-6.9.0.31/fonts/100dpi/, removing from list!
Could not init font path element C:\Program Files\Xming\fonts\dejavu, removing from list!
Could not init font path element C:\Program Files\Xming\fonts\cyrillic, removing from list!
Could not init font path element C:\WINDOWS\Fonts, removing from list!
winProcEstablishConnection – Hello
================
then i checked various files for the “;list”; it is the font-dir in the xming…. folder; i edited it to add c:\WINXPPRO\Fonts; when i restarted no luck;
==
Could not init font path element C:\WINXPPRO\Fonts, removing from list!
===
then while reviewing the old (2010 version) fontforge.bat i found that it is looking for msgothic.ttc in windows fonts folder to copy to the TTF folder. so i checked my winxppro/fonts folder and there is no MSGOTHIC.TTC file; i found msgothic.ttc in the win7 fonts folder and copied it to the winxppro/fonts folder. still no luck; i left it at that overnight and restarted the computer today; and presto it is starting and the xming log though has the error messages, it is not talking about winxppro/fonts
thanks for the effort; it is now working.
Mathew Petroff!
may be i was too happy to see the selection window; but the program is not stable:
1) if you close and restart the it doesnot open; the processes are started (cmd.exe, Xming.exe and fontforge.exe) but the fontforge selection window doesnot open
2) if you shutdown and restart the xp then again it starts first time; but again fails if you close and rerun; what it means is that some residual trace is left which is preventing it if you want to rerun the fontforge. i tried winpatrol but no service is seen linked directly to fontforge; probably because it is not linked to any registered dlls?
3) again when you have the fontforge running (after again shutdown and restarting the machine), some actions (i actually wanted to open two windows (an existing old font and a new font to which i am planning to shift the glyphs) freeze the xming and nothing other than killing is possible. again you cannot rerun it without restarting the windows
PS: i was in a mind to build it using your repository and the latest fontforge. but i find the links are not working:
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/bash/bash-3.1.17-4/bash-3.1.17-4-msys-1.0.16-bin.tar.lzma/download
i checked and found that proper link is
http://sourceforge.net/projects/mingw/files/MSYS/Base/bash/bash-3.1.17-4/bash-3.1.17-4-msys-1.0.16-bin.tar.lzma/download
(it is Base and not BaseSystem)
any suggestions?
regards
rnkantan
Although I cannot reproduce any of your issues on my machine, I don’t think it’s an issue with your fonts, as I get the same font path related errors in my Xming log and do not have MSGOTHIC.TFF on my machine, but it works fine for me. I think your issues are likely related to Xming, but unfortunately, there have not been any free Xming releases since 2007. As for the broken links, they are fixed on Bitbucket, but I have not made a new release of the build system as there has not been a new FontForge release.
Many congratulations on making FontForge so accessible in Windows. Any chance of working the same magic on Glyphtracer, which appears to be written in Python, but I can’t find a version for Windows?
It runs fine on Windows if one is familiar with Python. To make life easy, I created a stand-alone package: http://goo.gl/3NIAh.
thanks for your efforts to re-generate the issues and see the problem; as you mentioned it is important to organize the software bugs, to recreate them, to see exactly the problem;
coming to my issues:
1) i have downloaded these meiroo’s available builds:
a) fontforge-mingw_2009_10_28.Zip; fontforge-mingw_2010_05_18.zip; they have a prebuit bin folder with ming; using fontforge.bat first time the Xwindow (named Xming starts) with fontforge; the only issue is that you cannot close and re-run it again without rebooting the computer.
if you try to rerun it without rebotting, the cmd window opens hanging, (in task manager i see cmd.exe, xwin.exe and fontforge.exe); i am not still able to trace which client remains connected to xserver as xming re-opens but only fontforge selection window is not reopening.
(btw msgothic.ttf is required in 2008 build and not in 2009 and 2010 builds)
b) fontforge-cygwin_2012_04_11.zip and fontforge-cygwin_2011_06_06.zip; they have cygwin build within a compressed file; the bat file on first run extracts the relevant files (cygwin folder containing the relevant subfolders). after extraction, rebasing is done and the xwindow (cygwin server) is called.
when 2011 version is tried, the Cygwin/X fatal error window pops up: “A Fatal Error has occurred and Cygin/X will now exit. Can’t read lockfile /tmp/.x9-lock; blah blah: package: Version 1.10.1-1 built 2011-04-22. Xwin was started with the following commandline: Xwin:9 -multiwindow -nomultimonitors -silent-dup-error” (as this webblog doenot allow images, i cannot add the screenshot)
(by using fontforge-xming.bat from xming.zip, the xwindow opens; but again not usable as the start/selection window is functional but without any characters; the cmd.exe window comes out with ” Pango-CRITICAL **: pango-xft-render: assertion ‘PANGO-XFT_IS-FONT (font) failed” messages. as i mentioned the window is fully functional, but the menu items are not visible;) (you can see the screenshot in typophile.com: http://typophile.com/node/92837)
when 2012 version is tried, the startmenu comes out but again with pango-critical error!
(PS: here i can close the fontforge or xwindow and again restart;)
regards
neelakantan
As they are not my builds, I can’t really help you with them. I’m not sure why you have an error with Pango, but it makes sense that none of the text is displayed since Pango is a text rendering library.
Hi, I don’t know much about computers… but I’ve been trying to download FontForge with no luck… searching on how to do it I found this site! Can you tell me which link I have to click? The one that says Installer (5.8 MB) or 7z Archive (5.5 MB) or do I have to click both? Sorry if it sounds dumb… but I really don’t know much about computers… Thanks in advance
You only need to download one. I would recommend downloading the one the says “Installer” since it does not require additional software to run.
Thanks!
Having a working Win version of FF is a blessing: I’m keeping a Linux box (almost) only to run FF and this version un-ties me from that computer. It is not 100% stable, true, but the original version isn’t either…
In previous answers, you say a new Win version will be available ‘when a new FF release will be available”. Apparently, there will no longer be any ‘official’ FF release: the git source code is at any moment ‘the’ official release.
So, please… … …
Thanks!
Maurizio
I have not read anything saying that there will be no more tarball releases. Where did you find something that said that?
Looks like it works well on my Windows 7 box. Last year I wrote a blog post about Installing Cygwin and FontForge for Windows since installing it via Cygwin was such a difficult process for newbies, but your solution seems to work really well. Thanks for making this available — it must have been a bit of work to make this happen!
Hi Matthew,
Looked at the diff file and was thinking… would you be interested in merging these fixes into the fontforge main-line code? There seems to be a fair bit of activity happening, so that means this patch would have a good chance of being checked, viewed, accepted by the maintainer(s).
Latest fontforge code can be currently loaded via git (you can download a copy by doing this):
c:
cd \
git clone git://fontforge.git.sourceforge.net/gitroot/fontforge/fontforge my_local_dir
…where my_local_dir is a new directory created on your computer where it gets cloned into.
diff updates would go on sourceforge in the fontforge patches bug tracker here:
http://sourceforge.net/tracker/?group_id=103338&atid=634533
I’m currently updating the diff to work with the current code. When the configure script was updated in commit 6d853051b4dc4211ecd9fca2ff31f25fe79b1341, it broke linking with my build. I’m still in the process of fixing it. After I get the build working again, I’ll see about cleaning it up and submitting a patch.
Thanks a lot for your excellent job! Like everyone, with the source was a disaster for me!
Congratulations!
Spirou4D
Hi dude! Thanks for the great installer! just read that you plan to release a new version of this only when the new version of fontforge is out…well, guess what, tis out now! We would all greatly appreciate when you come with the new installer. thanx very much again, cheers!!!
My build is now the official build. See http://sourceforge.net/projects/fontforge/.
Thank you very much for this! This is tremendous.
I have installed this on 64 bit Windows 7 Enterprise and it works great. I can copy my previous font files into the FontForge folder and I can edit and see them in Windows. The problem that I am having is that new files created with FF are not visible to Windows; they are only visible in the dialog boxes in FF and since there is no way to copy/paste from these dialog boxes, I can’t use the files that I just created. Since FF is not able to browse to my Flash drive, I am unable to transport the files to other machines and try them there.
Have you experienced this before? I have a feeling that I would be able to see the files from the Ming shell but can’t figure out how to invoke it; it is the version that is included in your install and I have not installed Cygwin or another version of Ming. Do you have any suggestions (short of installing Cygwin or other)? I know that there is some new Windows 7 Subsystem for running and compiling Unix applications but I don’t want to try that yet.
Thanks. -Steve
Not being able to change drives comes from the fact that Unix does not have a concept of drives, and this limitation isn’t going to change anytime soon (not until FontForge is ported to a modern GUI toolkit). If you save a file with FontForge and are subsequently able to open it with FontForge, the file is on your hard drive. MinGW compiled executables, such as this FontForge build, are native Windows code; Windows system calls are used to access the file system. Are you sure you looked in the correct folder? The only thing I can think of is showing hidden files. Also, open a Command Prompt, “cd” to the directory you saved the files in, and run the “dir” command; this will list all files in the directory. Installing a MinGW shell will not help.
Yes, those are the obvious things to try and the first things that I checked when I couldn’t see them, but it turns out that Windows 7 has a Compatibility Files view that will show these types of files. I have some nice screen captures to show that the files are there in FF, not there in the cmd or Explorer windows, but show up by themselves in the Compatibility Files view (from a VirtualStore folder). These captures may be something useful to post because I can’t be the only one that will come across this.
As a Windows XP user, I had never heard of that. Apparently, it happens when one tries to save a file somewhere where elevated privledges are needed, such as in “Program Files.” It shouldn’t happen if one saves files where elevated privledges are not needed, such as one’s “Documents” folder.
I have installed FontForge from your installer on my Windows 7 machine. I can very well open and edit fonts. The problem is, while I try to save the modified font file, it gives an error message saying the font file could not be written. This makes all my efforts in vein since I cannot save my work. My aim is to edit one of the indic fonts to replace an existing glyph with a more accurate one. I also need to alter the anchoring accordingly. Other font editors do not allow to do these things. Therefore I have stick on to FF. Is there any hope?
Are you trying to save a font to the Windows font folder? If so, you need to save it somewhere else and then copy it in. Otherwise, could you please post the exact text of the error message?
No. I was not trying to save to any system folder. I was trying to save to my desktop. While trying to save, it gives an error message which when closed, reappears continuously until I finally quit the application by invoking “Task manager” and pressing “End task”. Please see this screenshot: http://postimage.org/image/b2yy9zvol/
It creates a .ttf file, but no content (0 bytes).
That’s definitely a bug. You could try saving it in a different format, opening the newly generated file, and saving that as a *.ttf file. Otherwise, I would suggest trying it on Linux as the Windows build is a bit of a kludge. If it still doesn’t work, it’s a bug in FontForge itself in which case you should file a bug report at: https://github.com/fontforge/fontforge/issues. You would probably need to provide the *.sfd file so the bug could be reproduced.
First of all thank you for creating this – it’s extremely useful for those of us who are dedicated Windows guys.
I’m running the batch script directly on a Windows Azure cloud service, using Process.Start with a set of arguments to convert a .ttf file to a .woff. This works fine, as long as I run it on the Azure emulator, or if I log in to the cloud box and run it manually there, but fails if I run it on the cloud box without any desktop session connected. I can’t seem to parse an error message from the output, which looks identical to a successful operation, except for a single line “: No such file” – the problem is, I don’t know if this error is coming from Font Forge, or Xming.
Do you have any idea how I can go about debugging this, or where (which newsgroup) I might post a question to? I have a full dump of output from the tool but can’t really make head or tail of it.
Many thanks in advance.
I would guess it has to do with Xming, but as I’ve never done anything similar to this, I’m not sure. I think you can avoid this problem by using FontForge’s scripting capabilities.
Create a text file called “convert.pe” with the following content:
Open($1)
Generate($1:r + “.woff”)
Then run following commands from the command prompt in the FontForge bin folder, changing “FONTFORGE” to the absolute path of your FontForge directory and “INPUT” to the full path of your input file:
set PATH=FONTFORGE\bin\Xming-6.9.0.31;%PATH%
fontforge.exe -script convert.pe INPUT.ttf
It should result in a file called “INPUT.woff” in the same folder as “INPUT.ttf”.
For more informations see: http://fontforge.org/scripting-tutorial.html
Hi Matthew , thanks for your great job. I have it installed in Windows, and it works perfectly. However, I am looking for pre-built libraries to work on MinGW too. Do you have any idea or suggestion how to compile it with MinGW instead of MSVC? Thanks.
I’m not sure what you’re asking. The build uses MinGW, not MSVC.
Matthew, sorry for my misleading question. Someone told me that’s compiled with MSVC, but I just find out that it is compiled with MinGW. Anyway, I wonder if the build instruction from here https://bitbucket.org/mpetroff/unofficial-fontforge-mingw-sdk/get/2011-10-04.zip is still valid or not. I download that package, following the instructions but with all needed libraries updated to the latest one. Also, instead of compiling the 2011 FontForge source, I use the latest one also. I think the patches as well as the configuration are no longer valid for the latest version, and also, when I compile FontForge by following build_all.sh, lots of errors shown. Any suggestions? Thanks.
Use the most recent version: https://bitbucket.org/mpetroff/unofficial-fontforge-mingw-sdk/get/tip.zip
It worked as of August.
That’s great. It goes perfectly! Thanks a lot. Happy New Year
Hi Mathew, it took me quite a long time to run the compilation. Long time later, I thought it’s done, but when I check the compiled executable I just found that the compilation terminated while it is compiling the xkbui
checking for pkg-config… no
checking for XKBUI… configure: error: The pkg-config script could not be found
or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables XKBUI_CFLAGS
and XKBUI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see .
See `config.log’ for more details.
Any idea? Thanks.
The issue isn’t with compiling XKBUI, it’s with the FontForge “configure” script. Looking at your other comment, my patch to fix this error appears to be one of the patches that failed.
I have downloaded all packages and src of the exact same versions as shown in the readme.htm in the package. I got the error message while compiling XKBUI as shown above. By ignoring that, I run the build.bat again and it compiled the rest libraries and packages but when it come to fontforge, it terminates with the following errors
patching file Makefile.dynamic.in
Hunk #1 succeeded at 5 (offset -2 lines).
patching file Makefile.static.in
Hunk #1 succeeded at 5 (offset -2 lines).
patching file configure
Hunk #1 succeeded at 4571 (offset 326 lines).
Hunk #2 FAILED at 4276.
Hunk #3 FAILED at 12597.
Hunk #4 succeeded at 21116 (offset 7666 lines).
Hunk #5 succeeded at 21468 (offset 7666 lines).
Hunk #6 succeeded at 21513 (offset 7666 lines).
Hunk #7 succeeded at 22989 (offset 7663 lines).
Hunk #8 succeeded at 23016 (offset 7663 lines).
2 out of 8 hunks FAILED — saving rejects to file configure.rej
patching file configure.in
Hunk #1 succeeded at 928 (offset -2 lines).
Hunk #2 succeeded at 955 (offset -2 lines).
patching file fontforge/bdfinfo.c
patching file fontforge/fffreetype.h
patching file fontforge/fontinfo.c
Hunk #1 succeeded at 6650 (offset 221 lines).
patching file fontforge/freetype.c
patching file fontforge/noprefs.c
patching file fontforge/startnoui.c
patching file fontforge/startui.c
Hunk #1 succeeded at 145 (offset -1 lines).
Hunk #2 succeeded at 319 (offset -1 lines).
Hunk #3 succeeded at 443 (offset -1 lines).
Hunk #4 succeeded at 450 (offset -1 lines).
patching file fontforge/svg.c
patching file fontforge/ttfinstrsui.c
patching file gdraw/gxdraw.c
patching file inc/dynamic.h
checking for gcc… gcc
checking whether the C compiler works… no
configure: error: in `/D/mpe/_work/fontforge-20110222′:
configure: error: C compiler cannot create executables
See `config.log’ for more details.
There seems to be something wrong with your version of gcc, at least that’s what it’s failing at. Also, my patches are no longer up-to-date as three of them failed.
Hi Matthew,
Thank you for porting FontForge to Windows.
I have one question and would be appreciative if you could help me.
I want to edit BDF font 2.1 version. The original font file starts with “STARTFONT 2.1″. After I save modified font the format of the BDF file is different. The modified font file starts with “SplineFontDB: 3.0″.
How can I save BDF font in 2.1 version.
Thanks.
Saving the font saves it in FontForge’s internal format. To create a font in a usable format, one needs to select “Generate Fonts” and select the desired format (probably either TrueType or OpenType).
Thanks!
It works for me!
Matthew, this looks like exactly what I need, and have installed the FontForge Windows Binaries (2012-07-31) (official): on a W7 64 bit machine, and all seems to work, but not for many minutes.
I am creating a font from a photograph of numerals on a clockface, cut into small monochrome bitmap imported and started to create a spline around it, but almost immediately I get a Windows error. Fontforge.exe has stopped working.
Problem signature:
Problem Event Name: APPCRASH
Application Name: fontforge.exe
Application Version: 0.0.0.0
Application Timestamp: 503119a3
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7601.17725
Fault Module Timestamp: 4ec49b8f
Exception Code: c0000005
Exception Offset: 000222b2
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 2057
Is there anything I might do to stop this please?
Thanks
I’ve found that FontForge is a bit unstable on Windows. The older build from 2011 tends to be a bit more stable. Other than that, there’s not much else I can tell you.
Excellent advice; Installed the earlier one as you suggested, and it works without crashing.
Thanks.
Thanks so much for the note about the 2011 build. I just installed FontForge yesterday and was pulling my hair out from the crashes. The older build does work!
Replying to Steve McClellan on November 8, 2012 at 1:45 pm (and other interested parties):
I, too, couldn’t see files created using FontForge and saved into the FontForge program file…until I clicked on “Compatibility Files” (show the compatibility files for this directory) in the section of the window just above the listing of files. Suddenly, the “invisible” files appeared, and I was able to do with them as I pleased. (Clicking the “back” arrow brought me back to the previous view of the FontForge folder (save files “invisible” again). Haven’t looked into what this actually is doing, but I know it solves the problem.
Matthew,
I read earlier that your older version works better on Windows? Is there a link to that version? I am running your newest version on Windows 8 and it crashes every two minutes. I would really love to get a hold of that more stable version.
Thanks for bringing this wonderful program to Windows!
It the last of the three sets of binaries listed on this page.
Installer: http://goo.gl/c6Ve7
7z Archive: http://goo.gl/FLrhi
I think I must be missing something here: I have downloaded fontforge & started with a new font.
I’m still at the experimenting stage, but I can’t get anywhere because after 2 or 3 simple actions it crashes.
The crash happens on an old XP machine & a new Windows 7 laptop. I haven’t a clue what’s wrong.
Try using the 2011-02-22 build listed. It’s more stable.
Yes that seems to be working now. Don’t know what caused it.
Thanks
I’m really late in the game so…
I’m using the FontForge without the Cygwin installed; is that okay or not? It seems without it, whenever I used FontForge, it crashed on me even on the old version.
Any thoughts?
Thank you.
I’m not really sure why it crashes so much. While the newer version is a bit unstable for me, the older version rarely crashes. If neither build works for you, you’ll probably have to run a Cygwin version or dual-boot Linux.
Is fontforge for windows built with –python-extension? “import fontforge” gives error “No module named fontforge”
No. The Python version was only built with “–with-python-headers” and “–with-python-lib”. See the build script.