1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
|
<HTML>
<HEAD>
<!-- Created with AOLpress/2.0 -->
<!-- AP: Created on: 26-Oct-2005 -->
<!-- AP: Last modified: 14-Sep-2009 -->
<TITLE>FontForge install procedures for cygwin (MS/Windows)</TITLE>
<LINK REL="icon" href="ffanvil16.png">
<LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css">
</HEAD>
<BODY>
<DIV id="in">
<H1 ALIGN=Center>
FontForge install procedures<BR>
<SMALL>for cygwin under MS Windows</SMALL>
</H1>
<UL>
<LI>
<A HREF="#Installing">Installing from a pre-built cygwin package</A>
<UL>
<LI>
<A HREF="#Before">Before you install</A>
<LI>
<A HREF="ms-install.html#Alternatives">Alternatives to cygwin</A>
<LI>
<A HREF="#Obtaining">Obtaining one of my pre-built packages</A>
<LI>
<A HREF="#install">Installing</A>
<LI>
<A HREF="#Notes">Notes</A>
</UL>
<LI>
<A HREF="nix-install.html">Installing on a unix/linux system</A>
<LI>
<A HREF="mac-install.html">Installing on a mac</A>
<LI>
<A HREF="vms-install.html">Installing on VMS</A>
<LI>
<A HREF="source-build.html#MS">Building and installing from source</A>
<LI>
<A HREF="source-build.html#Dependencies">Dependencies (external libraries/helper
programs)</A>
<LI>
<A HREF="source-build.html#Documentation">Installing documentation</A>
<LI>
<A HREF="running.html#cygwin">Running FontForge</A>
<LI>
<A HREF="running.html#cygwin-troubles">Troubleshooting</A>
<LI>
<A HREF="uninstall.html">Uninstalling</A>
</UL>
<H2>
<A NAME="Installing">Installing</A> from a pre-built cygwin package
</H2>
<H3>
<A NAME="Before">Before</A> you install
</H3>
<P>
You must insure that you have <A HREF="http://www.cygwin.com/">cygwin</A>
installed on your system. Cygwin is free. (cygwin makes MS Windows look enough
like unix to allow fontforge to run there). Getting all the bits of cygwin
seems to be the hardest part of installing fontforge -- probably because
it is the least expected part.
<UL>
<LI>
First download the setup.exe program from
<A TARGET="_top" HREF="http://www.cygwin.com/">http://www.cygwin.com/</A>
<LI>
Run it. It will ask you what components of cygwin you wish to install
<LI>
You will need the default stuff, plus the X window system, binutils, libpng,
libjpeg, and libxml2.
<P>
Most of what you need you get by default. But you must explicitly request
X11 and the libraries.
<LI>
Once you have cygwin installed, start it. This should give you a terminal
window running bash (a unix shell)
</UL>
<H3>
<A NAME="Alternatives">Alternatives</A> to cygwin.
</H3>
<P>
There are now alternatives to cygwin.
<P>
Someone has ported fontforge to mingw, which is much simpler to download
than cygwin:
<UL>
<LI>
<A HREF="http://www.geocities.jp/meir000/fontforge/">fontforge-mingw</A>
</UL>
<P>
Instead of downloading cygwin you can install one of the virtual machines
(or something similar) which run linux, and then install fontforge from a
linux package.
<UL>
<LI>
<A HREF="http://www.andlinux.org/">andLinux</A>
</UL>
<H3>
<A NAME="Obtaining">Obtaining</A> one of my pre-built packages
</H3>
<P>
I post a cygwin install package on
<A HREF="http://sourceforge.net/project/showfiles.php?group_id=103338&package_id=111040">sourceforge's
file release system</A>. There's a certain amount of pother involved in using
the file release system, but you get the file eventually.
<UL>
<LI>
If you follow the
<A HREF="http://sourceforge.net/project/showfiles.php?group_id=103338&package_id=111040">link
above </A>you will end up on a page showing many releases of FontForge for
many systems<BR>
in most cases you will want the most recent release.
<LI>
Then click on the executable package you want to download:
<UL>
<LI>
The cygwin release will be called something like
"fontforge_cygwin-200xxxxx.tar.bz2
</UL>
<LI>
Then you have the joy of choosing a mirror site (pick one that's on the same
continent you are) and click on the little icon in the download column
<LI>
Then you wait. After a bit you get another copy of this same page. After
an even longer time your browser notices that you've started a download.
</UL>
<H3>
<A NAME="install">Installing</A>
</H3>
<P>
I have no idea where your browser put the package you have just downloaded.
This is unfortunate as I can't tell you exactly what to do next. But find
the package (often it's on the desktop) and then move it into
C:\cygwin\home\<username>. (where <username> is whatever name
cygwin gave you)
<UL>
<LI>
Then open a cygwin window (by clicking on the cygwin icon)
<LI>
With luck you will now be in the directory containing the package you downloaded.
<LI>
Now type (do not type the "$"):
<BLOCKQUOTE>
<PRE><FONT COLOR="Gray">$ </FONT>bunzip2 fontforge_cygwin-*.tar.bz2
<FONT COLOR="Gray">$ </FONT>tar xf fontforge_cygwin-*.tar
<FONT COLOR="Gray">$ </FONT>cd fontforge
<FONT COLOR="Gray">$ </FONT>./doinstall
</PRE>
</BLOCKQUOTE>
<LI>
Then each time you want to run fontforge, start X11
<UL>
<LI>
On recent cygwin systems you may start X by invoking:
<BLOCKQUOTE>
<PRE>C:\cygwin\usr\X11R6\bin\startxwin.bat
</PRE>
</BLOCKQUOTE>
<LI>
Or:
<BLOCKQUOTE>
<PRE>startx
</PRE>
</BLOCKQUOTE>
<LI>
While on older systems try:
<BLOCKQUOTE>
<PRE><FONT COLOR="Gray">$ </FONT>xinit
</PRE>
</BLOCKQUOTE>
<LI>
This should bring up X in a large window that covers the screen and within
that should be a subwindow, an xterm, running bash.
<LI>
From the xterm you first start a window manager
<BLOCKQUOTE>
<PRE><FONT COLOR="Gray">$ </FONT>twm &
</PRE>
</BLOCKQUOTE>
<LI>
And then you should be able start FontForge.
<BLOCKQUOTE>
<PRE><FONT COLOR="Gray">$ </FONT>fontforge -new
</PRE>
</BLOCKQUOTE>
</UL>
<H3>
<A NAME="Notes">Notes</A>
</H3>
<P>
<FONT COLOR="Red"><STRONG>Caveat: </STRONG></FONT>cygwin has a different
approach to the file system than Windows. A filename like
<CODE>C:\windows\fonts\arial.ttf </CODE>will be called
<CODE>/cygdrive/c/windows/fonts/arial.ttf </CODE>under cygwin (backslashes
are replaced by slashes, and the initial drive "<CODE>C:</CODE>" becomes
"<CODE>/cygdrive/c</CODE>".
<P>
Similarly a cygwin filename
"<CODE>/home/<username>/myfont.ttf</CODE>" becomes
"<CODE>C:\cygwin\home\<username>\myfont.ttf</CODE>"
<P>
<STRONG><FONT COLOR="Red">Caveat</FONT>:</STRONG> Do <STRONG>NOT</STRONG>
try to install a font by using fontforge to write the font directly to the
Windows\Fonts directory. This doesn't work. Windows needs to do some magic
when installing a font that it can't do if fontforge writes directly there.
Instead have fontforge create the font somewhere else and then use Windows'
own drag & drop technique to move the font from there into Windows\Fonts.
<P>
<STRONG><FONT COLOR="Red">Caveat</FONT>:</STRONG> I've been told that on
Win 98 you need to have "Microsoft Network Login" installed to run X. I never
found this to be true myself, but if you have problems it might be something
to try.
<P>
<HR>
<UL>
<LI>
<A HREF="source-build.html#MS">Building and installing from source</A>
<LI>
<A HREF="source-build.html#Dependencies">Dependencies (external libraries/helper
programs)</A>
<LI>
<A HREF="source-build.html#Documentation">Installing documentation</A>
<LI>
<A HREF="running.html#cygwin">Running FontForge</A>
<LI>
<A HREF="running.html#cygwin-troubles">Troubleshooting</A>
</UL>
<P>
</UL>
</DIV>
</BODY></HTML>
|