Skip to content
Browse files

The mac documents say that we should explitely exit a script with 0.

Also add a description of setting the PATH variable.
  • Loading branch information...
1 parent 1cc41eb commit e53be289aa2c5bb237a85cf685e24febde3b37cb George Williams committed Dec 25, 2005
Showing with 164 additions and 210 deletions.
  1. +162 −210 mac-Resources/ReadMe.rtf
  2. +1 −0 mac-Resources/postflight
  3. +1 −0 mac-Resources/preflight
View
372 mac-Resources/ReadMe.rtf
@@ -1,211 +1,163 @@
-{\rtf1\mac\ansicpg10000\cocoartf102
-{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fmodern\fcharset77 Courier;
-}
-{\colortbl;\red255\green255\blue255;}
-\margl1440\margr1440\vieww12000\viewh14400\viewkind0
-\pard\ql\qnatural
-
-\f0\b\fs24 \cf0 BEFORE INSTALLATION
-\f1\b0 \
- Before you install fontforge under Mac OS/X you should first install the X\
- window system.\
-\
- In 10.3 this was optional software provided by Apple, if it is not\
- already on your system you must insert the third install CD that came\
- with your system and install the X11User package.\
-\
- I think 10.4 installs X11 by default.\
-\
- It is possible to use fontforge without X, but in this case there is no user\
- interface and you are limited to running scripts. (see below for details)\
-\
- X11 (or XDarwnin on old systems) lives in the Utilities folder of the\
- Applications folder.\
-\
-
-\f0\b INSTALLATION NOTES:
-\f1\b0 \
- Download the PPC package (the sitx file) from\
- http://sourceforge.net/project/showfiles.php?group_id=103338&package_id=111040\
- This should be automatically expanded, and the install started.\
- After the install has completed it should have added a FontForge entry to the X11 Applications menu.\
-\
- If this did not happen automatically, you can do this yourself:\
-\pard\fi500\ql\qnatural
-\cf0 Start X11\
-Select Applications->Customize Menu\
-Then press the (Add) button in the dialog which appears\
-Double click in the left-most section of the blank line which just appeared and then type "FontForge"\
-Press the tab key and type "/usr/local/bin/fontforge"\
-Press the tab key again and type "f"\
-Then press (Done)\
-\pard\ql\qnatural
-\cf0 \
- If you like to use the command line, you might want to\
- add /usr/local/bin to your PATH environment variable (and\
- /usr/local/share/man to your MANPATH environment variable).\
- If your shell is bash then edit your ~/.bashrc and add\
- PATH=$\{PATH\}:/usr/local/bin ; export PATH\
- MANPATH=$\{MANPATH:-\}:/usr/local/share/man ; export MANPATH\
- At least one person also needed to define DYLD_LIBRARY_PATH to contain\
- /usr/local/lib\
-\
-
-\f0\b RUNNING
-\f1\b0 \
- Before you can start FontForge you must start X11. It resides in the\
- Utilities folder of the Applications folder. Double click on it.\
-\
- On the X11 menubar is a menu called "Applications". Click on this.\
- You should see an entry for FontForge (if you do not, reread the\
- previous section). Click on this.\
- FontForge will start and provide you with a font-file browser, which\
- also includes the ability to create a new font.\
-\
-
-\f0\b BUILDING
-\f1\b0 \
- Just download the file fontforge_full-*.tgz which you will find on\
-
-\f2 http://fontforge.sourceforge.net/index.html#source\
-
-\f1 Move it somewhere appropriate (/usr/local/src perhaps?) and type:\
-
-\f2 $ gunzip fontforge_full-*.tgz ; tar xf fontforge_full-*.tar\
- $ cd fontforge*\
- $ configure\
- $ make\
- $ sudo make install\
-
-\f1 \
-\pard\ql\qnatural
-
-\f0\b\fs20 \cf0 More complex installations\
-\pard\ql\qnatural
-
-\f1\b0\fs24 \cf0 "make install" will also install a few other things which are not part of\
- the standard package, but which are useful for some people.\
- CIDMAPS:\
- If you are going to be editing CID keyed fonts you should also down-\
- load my cidmap files from\
-
-\f2 http://fontforge.sourceforge.net/cidmaps.tgz\
-
-\f1 put that file in the same place as you put fontforge_full*.tgz, then\
-
-\f2 $ mkdir -p fontforge/cidmaps\
- $ mv cidmaps.tgz fontforge/cidmaps\
- $ cd fontforge/cidmaps\
- $ gunzip *.tgz ; tar xf *.tar\
- $ cd ../..\
-
-\f1 And then proceed to do the normal install.\
- Or install them manually:\
-
-\f2 # mkdir -p /usr/local/share/fontforge\
- # mv fontforge/cidmaps/* /usr/local/share/fontforge\
-
-\f1
-\f0\b DOCUMENTATION:\
-
-\f1\b0 You can choose to install FontForge's documentation on your system, then\
- pressing the [Help] or [F1] key within FontForge will go to the local\
- docs rather than those on the web.\
- Download the doc bundle from\
-
-\f2 http://fontforge.sourceforge.net/index.html#docs\
-
-\f1 Then (assuming you have not changed the install prefix)\
-
-\f2 # mkdir -p /usr/local/share/doc/fontforge\
- # mv fontforge_htdocs-*.tgz /usr/local/share/doc/fontforge\
- # cd /usr/local/share/doc/fontforge\
- # gunzip *.tgz; tar xf *.tar\
-
-\f1 \
-
-\f0\b BUILDING without X11\
-
-\f1\b0 FontForge can be built without X11. You will probably only want to do this\
- if your system lacks X (in which case configure should figure that out and\
- do it automagically). But if, for some strange reason you wish to build a\
- non-X version on a machine with X type:\
-
-\f2 $ configure --without-x\
-
-\f1 during the build process instead of "$ configure" \
-
-\f0\b \
-RUNNING from the command line\
-
-\f1\b0 Before running FontForge you must start X11. It lives in the Applications\
- folder, and you start it by double clicking on it.\
- You can start fontforge either from one of the xterms it creates, or from a \
- Terminal window. If you start from a Terminal window you must first type:\
-
-\f2 $ DISPLAY=:0 ; export DISPLAY\
-\
-$ fontforge -new\
-
-\f1 Creates a new font\
-
-\f2 $ fontforge -nosplash\
-
-\f1 (No splash screen in case you have a very slow X connection)\
-
-\f2 $ fontforge font.pfa font2.pfb font3.ttf font4.otf font4.sfd\
-
-\f1 Opens those fonts (sfd files are fontforge's own spline font database files)\
-
-\f2 $ fontforge
-\f1 \
- Brings up a file picker dlg.\
-
-\f2 $ fontforge -script script-file [script arguments]\
-
-\f1 Starts fontforge up without bringing up any windows. It will run the script-file\
- (passing it any other arguments given on the command line) and then exit.\
-\
-The Control & Option keys must be used for invoking menu items. If you try\
-to use Cmd-Q (rather than Cntl-Q) you will quit out of X11, and not just\
-fontforge.\
-\
-
-\f0\b CAVEATS\
-
-\f1\b0 1) FontForge does not conform to Apple's Human Interface Guidelines, and never\
- will.\
-\
-Please report any bugs to\
-
-\f2 fontforge-devel@lists.sourceforge.net
-\f1 \
-\
-
-\f0\b DOCUMENTATION\
-
-\f1\b0
-\f2 http://fontforge.sourceforge.net/overview.html\
-
-\f1 \
-
-\f0\b FONTS UNDER Mac OS/X
-\f1\b0 \
- Macintosh fonts live in /Library/Fonts, /System/Library/Fonts or\
- ~/Library/Fonts. On Mac OS/X FontForge can edit .dfont and resource fork \
- fonts. On other systems FontForge can only edit Mac .dfonts (the concept\
- of a resource fork is Mac specific).\
-\
- (X11 fonts on the mac are completely seperate from the mac fonts. \
- they reside somewhere in the X tree).\
-\
-
-\f0\b FONTS UNDER Mac OS/9
-\f1\b0 \
- Note Bene: As far as I know FontForge has not been ported to Mac OS/9 (or 8 or 7)\
-\
- Fonts live in :System Folder:Fonts: They are stored in resource forks, which\
- means that if you want to work with them you must first wrap them up with \
- either macbinary or binhex (Fetch may be used to do either conversion as you\
- transfer the font to a different system to edit it).\
+{\rtf0\mac\deff21{\fonttbl{\f-15008 \fnil Adobe Jenson Pro;}{\f-3808 \fnil Adobe Jenson Pro Capt;}{\f-9920 \fnil Adobe Jenson Pro Disp;}{\f-11712 \fnil Adobe Jenson Pro Ital;}{\f-13248 \fnil Adobe Jenson Pro Ital Capt;}{\f-6464 \fnil Adobe Jenson Pro Ital Disp;}{\f-12672 \fnil Adobe Jenson Pro Ital Subh;}{\f-1792 \fnil Adobe Jenson Pro Subh;}{\f-14528 \fnil Ambrosia;}{\f-23936 \fnil AmbrosiaBold;}{\f-4256 \fnil AmbrosiaItalic;}{\f3044 \fnil American Typewriter;}{\f3045 \fnil American Typewriter Condensed;}{\f3047 \fnil American Typewriter Condensed Light;}{\f3046 \fnil American Typewriter Light;}{\f7102 \fnil Andale Mono;}{\f2311 \fnil Apple Chancery;}{\f2001 \fnil Arial;}{\f12077 \fnil Arial Black;}{\f2000 \fnil Arial Narrow;}{\f3007 \fnil Arial Rounded MT Bold;}{\f15251 \fnil Aristocrat LET;}{\f2424 \fnil Baskerville;}{\f2425 \fnil Baskerville Semibold;}{\f1686 \fnil Bertram LET;}{\f15038 \fnil Bickley Script LET;}{\f2474 \fnil Big Caslon;}{\f1551 \fnil BlairMdITC TT-Medium;}{\f2420 \fnil Bodoni Ornaments ITC TT;}{\f13616 \fnil Bodoni SvtyTwo ITC TT-Bold;}{\f2513 \fnil Bodoni SvtyTwo ITC TT-Book;}{\f1505 \fnil Bodoni SvtyTwo ITC TT-BookIta;}{\f1483 \fnil Bodoni SvtyTwo OS ITC TT-Bold;}{\f1417 \fnil Bodoni SvtyTwo OS ITC TT-Book;}{\f2487 \fnil Bodoni SvtyTwo OS ITC TT-BookIt;}{\f15112 \fnil Bordeaux Roman Bold LET;}{\f2527 \fnil Bradley Hand ITC TT-Bold;}{\f3017 \fnil Brush Script MT;}{\f2003 \fnil Capitals;}{\f-28928 \fnil Chalkboard;}{\f2002 \fnil Charcoal;}{\f16383 \fnil Chicago;}{\f14651 \fnil Cochin;}{\f4513 \fnil Comic Sans MS;}{\f2224 \fnil Copperplate;}{\f2422 \fnil Copperplate Light;}{\f22 \fmodern Courier;}{\f2005 \fnil Courier New;}{\f8916 \fnil Didot;}{\f-10592 \fnil Euphemia UCAS;}{\f-24576 \fnil Euphemia UCAS Italic;}{\f11098 \fnil FrenchScript;}{\f4060 \fnil Futura;}{\f4061 \fnil Futura Condensed;}{\f2307 \fnil Gadget;}{\f-8096 \fnil Geeza Pro;}{\f-22592 \fnil Geeza Pro Bold;}{\f3 \fswiss Geneva;}{\f12171 \fnil Georgia;}{\f4242 \fnil Gill Sans;}{\f4243 \fnil Gill Sans Light;}{\f21 \fswiss Helvetica;}{\f4684 \fnil Helvetica Neue;}{\f4889 \fnil Helvetica Neue Black Condensed;}{\f4685 \fnil Helvetica Neue Bold Condensed;}{\f4846 \fnil Helvetica Neue Light;}{\f4688 \fnil Helvetica Neue UltraLight;}{\f4224 \fnil Herculanum;}{\f2013 \fnil Hoefler Text;}{\f2018 \fnil Hoefler Text Ornaments;}{\f1260 \fnil Humana Serif ITC TT-Light;}{\f1850 \fnil Humana Serif ITC TT-LightIta;}{\f1058 \fnil Humana Serif ITC TT-MedIta;}{\f2559 \fnil Humana Serif ITC TT-Medium;}{\f2039 \fnil Impact;}{\f15345 \fnil Jokerman LET;}{\f11099 \fnil Kidprint;}{\f1024 \fnil Lucida Grande;}{\f1268 \fnil LunaITC TT-Bold;}{\f11103 \fnil Lydian MT;}{\f1887 \fnil Machine ITC TT;}{\f2020 \fnil Marker Felt;}{\f1221 \fnil Mona Lisa Solid ITC TT;}{\f4 \fmodern Monaco;}{\f2515 \fnil MT Extra;}{\f2 \froman New York;}{\f6376 \fnil Optima;}{\f4154 \fnil Optima ExtraBlack;}{\f16 \froman Palatino;}{\f5136 \fnil Papyrus;}{\f15248 \fnil Party LET;}{\f-10304 \fnil Pigiarniq Bold;}{\f-288 \fnil Plantagenet Cherokee;}{\f1506 \fnil PortagoITC TT;}{\f2004 \fnil Sand;}{\f2040 \fnil Skia;}{\f1737 \fnil Stone Sans ITC TT-Bold;}{\f2063 \fnil Stone Sans ITC TT-Semi;}{\f1769 \fnil Stone Sans ITC TT-SemiIta;}{\f1054 \fnil Stone Sans OS ITC TT-Bold;}{\f1892 \fnil Stone Sans OS ITC TT-Semi;}{\f1776 \fnil Stone Sans OS ITCTT-SemiIta;}{\f2574 \fnil Stone Sans SC ITC TT-Semi;}{\f10892 \fnil Swing;}{\f23 \ftech Symbol;}{\f2006 \fnil Techno;}{\f2305 \fnil Textile;}{\f20 \froman Times;}{\f2010 \fnil Times New Roman;}{\f1109 \fnil Trebuchet MS;}{\f1804 \fnil TremorITC TT;}{\f7203 \fnil Verdana;}{\f15318 \fnil Wanted LET;}{\f14213 \fnil Webdings;}{\f1236 \fnil Zapf Dingbats;}{\f642 \fnil Zapfino;}{\f30742 \fnil Courier CE;}{\f30723 \fnil Geneva CE;}{\f30741 \fnil Helvetica CE;}{\f-2115 \fnil Krungthep;}{\f30724 \fnil Monaco CE;}{\f-5891 \fnil Silom;}{\f30740 \fnil Times CE;}{\f-20569 \fnil Ayuthaya;}{\f19461 \fnil Charcoal CY;}{\f19459 \fnil Geneva CY;}{\f19492 \fnil Helvetica CY;}{\f19464 \fnil Lucida Grande CY;}{\f19460 \fnil Monaco CY;}{\f-1977 \fnil Sathu;}{\f-19449 \fnil Thonburi;}{\f19540 \fnil Times CY;}{\f17168 \fnil Apple LiGothic Medium;}{\f17170 \fnil Apple LiSung Light;}{\f17082 \fnil BiauKai;}{\f-22206 \fnil �ק� Pro;}{\f-17214 \fnil �׶� Pro;}{\f28932 \fnil Fang Song;}{\f-2887 \fnil GB18030 Bitmap;}{\f28930 \fnil Hei;}{\f28931 \fnil Kai;}{\f28929 \fnil Song;}{\f-4967 \fnil ���ķ���;}{\f-935 \fnil ���ĺ���;}{\f-17319 \fnil ���Ŀ���;}{\f-30567 \fnil ��������;}{\f-27847 \fnil ����ϸ��;}{\f16384 \fnil Osaka;}{\f16436 \fnil Osaka�|����;}{\f-31551 \fnil �q���M�m�p�S Pro W3;}{\f-31647 \fnil �q���M�m�p�S Pro W6;}{\f-24831 \fnil �q���M�m�p�S Std W8;}{\f-29759 \fnil �q���M�m�ۃS Pro W4;}{\f-28671 \fnil �q���M�m���� Pro W3;}{\f-28767 \fnil �q���M�m���� Pro W6;}{\f17590 \fnil #PC���;}{\f17565 \fnil #�ü�ü;}{\f17571 \fnil #�ʱ�ü;}{\f17570 \fnil #������A;}{\f17410 \fnil AppleGothic;}{\f17409 \fnil AppleMyungjo;}{\f32525 \fnil VT100;}}
+{\colortbl\red255\green255\blue255;\red0\green0\blue0;\red255\green0\blue0;\red0\green255\blue0;\red0\green0\blue255;\red0\green255\blue255;\red255\green0\blue255;\red255\green255\blue0;}
+{\stylesheet{\sbasedon222\snext Normal;}}
+\paperw12240\paperh15840\margt1440\margb1440\margl1440\margr1440\widowctrl\ftnbj\ftnrestart\ftnstart1\pgnstart1\deftab720\sectd\linemod0\linex0\cols1\colsx0
+\pard\plain\pard\ql{\plain\b\f3\fs24\cf1 BEFORE INSTALLATION}
+{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 You must insure that you have the the X11 server installed on your system. This process is slightly different on OS/X 10.3 & 10.4\par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 10.4\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab I believe the X server is now part of the default install. It lives in the Utilities sub-folder of the Applications directory.\par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 10.3\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab The X server lives in a package called X11User on the third install CD.\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 You may also want to install the }
+{\plain\f1024\fs24\cf1 fink package which includes many useful libraries (see the dependencies section below for more info on this)\par }
+\pard\ql{\plain\f1024\fs24\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f1024\fs24\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\b\f3\fs38\cf1 Obtaining one of my pre-built packages\par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\b\f3\fs38\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 I post a mac install package on sourceforge's file release system. There's a certain amount of pother involved in using the file release system, but you get the file eventually.\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab If you follow the link above you will end up on a page showing many releases of FontForge for many systems\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 in most cases you will want the most recent release.\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab Then click on the executable package you want to download:\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \tab The mac release will be called something like "FontForge-200xxxxx.pkg.sitx\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab 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\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab 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.\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f3\fs32\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\b\f3\fs38\cf1 Installing\par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\b\f3\fs38\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 Generally your browser will decompress the package after pulling it down, and then start the install process itself.\par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 If this doesn't happen, find the package (it's usually on the desktop) and double-click on it.\par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 The install will request your password (to make sure you have the right to do an install on your machine, and then ask some innocuous questions, and proceed to install.\par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f3\fs32\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\b\f3\fs40\cf1 Notes}
+{\plain\b\f3\fs38\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\b\f3\fs38\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 FontForge does not conform to Apple's Human Interface Guidelines. FontForge never will. Don't expect it to look like a normal Mac Application. It doesn't.\par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 Before you can start FontForge you must start the X11 server. You do this by opening the Utilities sub-folder of the Applications folder and double -clicking on X11. This will bring up a new menu bar, and under the Applications menu you should find an entr}
+{\plain\f21\fs24\cf1 y for FontForge.}
+{\plain\f3\fs32\cf1 \par }
+\pard\ql\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\b\f3\fs48\cf1 RUNNING}
+{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 Before you can start FontForge you must start X11. It resides in the\par }
+\pard\ql{\plain\f21\fs24\cf1 Utilities folder of the Applications folder. Double click on it.\par }
+\pard\ql{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 On the X11 menubar is a menu called "Applications". Click on this.\par }
+\pard\ql{\plain\f21\fs24\cf1 You should see an entry for FontForge (if you do not, see below). Click on this.\par }
+\pard\ql{\plain\f21\fs24\cf1 FontForge will start and provide you with a font-file browser, which\par }
+\pard\ql{\plain\f21\fs24\cf1 also includes the ability to create a new font.\par }
+\pard\ql{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 If the Applications menu does not contain a "FontForge" entry, you can add one yourself:\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab Select Applications->Customize Menu\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab Then press the (Add) button in the dialog that appears\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab Double click in the left-most section of the blank line which just appeared and then type "FontForge"\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab Press the [Tab] key and type "/usr/local/bin/fontforge"\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab Press the [Tab] key again and type "f"\par }
+\pard\ql\tqr\tx100\tx320\li320\fi-320{\plain\f21\fs24\cf1 \tab \'a5 \tab Then press (Done)\par }
+\pard\ql{\plain\b\f3\fs24\cf1 \par }
+\pard\ql{\plain\b\f3\fs36\cf1 RUNNING from the command line}
+{\plain\b\f3\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 Before running FontForge you must start X11.\par }
+\pard\ql{\plain\f21\fs24\cf1 You can start fontforge either from one of the xterms it creates.}
+{\plain\f22\fs24\cf1 \par }
+\pard\ql\fi340{\plain\f22\fs24\cf6 $}
+{\plain\f22\fs24\cf1 fontforge -new\par }
+\pard\ql{\plain\f21\fs24\cf1 Creates a new font\par }
+\pard\ql\fi380{\plain\f22\fs24\cf6 $}
+{\plain\f22\fs24\cf1 fontforge -nosplash\par }
+\pard\ql{\plain\f21\fs24\cf1 (No splash screen in case you have a very slow X connection)\par }
+\pard\ql\fi360{\plain\f22\fs24\cf6 $}
+{\plain\f22\fs24\cf1 fontforge font.pfa font2.pfb font3.ttf font4.otf font4.sfd\par }
+\pard\ql{\plain\f21\fs24\cf1 Opens those fonts (sfd files are fontforge's own spline font database files)\par }
+\pard\ql\fi380{\plain\f22\fs24\cf6 $}
+{\plain\f22\fs24\cf1 fontforge}
+{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 Brings up a file picker dlg.\par }
+\pard\ql\li20\fi340{\plain\f22\fs24\cf5 $}
+{\plain\f22\fs24\cf1 fontforge -script script-file [script arguments]\par }
+\pard\ql{\plain\f21\fs24\cf1 Starts fontforge up without bringing up any windows. It will run the script-file\par }
+\pard\ql{\plain\f21\fs24\cf1 (passing it any other arguments given on the command line) and then exit.\par }
+\pard\ql{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 The Control & Option keys must be used for invoking menu items. If you try\par }
+\pard\ql{\plain\f21\fs24\cf1 to use Cmd-Q (rather than Cntl-Q) you will quit out of X11, and not just\par }
+\pard\ql{\plain\f21\fs24\cf1 fontforge. In fact this aborts fontforge, rather than quitting cleanly.\par }
+\pard\ql{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 FontForge was written assuming a three button mouse. X11 will simulate\par }
+\pard\ql{\plain\f21\fs24\cf1 this by assigning Option-mouse click to a virtual middle mouse button, and\par }
+\pard\ql{\plain\f21\fs24\cf1 Command-mouse click to a virtual right mouse button.\par }
+\pard\ql{\plain\b\f3\fs24\cf1 \par }
+\pard\ql{\plain\b\f3\fs36\cf1 Notes on the PATH variable }
+{\plain\f1024\fs28\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 On most systems fontforge will install itself into /usr/local/bin (that's the standard place for optional software), and this is not always in the default search path for commands (grrrr). Which means you might have everything properly installed, but nothi}
+{\plain\f21\fs24\cf1 ng actually works. If you see messages like "fontforge: command not found." this has (probably) happened to you. \par }
+\pard\ql{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 So what do you do? \par }
+\pard\ql{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 You need to set the PATH environment variable so that it includes /usr/local/bin. The value of the PATH variable is a set of directories separated by colons. \par }
+\pard\ql\fi380{\plain\f22\fs24\cf6 $ }
+{\plain\f22\fs24\cf1 echo $PATH \par }
+\pard\ql\fi380{\plain\f22\fs24\cf1 /home/gww/bin:/usr/bin:/bin:/usr/X11R6/bin:/sbin }
+{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 Unfortunately there are two ways of doing this because there are two different conventions used by unix shells. Type: \par }
+\pard\ql\fi360{\plain\f22\fs24\cf6 $ }
+{\plain\f22\fs24\cf1 echo $SHELL \par }
+\pard\ql\fi360{\plain\f22\fs24\cf1 /bin/bash }
+{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 If the name of your shell is bash (as above), ksh or sh then you want to type \par }
+\pard\ql\fi360{\plain\f22\fs24\cf6 $ }
+{\plain\f22\fs24\cf1 PATH=/usr/local/bin:$PATH ; export PATH }
+{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 If the name of your shell is tcsh or csh then you say \par }
+\pard\ql\fi380{\plain\f22\fs24\cf6 $ }
+{\plain\f22\fs24\cf1 setenv PATH /usr/local/bin:$PATH }
+{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 But you'd have to do that every time you logged in. Instead you want this included in the shell's initialization. Again there are two cases, for the bash family of shells you want to edit the file ~/.profile while for the csh family you want to edit the fi}
+{\plain\f21\fs24\cf1 le ~/.login. On a bash system the following command is generally sufficient: \par }
+\pard\ql\fi340{\plain\f22\fs24\cf6 $ }
+{\plain\f22\fs24\cf1 cat >>~/.profile \par }
+\pard\ql\fi340{\plain\f22\fs24\cf1 PATH=/usr/local/bin:$PATH ; export PATH \par }
+\pard\ql\fi340{\plain\f22\fs24\cf1 ^D }
+{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 (where ^D represents control-D, obtained by holding down the control key while depressing d. \par }
+\pard\ql{\plain\f21\fs24\cf1 And for the csh family you would type: }
+{\plain\f1024\fs24\cf1 \par }
+\pard\ql\fi380{\plain\f22\fs24\cf6 $ }
+{\plain\f22\fs24\cf1 cat >>~/.login \par }
+\pard\ql\fi380{\plain\f22\fs24\cf1 setenv PATH /usr/local/bin:$PATH \par }
+\pard\ql\fi380{\plain\f22\fs24\cf1 ^D \par }
+\pard\ql{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\b\f3\fs48\cf1 BUGS}
+{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 Please report any bugs to\par }
+\pard\ql{\plain\f21\fs24\cf1 }
+{\plain\f22\fs24\cf1 fontforge-devel@lists.sourceforge.net}
+{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\b\f3\fs48\cf1 DOCUMENTATION}
+{\plain\b\f3\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 }
+{\plain\f22\fs24\cf1 http://fontforge.sourceforge.net/overview.html\par }
+\pard\ql{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\b\f3\fs36\cf1 FONTS UNDER Mac OS/X}
+{\plain\f21\fs36\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 Macintosh fonts live in /Library/Fonts, /System/Library/Fonts or\par }
+\pard\ql{\plain\f21\fs24\cf1 ~/Library/Fonts. On Mac OS/X FontForge can edit .dfont and resource fork \par }
+\pard\ql{\plain\f21\fs24\cf1 fonts. On other systems FontForge can only edit Mac .dfonts (the concept\par }
+\pard\ql{\plain\f21\fs24\cf1 of a resource fork is Mac specific).\par }
+\pard\ql{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 (X11 fonts on the mac are completely seperate from the mac fonts. \par }
+\pard\ql{\plain\f21\fs24\cf1 they reside somewhere in the X tree).\par }
+\pard\ql{\plain\f21\fs24\cf1 \page }
+\pard\ql{\plain\b\f3\fs36\cf1 FONTS UNDER Mac OS/9}
+{\plain\f21\fs36\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 Note Bene: As far as I know FontForge has not been ported to Mac OS/9 (or 8 or 7)\par }
+\pard\ql{\plain\f21\fs24\cf1 \par }
+\pard\ql{\plain\f21\fs24\cf1 Fonts live in :System Folder:Fonts: They are stored in resource forks, which\par }
+\pard\ql{\plain\f21\fs24\cf1 means that if you want to work with them you must first wrap them up with \par }
+\pard\ql{\plain\f21\fs24\cf1 either macbinary or binhex (Fetch may be used to do either conversion as you\par }
+\pard\ql{\plain\f21\fs24\cf1 transfer the font to a different system to edit it).\par }
}
View
1 mac-Resources/postflight
@@ -73,3 +73,4 @@ EOF
rm -f /tmp/x11_1.xml /tmp/fontforge-sed-script /tmp/x11.xml
fi
fi
+exit 0
View
1 mac-Resources/preflight
@@ -2,3 +2,4 @@
mkdir -p /usr/local/lib
cd /usr/local/lib
sh -c "rm -f libgunicode*.dylib libgdraw*.dylib"
+exit 0

0 comments on commit e53be28

Please sign in to comment.
Something went wrong with that request. Please try again.