[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Patch for pdf2swf (CID codemap file options)
From: |
zou lunkai |
Subject: |
Re: [Swftools-common] Patch for pdf2swf (CID codemap file options) |
Date: |
Wed, 25 Jul 2007 16:35:02 +0800 |
This was an old thread. I find I still have similar problems. The
command line options patched by Moriyoshi Koizumi is exactly what I
need.
I got a pdf2swf 0.8.1, Win32 version. But those command line options
are not supported by this version. How do I specify the related
language files? Seems there are no related command line options.
Thanks if any help.
--Zou
On Tue, 12 Oct 2004, Moriyoshi Koizumi wrote:
I made a patch against the current version of pdf2swf
that adds the following 4 command line options to specify
CID code mapping files that are needed to perform CID encoding
conversion by. All these parameters can also be set in the XPDF's
per-user configuration file (.xpdfrc) .
Attachment: swftools-0.6.2-cjk-patch-20041012.diff.txt
Description: Text document
-u encoding=filename
Add to the search path the location of a mapping file that is
used for a native encoding to Unicode mapping. This option can
be used multiple times.
ex.) -u Shift_JIS=/usr/local/share/swftools/encodings/Shift_JIS.unicodeMap
The XPDF counterpart to this parameter is "unicodeMap"
-c collection=filename
Add the location of CID to Unicode mapping file to the internal
registry. This option can be used multiple times.
ex.) -c Adobe-Japan1=/usr/local/share/swftools/encodings/Adobe-
Japan1.cidToUnicode
The XPDF counterpart to this parameter is "cidToUnicode"
-U directoryname
Add the location of ToUnicode file reporitory. This option can
be used multiple times.
ex.) -U /usr/local/share/swftools/encodings/CMap
The XPDF counterpart to this parameter is "toUnicodeDir"
-C collection=dirname
Add the location of CMap file repository. This option can
be used multiple times.
ex.) -C Adobe-Japan1=/usr/local/share/swftools/encodings/CMap
The XPDF counterpart to this parameter is "CMapDir"
I hope this will be merged as those are really fundamental when
using pdf2swf in batch operations.
Regards,
Moriyoshi
p.s. Note that you will need fontconfig support in most cases where
you are processing a PDF that contains non-embedded CJK fonts.
- Re: [Swftools-common] Patch for pdf2swf (CID codemap file options),
zou lunkai <=