From 1609810a7fed0162362d24e0fc69930fc98027ae Mon Sep 17 00:00:00 2001 From: uid55619 Date: Mon, 9 Sep 2002 19:58:42 +0000 Subject: [PATCH] Adam's new windows installer stuff. git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@304 4cde692c-a291-49d1-8350-778aa11640f8 --- Windows/README.TXT | 25 +++++++++++++++ Windows/fonttools-win-setup.iss | 53 ++++++++++++++++++++++++++++++++ Windows/fonttools-win-setup.txt | 7 +++++ Windows/fonttools.ico | Bin 0 -> 2238 bytes 4 files changed, 85 insertions(+) create mode 100755 Windows/README.TXT create mode 100755 Windows/fonttools-win-setup.iss create mode 100755 Windows/fonttools-win-setup.txt create mode 100755 Windows/fonttools.ico diff --git a/Windows/README.TXT b/Windows/README.TXT new file mode 100755 index 000000000..2a4446e77 --- /dev/null +++ b/Windows/README.TXT @@ -0,0 +1,25 @@ +FontTools 1.0 for Windows +------------------------- + +Creating a Windows (9x/ME/NT/2000/XP) setup executable for FontTools +This file has been created by Adam Twardoch +September 9, 2002 + +1. Install Python 2.2.1 on your computer: http://www.python.org/2.2.1/ + or install ActivePython 2.2.1: + http://www.activestate.com/Products/Download/Download.plex?id=ActivePython +2. Install py2exe: http://starship.python.net/crew/theller/py2exe/ +3. Download the current CVS snapshot of FontTools: + http://fonttools.sourceforge.net/cvs-snapshots/zip/fonttools-current-snapshot.zip +4. Unzip the CVS snapshot of FontTools into a folder. +5. In the folder where you unzipped FontTools, type: + python.exe setup.py py2exe -O2 -f --icon Win\fonttools.ico +7. Install InnoSetup 3: + http://www.jrsoftware.org/is3.php +8. Run Inno Setup and open Win\fonttools-win-setup.iss (this file) +9. In Inno Setup, select File/Compile, then Run/Run. + +The distributable FontTools Windows setup executable has been saved +in the Output subfolder of the FontTools\Win folder. + +For information on running FontTools on Windows, see fonttools-win-setup.txt in this folder. diff --git a/Windows/fonttools-win-setup.iss b/Windows/fonttools-win-setup.iss new file mode 100755 index 000000000..3157abb24 --- /dev/null +++ b/Windows/fonttools-win-setup.iss @@ -0,0 +1,53 @@ +;This file has been created by Adam Twardoch +;See README.TXT in this folder for instructions on building the setup + +[Setup] +AppName=FontTools +AppVerName=FontTools 1.0 +AppPublisher=Just van Rossum +AppPublisherURL=http://fonttools.sourceforge.net/ +AppSupportURL=http://fonttools.sourceforge.net/ +AppUpdatesURL=http://fonttools.sourceforge.net/ +DefaultDirName={pf}\FontTools +DefaultGroupName=FontTools +AllowNoIcons=false +LicenseFile=..\LICENSE.txt +InfoBeforeFile=fonttools-win-setup.txt +InfoAfterFile=..\Doc\changes.txt +OutputBaseFilename=fontttols-setup +AppCopyright=Copyright 1999-2002 by Just van Rossum, Letterror, The Netherlands. +UninstallDisplayIcon={app}\fonttools.ico + +[Tasks] +Name: desktopicon; Description: Create a &desktop icon; GroupDescription: Additional icons: + +[Files] +Source: ..\dist\ttcompile\umath.pyd; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\dist\ttcompile\_sre.pyd; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\dist\ttcompile\expat.dll; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\dist\ttcompile\multiarray.pyd; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\dist\ttcompile\pyexpat.pyd; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\dist\ttcompile\python22.dll; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\dist\ttcompile\_numpy.pyd; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\dist\ttcompile\ttcompile.exe; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\dist\ttdump\ttdump.exe; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\dist\ttlist\ttlist.exe; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\LICENSE.txt; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\Doc\index.html; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\Doc\changes.txt; DestDir: {app}; CopyMode: alwaysoverwrite +Source: ..\Doc\bugs.txt; DestDir: {app}; CopyMode: alwaysoverwrite +Source: fonttools-win-setup.txt; DestDir: {app}; CopyMode: alwaysoverwrite +Source: fonttools.ico; DestDir: {app}; CopyMode: alwaysoverwrite + +[Icons] +Name: {group}\Uninstall FontTools; Filename: {uninstallexe}; IconIndex: 0 +Name: {userdesktop}\ttdump.exe; Filename: {app}\ttdump.exe; Tasks: desktopicon; IconFilename: {app}\fonttools.ico; IconIndex: 0 +Name: {userdesktop}\ttcompile.exe; Filename: {app}\ttcompile.exe; Tasks: desktopicon; IconIndex: 0; IconFilename: {app}\fonttools.ico +Name: {userdesktop}\ttlist.exe; Filename: {app}\ttlist.exe; Tasks: desktopicon; IconFilename: {app}\fonttools.ico; IconIndex: 0 +Name: {group}\FontTools documentation; Filename: {app}\index.html; IconIndex: 0 +Name: {group}\Changes; Filename: {app}\changes.txt; IconIndex: 0 +Name: {group}\Bugs; Filename: {app}\bugs.txt; IconIndex: 0 +Name: {group}\License; Filename: {app}\LICENSE.txt; IconIndex: 0 + +[_ISTool] +EnableISX=false diff --git a/Windows/fonttools-win-setup.txt b/Windows/fonttools-win-setup.txt new file mode 100755 index 000000000..12c648531 --- /dev/null +++ b/Windows/fonttools-win-setup.txt @@ -0,0 +1,7 @@ +TTX/FontTools is a suite of tools and libraries for manipulating fonts. + +It currently reads and writes TrueType font files, reads PostScript Type 1 fonts and more. It contains two command line programs to convert TrueType fonts to an XML based format (called TTX) and back. + +If you let setup to create desktop icons during installation, icons for ttdump.exe, ttcompile.exe and ttlist.exe will be created. You will be able to drop a TTF or OTF file onto the ttlist.exe or ttdump.exe icon to dump the font into an TTX file that is in XML format. You will be also able to drop a TTX file onto the ttcompile.exe icon to build a TTF or OTF font. + +Please note that you can only drag-n-drop one file onto the FontTools icons. Dropping multiple files won't work in this version! diff --git a/Windows/fonttools.ico b/Windows/fonttools.ico new file mode 100755 index 0000000000000000000000000000000000000000..f0482b0fd5806dcd9328a8e1546070ab1a15ebdb GIT binary patch literal 2238 zcmb`I&u-d45XJ{PjyFpP$)(p?W@A;DH2jf}D1!0??UlP#OO>ipsh8f8*T@_6Ve(Gt zH#6&Cz@Vz?M8mH4`|UTgYfy+<_)8MPr=j15=nWCQLt=?mNM7f7Jd;5`S~}cdczJmt zdO}W0nmj!dl~0tWDc#(#%8^3H`eZ`%46ZD(2Cc*zB1w8Q91dxe4k&$}P=RJjFlCvN zP1lqZ3H9(i12eEG_=1w&6m~;O2bMmAXOChwqX~QD>M@&5;maN?^%#$7jNE#RXfzs$ zhw~oX$B;d4)nh!yvv_3cQ51W9OkVp~c#jf{c-*PSbXxT>R}a+WI@>-9nojjBOY!(b z-@l;m`#$~n`is8(Oz0lxUM`m>ll|OcL5pL#UP?{p*0f$9$-H9Re`DNV)Y6`E%CoAk zj56L=>&H3tlsR%6&t!Aj95B#UU|c5sXSa^#`wX5lcsZ8~)8qLb!}pU5(+87-b+l?= zHf{xNjy~tY^miETv%kqiTlXB@ZC1PIVjlSc=jIwc$MyXA{Mi@PGe+qZey5l|eEP5V z2(Jd84Vb*<+r)4!x!;OA@X6@Tp6A;FQh)>o$t4@1om@ z&UlLY9HQIUm{9dD)