omit drawing of objects outside the page.
[swftools.git] / FAQ
diff --git a/FAQ b/FAQ
index 6c2ba6f..0a88dcc 100644 (file)
--- a/FAQ
+++ b/FAQ
@@ -5,22 +5,17 @@
 
 2.) How to compile/link swftools on Unix/Linux/BSD?
 
-    Download swftools-0.x.x.tar.gz and t1lib-1.3.1.tar.gz.
+    Download swftools-0.x.x.tar.gz. Then type, on the
+    command-line:
 
-    gzip -d swftools-0.x.x.tar.gz
-    gzip -d t1lib-1.3.1.tar.gz
-    tar -xf t1lib-1.3.1.tar
-    cd t1lib-1.3.1
-    ./configure
-    make 
-    make install
-    cd ..
-    tar -xf swftools-0.x.x.tar
+    tar -zvxf swftools-0.x.x.tar
     cd swftools-0.x.x
     ./configure
     make 
     make install
 
+    (you will have to be root for the last step)
+
 3.) What libraries do I need to compile swftools on Unix/Linux/BSD?
 
     You need t1lib, freetype and jpeglib to compile pdf2swf.
 
     LDFLAGS=-lstdc++ ./configure
 
-6.) Is there a pdf2swf/avi2swf for Windows?
+6.) How do I compile swftools on Mac OS X?
+
+    You need to get fink (http://fink.sourceforge.net), and install it.
+    After this, you need to install all the required libs (jpeg, freetype, lame):
+   
+    fink install libjpeg libjpeg-shlibs freetype2 freetype2-shlibs lame lame-shlibs
+
+    Then, you have to inform configure of where they are:
+
+    LDFLAGS="-L/sw/lib" CPPFLAGS="-I/sw/include -I/sw/include/lame" ./configure
+    make
+    sudo make install
+
+    If this doesn't work, especially if you want to use the python library and
+    get weird exceptions, try to remove all versions of jpeglib, freetype and 
+    lame from /usr/lib and /usr/local/lib, and then run configure/make/make install
+    again.
+
+7.) Is there a pdf2swf/avi2swf for Windows?
 
     Windows versions of all SWF utilities are downloadable from
        http://www.quiss.org/swftools/download.html
@@ -73,7 +86,7 @@
     Notice: For now, the utilities need to be installed to C:\SWFTOOLS to make pdf2swf work-
     otherwise it won't be able to find its fonts.
 
-7.) Where's the source code of the Windows version?
+8.) Where's the source code of the Windows version?
 
     It's the same as the Unix source code. If you want to compile
     under Windows, it's recommended that you get the CVS version
@@ -84,7 +97,7 @@
     CXX=i386-mingw32msvc-g++ CPP=i386-mingw32msvc-cpp CC=i386-mingw32msvc-gcc \
     ./configure --host=i586-mingw32msvc && make
 
-8.) The fonts in the SWFs generated by pdf2swf are wrong!
+9.) The fonts in the SWFs generated by pdf2swf are wrong!
 
     Watch the output of pdf2swf closely.
     You should see something like:
     to (on Windows) C:\SWFTools\Fonts\, or (on Unix) /usr/local/share/swftools/fonts 
     to make it work all the time.
 
-9.) Can png2swf handle transparency?
+10.) Can png2swf handle transparency?
 
     It supports PNG mode 2 transparency (256 color palettes with alpha) since version 0.4.2. 
     Mode 6 (32 bit RGBA truecolor) is also supported since version 0.4.4.
 
-10.) How to do Flash MX compression with SWFTools?
+11.) How to do Flash MX compression with SWFTools?
 
     Most tools support the -z flag for outputting compressed SWF.
     Furthermore you can compress/uncompress SWF files using swfcombine:
 
     decompresses.
 
-11.) avi2swf converts my avi files upside down!
+12.) avi2swf converts my avi files upside down!
 
     Try using the -p (--flip) switch.
 
-12.) How to extract images/sounds from myfile.swf using swfextract?
+13.) How to extract images/sounds from myfile.swf using swfextract?
 
     First list all extractable items:
 
 
     etc.
 
-13.) Is there a mailing list for SWFTools?
+14.) Is there a mailing list for SWFTools?
 
     Yes there is. You can subscribe by going to
     
     http://mail.nongnu.org/mailman/listinfo/swftools-common
 
-14.) Where can I donate?
+15.) Where can I donate?
 
     You can donate via PayPal by clicking on the "donate" button
-    on http://www.quiss.org/swftools/index.html.
+    on http://www.quiss.org/swftools/index.html
+    .
     Any financial support for this project is most welcome!