关于swftools软件的使用(另吐糟网上的一些人对中文问题的胡乱解决说法!!)

swftools软件是一软转换软件,具体自己可以去查,由于我现在要把PDF转成SWF然后让FLEX调用,用到了这个软件,下载安装好后,然后使用,结果一打开PDF文件就出现这个问题:


根据提示,怀疑是字体问题,结果谷歌百度了一圈,基本上就是类似:http://blog.csdn.net/gabriel80/article/details/6234169 这篇文章的答案,真的是无力吐糟了,对于两点我很无语:

1.“下载xpdf xpdf-chinese-simplified下载两个中文字体文件”,写的什么意思?什么中文字体?到底是下载xpdf xpdf-chinese-simplified这两个中文字体还是下载这两个文件,然后下载中文字体,那中文什么字体?不清不楚的

2.“修改xpdf下xpdfrc文件”我是没有在XPDF下面看到这个文件的,在网上找了一圈也没看到说有这个文件。

这只是说到的两点,对于其他的地方也就不说了,好笑的是,网上搜“SWFTOOLS 中文”,居然这种答案到处都是,全部一样,真的是相当无语。

下面来说一下我的解决办法,其实很简单,这个貌似不是用这个界面来搞的,要进CMD模式,进入你的SWFTOOLS的安装目录(我的软件安装在C盘):

 


flex.pdf是需要转换的文件,后面的是转换后的文件名。 转换后如下图:(文件夹里就会多出一个FLEX.SWF文件)



我们来看一下文件:


没有什么中文编码的问题,PDF转换过来很好的说。

写这篇文章,就是想吐糟那些令人头疼的千篇一律的毫无作用的看了反而令人不知如何是好的答案,希望本文对研究FLEX的播放器的朋友有帮助。

SWFTools is a collection of utilities for working with Adobe Flash files (SWF files). The tool collection includes programs for reading SWF files, combining them, and creating them from other content (like images, sound files, videos or sourcecode). SWFTools is released under the GPL. The current collection is comprised of the programs detailed below: • PDF2SWF A PDF to SWF Converter. Generates one frame per page. Enables you to have fully formatted text, including tables, formulas, graphics etc. inside your Flash Movie. It's based on the xpdf PDF parser from Derek B. Noonburg. • SWFCombine A multi-function tool for inserting SWFs into Wrapper SWFs, contatenating SWFs, stacking SWFs or for basic parameter manipulation (e.g. changing size). • SWFStrings Scans SWFs for text data. • SWFDump Prints out various informations about SWFs, like contained images/fonts/sounds, disassembly of contained code as well as cross-reference and bounding box data. • JPEG2SWF Takes one or more JPEG pictures and generates a SWF slideshow from them. Supports motion estimation compression (h.263) for better compression of video sequences. • PNG2SWF Like JPEG2SWF, only for PNGs. • GIF2SWF Converts GIFs to SWF. Also able to handle animated gifs. • WAV2SWF Converts WAV audio files to SWFs, using the L.A.M.E. MP3 encoder library. • AVI2SWF Converts AVI animation files to SWF. It supports Flash MX H.263 compression. Some examples can be found at examples.html. (Notice: this tool is not included anymore in the latest version, as ffmpeg or mencoder do a better job nowadays) • Font2SWF Converts font files (TTF, Type1) to SWF. • SWFBBox Allows to read out, optimize and readjust SWF bounding boxes. • SWFC A tool for creating SWF files from simple script files. Includes support for both ActionScript 2.0 as well as ActionScript 3.0. • SWFExtract Allows to extract Movieclips, Sounds, Images etc. from SWF files. • AS3Compile A standalone ActionScript 3.0 compiler. Mostly compatible with Flex. SWFTools
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值