PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/fontforge-20110222/htdocs/mac-install.html

#
HTML | 257 lines | 240 code | 0 blank | 17 comment | 0 complexity | 49201c5541ba3762e0f5f370452fa7f5 MD5 | raw file
  1. <HTML>
  2. <HEAD>
  3. <!-- Created with AOLpress/2.0 -->
  4. <!-- AP: Created on: 26-Oct-2005 -->
  5. <!-- AP: Last modified: 24-Dec-2008 -->
  6. <TITLE>FontForge install procedures for macintosh</TITLE>
  7. <LINK REL="icon" href="ffanvil16.png">
  8. <LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css">
  9. </HEAD>
  10. <BODY>
  11. <DIV id="in">
  12. <H1 ALIGN=Center>
  13. FontForge install procedures<BR>
  14. <SMALL>for the macintosh</SMALL>
  15. </H1>
  16. <P>
  17. <STRONG><FONT color="red">I no longer provide pre-built packages. You may
  18. either compile from source or download a package from another site (both
  19. <A href="http://www.macports.org/">macports</A> and
  20. <A href="http://www.finkproject.org/">fink</A> have fontforge
  21. packages).</FONT></STRONG>
  22. <UL>
  23. <LI>
  24. <A HREF="#Before">Before you install</A>
  25. <!--
  26. <LI>
  27. <A HREF="#Installing">Installing from a pre-built mac package</A>
  28. <UL>
  29. <LI>
  30. <A HREF="#Before">Before you install</A>
  31. <LI>
  32. <A HREF="#Obtaining">Obtaining one of my pre-built packages</A>
  33. <LI>
  34. <A HREF="#install">Installing</A>
  35. <LI>
  36. <A HREF="#Notes">Notes</A>
  37. </UL>
  38. -->
  39. <LI>
  40. <A HREF="nix-install.html">Installing on a unix/linux system</A>
  41. <LI>
  42. <A HREF="ms-install.html">Installing on MS/Windows</A>
  43. <LI>
  44. <A HREF="vms-install.html">Installing on VMS</A>
  45. <LI>
  46. <A HREF="source-build.html#mac">Building and installing from source</A>
  47. <LI>
  48. <A HREF="source-build.html#Dependencies">Dependencies (external libraries/helper
  49. programs)</A>
  50. <LI>
  51. <A HREF="source-build.html#Documentation">Installing documentation</A>
  52. <LI>
  53. <A HREF="running.html#mac">Running FontForge</A>
  54. <LI>
  55. <A HREF="uninstall.html">Uninstalling</A>
  56. </UL>
  57. <H2>
  58. <A NAME="Installing">Installing</A> from a pre-built package
  59. </H2>
  60. <H3>
  61. <A NAME="Before">Before</A> you install
  62. </H3>
  63. <P>
  64. You must insure that you have the the X11 server installed on your system.
  65. <DL>
  66. <DT>
  67. 10.5, 10.4
  68. <DD>
  69. <UL>
  70. <LI>
  71. Open the Install DVD that came with your system.
  72. <LI>
  73. Scroll down to "Optional Installs" and open it.
  74. <LI>
  75. Keep clicking <CODE>Continue</CODE> until you get to the pane "Custom Install
  76. on "Macintosh HD""
  77. <LI>
  78. Press the arrow beside "Applications so you get a list of them.
  79. <LI>
  80. Select X11
  81. <LI>
  82. Keep pressing <CODE>Continue</CODE>
  83. <LI>
  84. (If you want to build from source you should also install the Xcode packages).
  85. <LI>
  86. <TABLE BGCOLOR="#ffff00">
  87. <TR>
  88. <TD>Apple appears to have shipped a buggy version of X11 with 10.5. The problem
  89. appears fixed in 10.5.6 (It may have been fixed earlier, but I don't have
  90. a machine on which I can test that).
  91. <P>
  92. The problem only affects fontforge it if uses pango or cairo.
  93. <P>
  94. This release of fontforge tries to check for a buggy system, and if it thinks
  95. it is running on one, then it will refuse to use Pango and Cairo.
  96. <P>
  97. The problem does not affect Mac 10.4.*
  98. <HR>
  99. You may upgrade from 10.5 to 10.5.6 by going to the Apple Menu and selecting
  100. the "Software Update" menu item, and then the "Mac OS X Update Combined".
  101. <P>
  102. You probably need to install X11 <STRONG>before</STRONG> you upgrade the
  103. Operating System.</TD>
  104. </TR>
  105. </TABLE>
  106. </UL>
  107. <DT>
  108. 10.3
  109. <DD>
  110. <UL>
  111. <LI>
  112. The X server lives in a package called X11User.pkg in the Packages folder
  113. on the third install CD.
  114. <LI>
  115. Just double click on this file and follow its instructions to install X11
  116. </UL>
  117. </DL>
  118. <P>
  119. You may also want to install the
  120. <A HREF="http://fink.sourceforge.net/">fink</A> or
  121. <A href="http://www.macports.org/">macports</A> packages which includes many
  122. useful libraries (see the
  123. <A HREF="source-build.html#Dependencies">dependencies</A> section below for
  124. more info on this)
  125. <P>
  126. I've made a quick and dirty package which contains exactly what fontforge
  127. needs and placed it on
  128. <A href="http://sourceforge.net/project/showfiles.php?group_id=103338&amp;package_id=302003&amp;release_id=645772">sourceforge</A>.
  129. <H5>
  130. <A NAME="Configuring-X11">Configuring</A> X11
  131. </H5>
  132. <P>
  133. <CODE>X11-&gt;Preferences-&gt;Input</CODE>
  134. <P>
  135. FontForge is designed to make use of a three button mouse. It is also designed
  136. to make use of modifier key modes on mouse clicks (so Control left click
  137. can mean something different than left click). If you have a three (or two)
  138. button mouse then use it (and turn off "<CODE>Emulate three button
  139. mouse</CODE>" in the X11 preferences). If you have a standard one button
  140. mouse then you have the option of having the mac simulate a three button
  141. mouse (for instance Option mouse click behaves like clicking the middle mouse
  142. button). Unfortunately this means you can no longer use the Option key to
  143. change the behavior of the left (only) button click. So either choice means
  144. you lose capabilities.
  145. <P>
  146. Normally X11 is configured so that the Command key (cloverleaf) is bound
  147. to the X11 menu bar, and not to fontforge's. When fontforge starts it checks
  148. this, and if X11 gets command then fontforge configures its menubar to use
  149. Control rather than command. This isn't very mac-like. If you turn <B>off</B>
  150. the "<CODE>Enable keyboard shortcuts under X11</CODE>" preference item then
  151. fontforge will configure its menubar to make use of Command.
  152. <P>
  153. If type the following into a terminal (or xterm) window
  154. <BLOCKQUOTE id="shell">
  155. <PRE><FONT COLOR="Gray">$ </FONT>cat &gt;~/.fonts.conf
  156. &lt;?xml version="1.0"?&gt;
  157. &lt;!DOCTYPE fontconfig SYSTEM "fonts.dtd"&gt;
  158. &lt;!-- /etc/fonts/fonts.conf file to configure system font access --&gt;
  159. &lt;fontconfig&gt;
  160. &lt;!-- Font directory list --&gt;
  161. &lt;!-- Add to system list --&gt;
  162. &lt;dir&gt;/System/Library/Fonts&lt;/dir&gt;
  163. &lt;dir&gt;/Library/Fonts&lt;/dir&gt;
  164. &lt;dir&gt;~/Library/Fonts&lt;/dir&gt;
  165. &lt;/fontconfig&gt;
  166. <B>^D</B>
  167. </PRE>
  168. </BLOCKQUOTE>
  169. <P>
  170. then fontforge's UI will be able to use the fonts Apple supplies with the
  171. mac. (You don't type the "$", and ^D means hold down the control key and
  172. press "D").
  173. <H5>
  174. Note:
  175. </H5>
  176. <P>
  177. On the mac, the Option key is mapped to what fontforge calls "Alt" or "Meta".
  178. <H3>
  179. <A NAME="Obtaining">Obtaining</A> one of my pre-built packages
  180. </H3>
  181. <P>
  182. I used to post mac install packages on
  183. <A HREF="http://sourceforge.net/project/showfiles.php?group_id=103338&amp;package_id=111040">sourceforge's
  184. file release system</A>. The old ones are still there <STRONG>but they are
  185. now out of date.</STRONG> There's a certain amount of pother involved in
  186. using the file release system, but you get the file eventually.
  187. <P>
  188. I currently post builds for Mac 10.5 &amp; 10.4 (I post different builds
  189. for the two systems because they provide different python libraries).
  190. <P>
  191. <STRONG>Neither of these builds will work on 10.3</STRONG>. If you wish a
  192. 10.3 build you can <A HREF="source-build.html">build from current source</A>,
  193. or download a build from 2006. If you wish a 10.2 or earlier build the current
  194. sources will not work and you must delve more deeply into the past.
  195. <UL>
  196. <LI>
  197. If you follow the
  198. <A HREF="http://sourceforge.net/project/showfiles.php?group_id=103338&amp;package_id=111040">link
  199. above </A>you will end up on a page showing many releases of FontForge for
  200. many systems<BR>
  201. in most cases you will want the most recent release.
  202. <LI>
  203. Then click on the executable package you want to download:
  204. <UL>
  205. <LI>
  206. The mac release will be called something like "FontForge-200xxxxx.pkg.sitx
  207. </UL>
  208. <LI>
  209. Then you have the joy of choosing a mirror site (pick one that's on the same
  210. continent you are) and click on the little icon in the download column
  211. <LI>
  212. Then you wait. After a bit you get another copy of this same page. After
  213. an even longer time your browser notices that you've started a download.
  214. </UL>
  215. <H3>
  216. <A NAME="install">Installing</A>
  217. </H3>
  218. <P>
  219. Generally your browser will decompress the package after pulling it down,
  220. and then start the install process itself.
  221. <P>
  222. If this doesn't happen, find the package (it's usually on the desktop) and
  223. double-click on it.
  224. <P>
  225. The install will request your password (to make sure you have the right to
  226. do an install on your machine, and then ask some innocuous questions, and
  227. proceed to install.
  228. <H3>
  229. <A NAME="Notes">Notes</A>
  230. </H3>
  231. <P>
  232. FontForge does not conform to Apple's Human Interface Guidelines. FontForge
  233. never will. Don't expect it to look like a normal Mac Application. It doesn't.
  234. <P>
  235. Before you can start FontForge you must start the X11 server. You do this
  236. by opening the Utilities sub-folder of the Applications folder and
  237. double-clicking on X11. This will bring up a new menu bar, and under the
  238. Applications menu you should find an entry for FontForge.
  239. <P>
  240. <HR>
  241. <UL>
  242. <LI>
  243. <A HREF="source-build.html#source">Building and installing from source</A>
  244. <LI>
  245. <A HREF="source-build.html#Dependencies">Dependencies (external libraries/helper
  246. programs)</A>
  247. <LI>
  248. <A HREF="source-build.html#Documentation">Installing documentation</A>
  249. <LI>
  250. <A HREF="running.html#mac">Running FontForge</A>
  251. </UL>
  252. <P>
  253. </DIV>
  254. </BODY></HTML>