adapted to new ttx app (not yet tested)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@316 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
b46acaab88
commit
3282c1f9bc
@ -9,13 +9,15 @@ September 9, 2002
|
||||
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 TTX/FontTools:
|
||||
http://fonttools.sourceforge.net/cvs-snapshots/zip/fonttools-current-snapshot.zip
|
||||
4. Unzip the CVS snapshot of TTX/FontTools into a folder.
|
||||
5. In the folder where you unzipped TTX/FontTools, type:
|
||||
python.exe setup.py py2exe -f --icon Windows\ttx.ico --packages encodings
|
||||
6. Install InnoSetup 3:
|
||||
3. Install InnoSetup 3:
|
||||
http://www.jrsoftware.org/is3.php
|
||||
4. Download the latest released source code of TTX/FontTools at
|
||||
http://sourceforge.net/projects/fonttools/
|
||||
Or alternatively grab the sources from CVS or download a CVS snapshot:
|
||||
http://fonttools.sourceforge.net/cvs-snapshots/zip/fonttools-current-snapshot.zip
|
||||
5. Unzip the source code of TTX/FontTools into a folder.
|
||||
6. In the folder where you unzipped TTX/FontTools, type:
|
||||
python.exe setup.py py2exe -f --icon Windows\ttx.ico --packages encodings
|
||||
7. Run Inno Setup and open Windows\fonttools-win-setup.iss (this file)
|
||||
8. In Inno Setup, select File/Compile, then Run/Run.
|
||||
|
||||
|
@ -22,16 +22,14 @@ UninstallDisplayIcon={app}\ttx.ico
|
||||
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: ..\dist\ttx\umath.pyd; DestDir: {app}; CopyMode: alwaysoverwrite
|
||||
Source: ..\dist\ttx\_sre.pyd; DestDir: {app}; CopyMode: alwaysoverwrite
|
||||
Source: ..\dist\ttx\expat.dll; DestDir: {app}; CopyMode: alwaysoverwrite
|
||||
Source: ..\dist\ttx\multiarray.pyd; DestDir: {app}; CopyMode: alwaysoverwrite
|
||||
Source: ..\dist\ttx\pyexpat.pyd; DestDir: {app}; CopyMode: alwaysoverwrite
|
||||
Source: ..\dist\ttx\python22.dll; DestDir: {app}; CopyMode: alwaysoverwrite
|
||||
Source: ..\dist\ttx\_numpy.pyd; DestDir: {app}; CopyMode: alwaysoverwrite
|
||||
Source: ..\dist\ttx\ttx.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
|
||||
@ -41,9 +39,7 @@ Source: ttx.ico; DestDir: {app}; CopyMode: alwaysoverwrite
|
||||
|
||||
[Icons]
|
||||
Name: {group}\Uninstall TTX; Filename: {uninstallexe}; IconIndex: 0
|
||||
Name: {userdesktop}\ttdump.exe; Filename: {app}\ttdump.exe; Tasks: desktopicon; IconFilename: {app}\ttx.ico; IconIndex: 0
|
||||
Name: {userdesktop}\ttcompile.exe; Filename: {app}\ttcompile.exe; Tasks: desktopicon; IconIndex: 0; IconFilename: {app}\ttx.ico
|
||||
Name: {userdesktop}\ttlist.exe; Filename: {app}\ttlist.exe; Tasks: desktopicon; IconFilename: {app}\ttx.ico; IconIndex: 0
|
||||
Name: {userdesktop}\ttx.exe; Filename: {app}\ttx.exe; Tasks: desktopicon; IconFilename: {app}\ttx.ico; IconIndex: 0
|
||||
Name: {group}\TTX 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
|
||||
|
@ -1,7 +1,3 @@
|
||||
TTX/FontTools is a suite of tools and libraries for manipulating fonts.
|
||||
TTX is an application to convert OpenType and TrueType files to and from an XML-based text format, also called TTX.
|
||||
|
||||
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!
|
||||
The TTX setup application can create an icon for TTX on your desktop. You will then be able to drop .TTF or .OTF files onto the ttx.exe icon to dump the font to a .TTX file. Dropping a .TTX file onto it builds a TTF or OTF font.
|
||||
|
Loading…
x
Reference in New Issue
Block a user